summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/ButtonSettings.java
diff options
context:
space:
mode:
authorDanesh M <daneshm90@gmail.com>2013-11-08 17:58:44 -0800
committerAdnan Begovic <adnan@cyngn.com>2015-10-29 17:36:27 -0700
commite116de1c0318e50200c7d82f3a31e08eaa3a189a (patch)
treeeb3b095d005550b00c9f7d348de4f5210c418903 /src/com/android/settings/ButtonSettings.java
parent2ea9a80502df3cd28c4255b7250cd257755e9e2f (diff)
downloadpackages_apps_Settings-e116de1c0318e50200c7d82f3a31e08eaa3a189a.tar.gz
packages_apps_Settings-e116de1c0318e50200c7d82f3a31e08eaa3a189a.tar.bz2
packages_apps_Settings-e116de1c0318e50200c7d82f3a31e08eaa3a189a.zip
Settings : Add hooks for device specific features
Add support for : Devices with bluetooth input peripherals Devices with screen gesture support Devices with a back touchpad Change-Id: Ia4835c69a8ba8fb76597e0ab0540f8ef1ed6e322
Diffstat (limited to 'src/com/android/settings/ButtonSettings.java')
-rw-r--r--src/com/android/settings/ButtonSettings.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/settings/ButtonSettings.java b/src/com/android/settings/ButtonSettings.java
index 5ddfab15c..6cb6895c6 100644
--- a/src/com/android/settings/ButtonSettings.java
+++ b/src/com/android/settings/ButtonSettings.java
@@ -65,6 +65,7 @@ public class ButtonSettings extends SettingsPreferenceFragment implements
private static final String KEY_NAVIGATION_BAR_LEFT = "navigation_bar_left";
private static final String KEY_POWER_END_CALL = "power_end_call";
private static final String KEY_HOME_ANSWER_CALL = "home_answer_call";
+ private static final String KEY_BLUETOOTH_INPUT_SETTINGS = "bluetooth_input_settings";
private static final String CATEGORY_POWER = "power_key";
private static final String CATEGORY_HOME = "home_key";
@@ -362,6 +363,9 @@ public class ButtonSettings extends SettingsPreferenceFragment implements
if (!backlight.isButtonSupported() && !backlight.isKeyboardSupported()) {
prefScreen.removePreference(backlight);
}
+
+ Utils.updatePreferenceToSpecificActivityFromMetaDataOrRemove(getActivity(),
+ getPreferenceScreen(), KEY_BLUETOOTH_INPUT_SETTINGS);
}
@Override