If this is a TV device launch bluetooth pairing before Welcome page
TV devices like fugu don't have a default input method and expect to be able to pair the bluetooth remote during setup without having to manually initiate it with the bottom button on the device. Change-Id: I88246fe9b28a85dc334c0108b818e78cb29491bb
This commit is contained in:
@@ -41,6 +41,9 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
@Override
|
||||
protected PageList onNewPageList() {
|
||||
ArrayList<Page> pages = new ArrayList<Page>();
|
||||
if (SetupWizardUtils.hasLeanback(mContext)) {
|
||||
pages.add(new BluetoothSetupPage(mContext, this));
|
||||
}
|
||||
pages.add(new WelcomePage(mContext, this));
|
||||
pages.add(new WifiSetupPage(mContext, this));
|
||||
if (SetupWizardUtils.hasTelephony(mContext)) {
|
||||
@@ -183,4 +186,4 @@ public class CMSetupWizardData extends AbstractSetupData {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user