Read weather data from smartspace

Enable the flag to write mock data using:

  adb shell device_config put device_personalization_services \
      EchoSmartspace__enable_mock_weather_data true

Then, set the icon enum (represented as an int) using:

  adb shell device_config put device_personalization_services \
      EchoSmartspace__mock_weather_state_icon_id 2

Set the temperature (int) using:

  adb shell device_config put device_personalization_services \
      EchoSmartspace__mock_temperature_value 22

Set the temperature unit (boolean) for isCelsius using:

  adb shell device_config put device_personalization_services \
      EchoSmartspace__mock_temperature_unit false

Test: Use device_config commands to test mock data
Bug: 265069396
Change-Id: Ibb110c324f3eb21c0c4fba70b2da5f0c042e9cff
2 files changed