Revert "SUW: fix setting USER_SETUP_COMPLETE"
This reverts commit 7ffdf8d12c
.
Reason for revert:
The code change was not changing the behaviour after all.
Change-Id: Ibe335a2b94d5120b9c3f1a247d8153a0d791b796
This commit is contained in:
committed by
Paul Keith
parent
cf12c85d82
commit
3484c40778
@@ -212,8 +212,8 @@ public class SetupWizardUtils {
|
||||
ContentResolver contentResolver = context.getContentResolver();
|
||||
Settings.Global.putInt(contentResolver,
|
||||
Settings.Global.DEVICE_PROVISIONED, 1);
|
||||
Settings.Secure.putIntForUser(contentResolver,
|
||||
Settings.Secure.USER_SETUP_COMPLETE, 1, contentResolver.getUserId());
|
||||
Settings.Secure.putInt(contentResolver,
|
||||
Settings.Secure.USER_SETUP_COMPLETE, 1);
|
||||
if (hasLeanback(context)) {
|
||||
Settings.Secure.putInt(contentResolver,
|
||||
Settings.Secure.TV_USER_SETUP_COMPLETE, 1);
|
||||
|
Reference in New Issue
Block a user