aboutsummaryrefslogtreecommitdiff
path: root/doze/AndroidManifest.xml
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-10-14 21:18:03 -0700
committerDavide Garberi <dade.garberi@gmail.com>2017-12-04 09:01:03 +0100
commit2c64d330803b469deffde432e3fbe292ba8a7d26 (patch)
tree4118ab3194cd18aaeb8c44bfd3f2bbb7392673d4 /doze/AndroidManifest.xml
parentf639e2333a933fdb73927a8f8dba99bec8dce0af (diff)
msm8996-common: Bring DozeSettings up to date
* Rework the UI with a SwitchBar * Change to the preferences support library and use fragments * Use all the new fancy RemotePreference stuff * Slot into display settings instead of the dashboard Change-Id: I0850f7d9558a14f739f752f76002db993381a0e5 Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
Diffstat (limited to 'doze/AndroidManifest.xml')
-rw-r--r--doze/AndroidManifest.xml21
1 files changed, 12 insertions, 9 deletions
diff --git a/doze/AndroidManifest.xml b/doze/AndroidManifest.xml
index 54783eb..1fcb05e 100644
--- a/doze/AndroidManifest.xml
+++ b/doze/AndroidManifest.xml
@@ -7,18 +7,20 @@
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
<uses-permission android:name="android.permission.WAKE_LOCK" />
+ <uses-permission android:name="cyanogenmod.permission.MANAGE_REMOTE_PREFERENCES" />
<uses-sdk
- android:minSdkVersion="21"
- android:targetSdkVersion="21"/>
+ android:minSdkVersion="24"
+ android:targetSdkVersion="24"/>
<application
android:label="ZukDoze"
android:persistent="true">
- <receiver android:name="com.cyanogenmod.settings.doze.BootCompletedReceiver">
+ <receiver android:name="com.cyanogenmod.settings.doze.DozeReceiver">
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
+ <action android:name="cyanogenmod.intent.action.UPDATE_PREFERENCE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</receiver>
@@ -30,16 +32,17 @@
<activity
android:name=".DozeSettings"
android:label="@string/ambient_display_title"
- android:theme="@android:style/Theme.Material.Settings">
+ android:theme="@style/DozeSettings">
<intent-filter>
- <action android:name="com.android.settings.action.EXTRA_SETTINGS" />
+ <action android:name="org.cyanogenmod.settings.device.DOZE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
- android:name="com.android.settings.category"
- android:value="com.android.settings.category.device" />
+ android:name="org.cyanogenmod.settings.summary.receiver"
+ android:value="com.cyanogenmod.settings.doze.DozeReceiver" />
<meta-data
- android:name="com.android.settings.icon"
- android:resource="@drawable/ic_settings_doze" />
+ android:name="org.cyanogenmod.settings.summary.key"
+ android:value="doze_device_settings" />
</activity>
</application>