sysui: Have date/weather flag as sysprop flag.

The change allows the flag to be shared across different
  processes without overhead of content provider lookups.

  Flag can be set via
     adb shell setprop persist.sysui.ss.dw_decoupled
     <bool>

Bug: 261757708
Test: manual
Change-Id: Iec55f51ead4c1001b0f761bfd4e2e6e974abec0e
This commit is contained in:
Adnan Begovic
2023-01-12 22:09:17 +00:00
parent d97d819253
commit dd8f51a141

View File

@@ -229,7 +229,8 @@ object Flags {
// TODO(b/258517050): Clean up after the feature is launched.
@JvmField
val SMARTSPACE_DATE_WEATHER_DECOUPLED = unreleasedFlag(403, "smartspace_date_weather_decoupled")
val SMARTSPACE_DATE_WEATHER_DECOUPLED =
sysPropBooleanFlag(403, "persist.sysui.ss.dw_decoupled", default = false)
// 500 - quick settings