Disable the CyanogenServicesPage if FEATURE_LEANBACK detected
TV devices will not benefit from having a CM account. Change-Id: I5258a1442c400b35d92c22a2b0e8dcbe3516aead
This commit is contained in:
parent
3371e61bb8
commit
2a98e6f6f6
@ -61,7 +61,9 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
if (SetupWizardUtils.hasGMS(mContext)) {
|
||||
pages.add(new GmsAccountPage(mContext, this).setHidden(true));
|
||||
}
|
||||
if (!SetupWizardUtils.hasLeanback(mContext)) {
|
||||
pages.add(new CyanogenServicesPage(mContext, this).setHidden(true));
|
||||
}
|
||||
pages.add(new CyanogenSettingsPage(mContext, this));
|
||||
pages.add(new OtherSettingsPage(mContext, this));
|
||||
pages.add(new DateTimePage(mContext, this));
|
||||
|
Loading…
Reference in New Issue
Block a user