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

Commit 4344cdd5 authored by Sam Mortimer's avatar Sam Mortimer
Browse files

[1/2] AppOps: Add alarm wakeup op

Change-Id: Ic739519cb9df9d2c67d65e3572a119b4d55145f0
parent 3f622216
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -665,6 +665,7 @@
        <item>@string/app_ops_summaries_wifi_change</item>
        <item>@string/app_ops_summaries_bluetooth_change</item>
        <item>@string/app_ops_summaries_data_change</item>
        <item>@string/app_ops_summaries_alarm_wakeup</item>
    </string-array>

    <string-array name="app_ops_labels_cm">
@@ -702,6 +703,7 @@
        <item>@string/app_ops_labels_wifi_change</item>
        <item>@string/app_ops_labels_bluetooth_change</item>
        <item>@string/app_ops_labels_data_change</item>
        <item>@string/app_ops_labels_alarm_wakeup</item>
    </string-array>

    <!-- App ops permissions -->
+2 −0
Original line number Diff line number Diff line
@@ -1026,6 +1026,8 @@ two in order to insert additional control points. \'Remove\' deletes the selecte
    <string name="app_ops_labels_bluetooth_change">Bluetooth change</string>
    <string name="app_ops_summaries_data_change">data change</string>
    <string name="app_ops_labels_data_change">Data change</string>
    <string name="app_ops_summaries_alarm_wakeup">wake up</string>
    <string name="app_ops_labels_alarm_wakeup">Wake up</string>
    <!-- App ops menu options -->
    <string name="app_ops_show_user_apps">Show user apps</string>
    <string name="app_ops_show_system_apps">Show built-in apps</string>
+3 −1
Original line number Diff line number Diff line
@@ -166,7 +166,8 @@ public class AppOpsState {
                    AppOpsManager.OP_PLAY_AUDIO,
                    AppOpsManager.OP_WIFI_CHANGE,
                    AppOpsManager.OP_BLUETOOTH_CHANGE,
                    AppOpsManager.OP_DATA_CONNECT_CHANGE },
                    AppOpsManager.OP_DATA_CONNECT_CHANGE,
                    AppOpsManager.OP_ALARM_WAKEUP },
            new boolean[] { false,
                    false,
                    true,
@@ -178,6 +179,7 @@ public class AppOpsState {
                    true,
                    true,
                    true,
                    true,
                    true }
            );