Add Fast Pair saved devices settings page component name to config

The actual page is in GMSCore, which is not fully ready. I tested with
Nearby Share sharing page for indication.

Test: https://photos.app.goo.gl/E1T9hKtuci12SwuY7
Bug: 203579197
Change-Id: Idbbc4e6d5ca180a6d225b9410057473531bc2b0c
This commit is contained in:
Xinyi Zhou
2022-01-27 14:48:24 -08:00
parent 3380e190f3
commit 393ba5ce30
3 changed files with 14 additions and 0 deletions

View File

@@ -10280,6 +10280,15 @@ public final class Settings {
*/
public static final String NEARBY_SHARING_SLICE_URI = "nearby_sharing_slice_uri";
/**
* Current provider of Fast Pair saved devices page.
* Default value in @string/config_defaultNearbyFastPairSettingsDevicesComponent.
* No VALIDATOR as this setting will not be backed up.
* @hide
*/
public static final String NEARBY_FAST_PAIR_SETTINGS_DEVICES_COMPONENT =
"nearby_fast_pair_settings_devices_component";
/**
* Controls whether aware is enabled.
* @hide

View File

@@ -4974,6 +4974,10 @@
<!-- URI used for Nearby Share SliceProvider scanning. -->
<string translatable="false" name="config_defaultNearbySharingSliceUri"></string>
<!-- Component name that accepts settings intents for saved devices.
Used by FastPairSettingsFragment. -->
<string translatable="false" name="config_defaultNearbyFastPairSettingsDevicesComponent"></string>
<!-- Boolean indicating whether frameworks needs to reset cell broadcast geo-fencing
check after reboot or airplane mode toggling -->
<bool translatable="false" name="reset_geo_fencing_check_after_boot_or_apm">false</bool>

View File

@@ -4099,6 +4099,7 @@
<java-symbol type="layout" name="chooser_action_button" />
<java-symbol type="dimen" name="chooser_action_button_icon_size" />
<java-symbol type="string" name="config_defaultNearbySharingComponent" />
<java-symbol type="string" name="config_defaultNearbyFastPairSettingsDevicesComponent" />
<java-symbol type="bool" name="config_disable_all_cb_messages" />
<java-symbol type="drawable" name="ic_close" />