summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java')
-rw-r--r--src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java b/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java
index bb6a26d880..104abf98d1 100644
--- a/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java
+++ b/src/com/android/settings/gestures/SwipeToNotificationPreferenceController.java
@@ -21,6 +21,7 @@ import static android.provider.Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED;
import android.content.Context;
import android.content.SharedPreferences;
import android.provider.Settings;
+import android.text.TextUtils;
import com.android.settings.Utils;
@@ -60,6 +61,11 @@ public class SwipeToNotificationPreferenceController extends GesturePreferenceCo
}
@Override
+ public boolean isSliceable() {
+ return TextUtils.equals(getPreferenceKey(), "gesture_swipe_down_fingerprint");
+ }
+
+ @Override
public boolean setChecked(boolean isChecked) {
setSwipeToNotification(mContext, isChecked);
return true;