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

Commit 539bc619 authored by Steve Kondik's avatar Steve Kondik
Browse files

systemui: Forward-port notification counters

 * Port from CM11

Change-Id: Id9d0954acffd00bdb470b9eccbdb3b45fbd995c1
parent f64a468b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2528,6 +2528,12 @@ public final class Settings {
         */
        public static final String USE_EDGE_SERVICE_FOR_GESTURES = "edge_service_for_gestures";

        /**
         * Show the pending notification counts as overlays on the status bar
         * @hide
         */
        public static final String STATUS_BAR_NOTIF_COUNT = "status_bar_notif_count";

        /**
         * Control whether the accelerometer will be used to change screen
         * orientation.  If 0, it will not be used unless explicitly requested
+4 −0
Original line number Diff line number Diff line
@@ -211,4 +211,8 @@

    <!-- Defaults for Settings.System.DEV_FORCE_SHOW_NAVBAR. -->
    <integer name="def_force_disable_navkeys">0</integer>

    <!-- Default for Settings.System.STATUS_BAR_NOTIF_COUNT. -->
    <integer name="def_notif_count">0</integer>

</resources>
+4 −0
Original line number Diff line number Diff line
@@ -2301,6 +2301,10 @@ public class DatabaseHelper extends SQLiteOpenHelper {

            loadIntegerSetting(stmt, Settings.System.DEV_FORCE_SHOW_NAVBAR,
                    R.integer.def_force_disable_navkeys);

            loadIntegerSetting(stmt, Settings.System.STATUS_BAR_NOTIF_COUNT,
                    R.integer.def_notif_count);

        } finally {
            if (stmt != null) stmt.close();
        }
−364 B (385 B)
Loading image diff...
−240 B (267 B)
Loading image diff...
Loading