diff options
author | Veeti Paananen <veeti.paananen@rojekti.fi> | 2013-06-20 21:00:08 +0300 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-07-03 12:59:14 -0700 |
commit | 4df4c3e727ce0820169bff5807da30ed2348c27f (patch) | |
tree | 4e64569b46fd91fe3c797957bd9edde97de1738c /src | |
parent | 46fd251a140cc2e571fda16c4181bef9d2804c07 (diff) | |
download | packages_apps_Settings-4df4c3e727ce0820169bff5807da30ed2348c27f.zip packages_apps_Settings-4df4c3e727ce0820169bff5807da30ed2348c27f.tar.gz packages_apps_Settings-4df4c3e727ce0820169bff5807da30ed2348c27f.tar.bz2 |
Show the "no action" summary for unitialized gesture values
Change-Id: I023ee587669103aa4d2a819af700ce3daa53695d
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/settings/inputmethod/StylusGestures.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/settings/inputmethod/StylusGestures.java b/src/com/android/settings/inputmethod/StylusGestures.java index 908d7ea..172d714 100644 --- a/src/com/android/settings/inputmethod/StylusGestures.java +++ b/src/com/android/settings/inputmethod/StylusGestures.java @@ -146,8 +146,9 @@ public class StylusGestures extends SettingsPreferenceFragment implements private void setPrefValue(ListPreference pref, String packageName) { if (packageName == null) { - return; + packageName = String.valueOf(KEY_NO_ACTION); } + String text = mapUpdateValue(packageName); if (text != null) { pref.setValue(packageName); |