summaryrefslogtreecommitdiff
path: root/doze/AndroidManifest.xml
diff options
context:
space:
mode:
authorIsaac Chen <isaacchen@isaacchen.cn>2018-07-13 05:00:59 +0200
committerIsaac Chen <isaacchen@isaacchen.cn>2018-07-13 00:03:17 +0000
commit5d5c84331b465e5c1428c68ff62dee0cad02bf41 (patch)
tree9d930854258f63b0450f19360eb3412e33d15947 /doze/AndroidManifest.xml
parent2c422cb5c2bd2b93ec56ed970df0051be54f2039 (diff)
wayne: Import XiaomiDoze from msm8996-common
Change-Id: Id2ad90466f64761a43bb8c768630b14620bee35c Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'doze/AndroidManifest.xml')
-rw-r--r--doze/AndroidManifest.xml59
1 files changed, 59 insertions, 0 deletions
diff --git a/doze/AndroidManifest.xml b/doze/AndroidManifest.xml
new file mode 100644
index 0000000..93f5a3b
--- /dev/null
+++ b/doze/AndroidManifest.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015-2016 The CyanogenMod Project
+ 2017 The LineageOS Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="org.lineageos.settings.doze"
+ android:versionCode="1"
+ android:versionName="1.0"
+ android:sharedUserId="android.uid.system">
+
+ <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+ <uses-permission android:name="android.permission.WAKE_LOCK" />
+
+ <protected-broadcast android:name="com.android.systemui.doze.pulse" />
+
+ <uses-sdk
+ android:minSdkVersion="24"
+ android:targetSdkVersion="24"/>
+
+ <application
+ android:label="@string/device_settings_app_name"
+ android:persistent="true">
+
+ <receiver android:name=".BootCompletedReceiver">
+ <intent-filter>
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </receiver>
+
+ <service android:name=".DozeService"
+ android:permission="XiaomiDozeService">
+ </service>
+
+ <activity
+ android:name=".DozeSettingsActivity"
+ android:label="@string/ambient_display_title"
+ android:theme="@style/Theme.Main">
+ <intent-filter>
+ <action android:name="org.lineageos.settings.device.DOZE_SETTINGS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ </intent-filter>
+ </activity>
+
+ </application>
+</manifest>