Disable SetupWraith, if GMS not present

This reverts commit 092d0fa892.

Change-Id: I9b075ff1d4d91318920050c26b3fa6eb9130d5c9
This commit is contained in:
Abhisek Devkota
2017-10-23 12:48:29 -07:00
parent 5e6b2a571f
commit e0605c03f4

View File

@@ -257,10 +257,10 @@ public class SetupWizardUtils {
disableComponent(context, WifiSetupActivity.class); disableComponent(context, WifiSetupActivity.class);
} }
// Googles ATV SUW crashes before finishing, leaving devices // Google's ATV SUW is shipped as it requires platform signature.
// unprovisioned. Disable it for now. // Disable it if GMS is not installed by user.
if (hasLeanback(context) && if (hasLeanback(context) &&
PackageManagerUtils.isAppInstalled(context, GMS_TV_SUW_PACKAGE)) { !PackageManagerUtils.isAppInstalled(context, GMS_PACKAGE)) {
disableApplication(context, GMS_TV_SUW_PACKAGE); disableApplication(context, GMS_TV_SUW_PACKAGE);
} }
} }