Disable SetupWraith, if GMS not present
This reverts commit 092d0fa892
.
Change-Id: I9b075ff1d4d91318920050c26b3fa6eb9130d5c9
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user