mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.
This change uses component-override to enable the service by default.
Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.
Bug: 135048762
Test: adb shell pm query-services \
com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
adb shell pm query-services \
com.android.bluetooth/.hid.HidDeviceService
adb shell pm query-services \
com.android.bluetooth/.sap.SapService
This commit is contained in:
parent
0e16cac0bf
commit
3399fe3a01
3 changed files with 28 additions and 4 deletions
27
universal7885-common/configs/sysconfig/pixel_eureka.xml
Normal file
27
universal7885-common/configs/sysconfig/pixel_eureka.xml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<!-- These are configurations that should exist on Google's 2016 and newer Nexus devices. -->
|
||||
<config>
|
||||
<!-- This is meant to be the canonical feature identifying 2016 and newer Nexus devices. -->
|
||||
<feature name="com.google.android.feature.PIXEL_EXPERIENCE" />
|
||||
|
||||
<!-- Both versions of this string are needed due to a miscommunication. b/29978934 -->
|
||||
<feature name="com.google.android.apps.photos.NEXUS_PRELOAD" />
|
||||
<feature name="com.google.android.apps.photos.nexus_preload" />
|
||||
|
||||
<!-- Enable Zero Touch Provisioning support for 2016 and newer Nexus devices. -->
|
||||
<feature name="com.google.android.feature.ZERO_TOUCH" />
|
||||
|
||||
<!-- Allow Google unbundled tethering entitlement app in background -->
|
||||
<allow-in-power-save package="com.google.android.tetheringentitlement" />
|
||||
|
||||
<!-- Allow ssr detector service in background -->
|
||||
<allow-in-power-save package="com.google.SSRestartDetector" />
|
||||
|
||||
<!-- Allow ramdump uploader service in background -->
|
||||
<allow-in-power-save package="com.android.ramdump" />
|
||||
|
||||
<!-- These are telephony components that need to run in the background -->
|
||||
<allow-in-power-save package="com.eurekateam.cameralightsensor" />
|
||||
</config>
|
||||
|
||||
Loading…
Reference in a new issue