Merge "[Dock Defend] Update flag to be resource-backed so we can enable it on certain devices only." into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-12-06 17:03:24 +00:00
committed by Android (Google) Code Review
2 changed files with 7 additions and 1 deletions

View File

@@ -36,4 +36,8 @@
avatar will no longer show on the lockscreen -->
<bool name="flag_user_switcher_chip">false</bool>
<!-- Whether the battery icon is allowed to display a shield when battery life is being
protected. -->
<bool name="flag_battery_shield_icon">false</bool>
</resources>

View File

@@ -229,7 +229,9 @@ object Flags {
val NEW_STATUS_BAR_WIFI_ICON_BACKEND = unreleasedFlag(609, "new_status_bar_wifi_icon_backend")
// TODO(b/256623670): Tracking Bug
@JvmField val BATTERY_SHIELD_ICON = unreleasedFlag(610, "battery_shield_icon")
@JvmField
val BATTERY_SHIELD_ICON =
resourceBooleanFlag(610, R.bool.flag_battery_shield_icon, "battery_shield_icon")
// TODO(b/260881289): Tracking Bug
val NEW_STATUS_BAR_ICONS_DEBUG_COLORING =