Define new config for Health Connect default app.

By default this is set as Health Contoller apk com.android.healthconnect.controller
which will be used for Pixel devices

OEM can set value of config_defaultHealthConnectApp in the device
Overlay file to change it to OEM specific system health app.

BUG: 258760247
Test: Manual - Tested by manually giving permission to Health controller apk
and reading the config value

Change-Id: I4c2c0490c0b46532a11fe796de1363636ab370f1
This commit is contained in:
josephpv
2023-01-19 14:05:13 +00:00
parent 2c50b4800e
commit 980c60c261
2 changed files with 7 additions and 0 deletions

View File

@@ -4598,6 +4598,12 @@
<!-- Component name for the default module metadata provider on this device -->
<string name="config_defaultModuleMetadataProvider" translatable="false">com.android.modulemetadata</string>
<!-- Package name for the default Health Connect app.
OEMs can set this with their own health app package name to define a default app with high
priority for the app to store the health data. If set the app always has priority of 1
unless it is changed by the user. -->
<string name="config_defaultHealthConnectApp" translatable="false"></string>
<!-- This is the default launcher package with an activity to use on secondary displays that
support system decorations.
This launcher package must have an activity that supports multiple instances and has

View File

@@ -340,6 +340,7 @@
<java-symbol type="bool" name="config_checkWallpaperAtBoot" />
<java-symbol type="string" name="config_wallpaperManagerServiceName" />
<java-symbol type="string" name="config_inputEventCompatProcessorOverrideClassName" />
<java-symbol type="string" name="config_defaultHealthConnectApp" />
<java-symbol type="bool" name="config_sendAudioBecomingNoisy" />
<java-symbol type="bool" name="config_enableScreenshotChord" />
<java-symbol type="bool" name="config_enableWifiDisplay" />