ATV: Also set TV_USER_SETUP_COMPLETE

New provisioning flag was introduced in f/w/b
  0390fff82c37c705670a6c8937c11b52e2af4cb6

Change-Id: I342681927bd4f8d3f73dd8b0e0047eb8e1db6d2c
This commit is contained in:
Abhisek Devkota
2018-03-04 20:08:38 -08:00
parent 5d66190658
commit 7a315e894f

View File

@@ -202,6 +202,10 @@ public class SetupWizardUtils {
Settings.Global.DEVICE_PROVISIONED, 1);
Settings.Secure.putInt(contentResolver,
Settings.Secure.USER_SETUP_COMPLETE, 1);
if (hasLeanback(context)) {
Settings.Secure.putInt(contentResolver,
Settings.Secure.TV_USER_SETUP_COMPLETE, 1);
}
disableComponent(context, WizardManager.class);
disableHome(context);