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

Skip to content
Commit 1bd2b79b authored by Peter Kalauskas's avatar Peter Kalauskas
Browse files

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
parent 5f3bb108
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment