Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a315e89 authored by Abhisek Devkota's avatar Abhisek Devkota
Browse files

ATV: Also set TV_USER_SETUP_COMPLETE

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

Change-Id: I342681927bd4f8d3f73dd8b0e0047eb8e1db6d2c
parent 5d661906
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);