diff options
author | LuK1337 <priv.luk@gmail.com> | 2019-07-07 11:07:27 +0200 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-07-14 13:12:41 +0200 |
commit | d6af174b1db2066e51456d20c58827c7fdc37c10 (patch) | |
tree | 7529d64037830c87f87a5a645184ca9ff3220d4a /pocketmode/AndroidManifest.xml | |
parent | 1d4a02e507f6475b2dca32704d5574be5255c117 (diff) |
msm8996-common: Use android.intent.action.BOOT_COMPLETED where possible
* Ensure that the startup of PocketMode still takes place
before ConfigPanel.
Change-Id: I2436a38bddccb908acf94d916d0220918e8b6a0c
Diffstat (limited to 'pocketmode/AndroidManifest.xml')
-rw-r--r-- | pocketmode/AndroidManifest.xml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pocketmode/AndroidManifest.xml b/pocketmode/AndroidManifest.xml index fe9e42f..90150ef 100644 --- a/pocketmode/AndroidManifest.xml +++ b/pocketmode/AndroidManifest.xml @@ -21,7 +21,7 @@ android:versionName="1.2" android:sharedUserId="android.uid.system"> - <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" /> + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-sdk android:minSdkVersion="27" /> @@ -32,9 +32,10 @@ android:defaultToDeviceProtectedStorage="true" android:directBootAware="true"> - <receiver android:name=".Startup" > + <receiver android:name=".BootCompletedReceiver" > <intent-filter android:priority="99" > - <action android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" /> + <action android:name="android.intent.action.BOOT_COMPLETED" /> + <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </receiver> |