diff options
author | Bruno Martins <bgcngm@gmail.com> | 2020-12-17 17:55:29 +0000 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2021-10-19 15:09:38 +0200 |
commit | a6eaffdcda037bba0505ddb1ed58459a8a039677 (patch) | |
tree | d189a60f226ce15d4b6050f5acd9055e6207a05d /configpanel/AndroidManifest.xml | |
parent | c36125cb56011a3794dab9fd372e30dc82d9fd6c (diff) |
msm8996-common: Init ConfigPanel and PocketMode as soon as possible
It was recently noticed that waiting for BOOT_COMPLETED intent action
is not enough to make sure that stuff is properly initialized
before the user opens additional buttons settings. Address such issue
by registering to INITIALIZE_LINEAGE_HARDWARE intent action as well,
but keep listening to BOOT_COMPLETED action just in case the SDK
is not present or not brought up.
Change-Id: I55719348b1451d8817b202d343bd2fa3c0b346c1
Diffstat (limited to 'configpanel/AndroidManifest.xml')
-rw-r--r-- | configpanel/AndroidManifest.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/configpanel/AndroidManifest.xml b/configpanel/AndroidManifest.xml index 2ed9338..a681732 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-2019 The LineageOS Project + Copyright (C) 2017-2020 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. @@ -24,6 +24,7 @@ <protected-broadcast android:name="org.lineageos.settings.device.CUST_UPDATE" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> + <uses-permission android:name="lineageos.permission.HARDWARE_ABSTRACTION_ACCESS" /> <uses-sdk android:minSdkVersion="27" /> @@ -59,6 +60,7 @@ <receiver android:name=".BootCompletedReceiver" > <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> + <action android:name="lineageos.intent.action.INITIALIZE_LINEAGE_HARDWARE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </receiver> |