[WifiSetup] Removed button bar
Removed button bar from setup_preference because the same feature is provided in SettingsActivity already. Also removed setup custom button because that functionality is superceded by the navigation bar. Change-Id: I7f853d57bb63ad3c410e2731d1485d152f806d9f
This commit is contained in:
@@ -45,9 +45,6 @@ public class WifiSetupActivity extends WifiPickerActivity
|
||||
private static final String EXTRA_ALLOW_SKIP = "allowSkip";
|
||||
private static final String EXTRA_USE_IMMERSIVE_MODE = "useImmersiveMode";
|
||||
|
||||
// this boolean extra shows a custom button that we can control
|
||||
protected static final String EXTRA_SHOW_CUSTOM_BUTTON = "wifi_show_custom_button";
|
||||
|
||||
// Extra containing the resource name of the theme to be used
|
||||
private static final String EXTRA_THEME = "theme";
|
||||
private static final String THEME_HOLO = "holo";
|
||||
@@ -152,7 +149,6 @@ public class WifiSetupActivity extends WifiPickerActivity
|
||||
getWindow().setNavigationBarColor(Color.TRANSPARENT);
|
||||
getWindow().setStatusBarColor(Color.TRANSPARENT);
|
||||
}
|
||||
getIntent().putExtra(EXTRA_SHOW_CUSTOM_BUTTON, false);
|
||||
bar.getNextButton().setText(R.string.skip_label);
|
||||
|
||||
if (!getIntent().getBooleanExtra(EXTRA_ALLOW_SKIP, true)) {
|
||||
|
Reference in New Issue
Block a user