summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/inputmethod/StylusGestures.java3
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);