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 /configpanel/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 'configpanel/AndroidManifest.xml')
-rw-r--r-- | configpanel/AndroidManifest.xml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/configpanel/AndroidManifest.xml b/configpanel/AndroidManifest.xml index 4ee1dad..2ed9338 100644 --- a/configpanel/AndroidManifest.xml +++ b/configpanel/AndroidManifest.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2016 The CyanogenMod Project - Copyright (C) 2017-2018 The LineageOS 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. @@ -23,7 +23,7 @@ <protected-broadcast android:name="org.lineageos.settings.device.CUST_UPDATE" /> - <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" /> + <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-sdk android:minSdkVersion="27" /> @@ -56,9 +56,10 @@ </intent-filter> </activity> - <receiver android:name=".Startup" > + <receiver android:name=".BootCompletedReceiver" > <intent-filter> - <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> </application> |