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:
dhacker29
2015-04-23 22:54:36 -04:00
parent de06181c7e
commit 218deb9952
5 changed files with 130 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ public class SetupWizardApp extends Application {
public static final int REQUEST_CODE_RESTORE_GMS= 2;
public static final int REQUEST_CODE_SETUP_CYANOGEN= 3;
public static final int REQUEST_CODE_SETUP_CAPTIVE_PORTAL= 4;
public static final int REQUEST_CODE_SETUP_BLUETOOTH= 5;
public static final int RADIO_READY_TIMEOUT = 10 * 1000;