Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 980c60c2 authored by josephpv's avatar josephpv
Browse files

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
parent 2c50b480
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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" />