Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98391ace authored by Fan Zhang's avatar Fan Zhang
Browse files

Default emergency gesture setting to On.

Bug: 178009196
Test: manual
Change-Id: I281af14240496f7c3812d252124e2b35e6b5ea70
parent 6609f2b0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -394,7 +394,7 @@ public class GestureLauncherService extends SystemService {
    static boolean isEmergencyGestureSettingEnabled(Context context, int userId) {
        return isEmergencyGestureEnabled(context.getResources())
                && Settings.Secure.getIntForUser(context.getContentResolver(),
                Settings.Secure.EMERGENCY_GESTURE_ENABLED, 0, userId) != 0;
                Settings.Secure.EMERGENCY_GESTURE_ENABLED, 1, userId) != 0;
    }

    /**