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);
}
// Googles ATV SUW crashes before finishing, leaving devices
// unprovisioned. Disable it for now.
// Google's ATV SUW is shipped as it requires platform signature.
// Disable it if GMS is not installed by user.
if (hasLeanback(context) &&
PackageManagerUtils.isAppInstalled(context, GMS_TV_SUW_PACKAGE)) {
!PackageManagerUtils.isAppInstalled(context, GMS_PACKAGE)) {
disableApplication(context, GMS_TV_SUW_PACKAGE);
}
}