aboutsummaryrefslogtreecommitdiff
path: root/pocketmode/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pocketmode/AndroidManifest.xml')
-rw-r--r--pocketmode/AndroidManifest.xml38
1 files changed, 27 insertions, 11 deletions
diff --git a/pocketmode/AndroidManifest.xml b/pocketmode/AndroidManifest.xml
index e462eb2..fe9e42f 100644
--- a/pocketmode/AndroidManifest.xml
+++ b/pocketmode/AndroidManifest.xml
@@ -1,29 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2016 The CyanogenMod Project
+ Copyright (C) 2017-2019 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.pocketmode"
android:versionCode="1"
- android:versionName="1.1"
+ android:versionName="1.2"
android:sharedUserId="android.uid.system">
- <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
+ <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" />
<uses-sdk
- android:minSdkVersion="27"
- android:targetSdkVersion="27"/>
+ android:minSdkVersion="27" />
<application
android:label="ZukPocketMode"
- android:persistent="true">
+ android:persistent="true"
+ android:defaultToDeviceProtectedStorage="true"
+ android:directBootAware="true">
- <receiver android:name="org.lineageos.pocketmode.BootCompletedReceiver">
- <intent-filter>
- <action android:name="android.intent.action.BOOT_COMPLETED" />
- <category android:name="android.intent.category.DEFAULT" />
+ <receiver android:name=".Startup" >
+ <intent-filter android:priority="99" >
+ <action android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" />
</intent-filter>
</receiver>
- <service android:name="org.lineageos.pocketmode.PocketModeService"
- android:permission="ZukPocketModeService">
+ <service android:name=".PocketModeService"
+ android:permission="PocketModeService">
</service>
<activity android:name="PocketMode"