summaryrefslogtreecommitdiff
path: root/tools/stats_log_api_gen/utils.cpp
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2020-03-02 10:12:26 +0000
committerNeil Fuller <nfuller@google.com>2020-03-04 09:20:50 +0000
commit5d50bfe4b37a684e5a349c6c707bec66ceaec09d (patch)
tree88e8621d045baf522c56cc89c4b94acdfb8ec833 /tools/stats_log_api_gen/utils.cpp
parent920105c38ba977c8b56e16e4d969ead3acbc576f (diff)
Disable auto time zone on non-telephony devices
Disable auto time zone detection explicitly based on device capabilities. The TimeZoneDetector now enforces that the time zone cannot be set manually when "auto_zone" is 1 (on). On devices without a telephony network (the only devices that support auto time zone currently), nothing explicitly sets the "auto_zone" value to 0 leading to problems when the user tries to manually set the time zone. Therefore, to retain the check, the code needs to ignore the auto_zone setting for devices that inherently cannot support auto time zone detection. Bug: 150583524 Bug: 150156441 Test: treehugger Merged-In: Iea9c9e04c5617ccf0ba20511344884d3d88f2a9b Change-Id: Iea9c9e04c5617ccf0ba20511344884d3d88f2a9b (cherry picked from commit 2c6c3c3dafc2bef5599717a9353457d451d6cd7c)
Diffstat (limited to 'tools/stats_log_api_gen/utils.cpp')
0 files changed, 0 insertions, 0 deletions