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

Commit 874292e1 authored by Gus Prevas's avatar Gus Prevas
Browse files

Reads new interruption model setting from correct settings.

Test: n/a
Change-Id: Ia04d5152dc61f7c5ea672ab0c541d1ab81bc739d
parent 7c31e494
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -74,7 +74,7 @@ public class NotificationUtils {

    /** Returns the value of the new interruption model setting. */
    public static boolean useNewInterruptionModel(Context context) {
        return Settings.System.getInt(context.getContentResolver(),
        return Settings.Secure.getInt(context.getContentResolver(),
                NOTIFICATION_NEW_INTERRUPTION_MODEL, 0) != 0;
    }
}