summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.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-03 09:16:06 +0000
commit2c6c3c3dafc2bef5599717a9353457d451d6cd7c (patch)
tree0a6b353f5b04177abf5dcaabfc808abc82b57e7e /tools/aapt2/java/JavaClassGenerator.cpp
parent97c24fb16722d4e42743c10760144c64f67be291 (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 Change-Id: Iea9c9e04c5617ccf0ba20511344884d3d88f2a9b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions