Show quick launch settings always.
Since external keyboards can be connected, we should always show the quick launch settings. Unfortunately they still need to be fragmentized. Change-Id: I1342ef3892a8b1b465ecc5c1346049f8b1ff73cd
This commit is contained in:
@@ -32,7 +32,6 @@ public class ApplicationSettings extends SettingsPreferenceFragment implements
|
||||
|
||||
private static final String KEY_TOGGLE_INSTALL_APPLICATIONS = "toggle_install_applications";
|
||||
private static final String KEY_APP_INSTALL_LOCATION = "app_install_location";
|
||||
private static final String KEY_QUICK_LAUNCH = "quick_launch";
|
||||
|
||||
// App installation location. Default is ask the user.
|
||||
private static final int APP_INSTALL_AUTO = 0;
|
||||
@@ -74,12 +73,6 @@ public class ApplicationSettings extends SettingsPreferenceFragment implements
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
if (getResources().getConfiguration().keyboard == Configuration.KEYBOARD_NOKEYS) {
|
||||
// No hard keyboard, remove the setting for quick launch
|
||||
Preference quickLaunchSetting = findPreference(KEY_QUICK_LAUNCH);
|
||||
getPreferenceScreen().removePreference(quickLaunchSetting);
|
||||
}
|
||||
}
|
||||
|
||||
protected void handleUpdateAppInstallLocation(final String value) {
|
||||
|
Reference in New Issue
Block a user