summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Peter Kalauskas <peskal@google.com> 2023-01-13 17:56:14 -0800
committer Peter Kalauskas <peskal@google.com> 2023-01-31 12:25:49 -0800
commit1bd2b79b69ab709fb867f15b89f1def482bf15f7 (patch)
tree79479fd28d2d9e6fef0635f207eb0d74e52a2541 /libs/androidfw/AttributeResolution.cpp
parent5f3bb108772a76777c97ecac22e8888f8dfaff36 (diff)
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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions