summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorNeil Fuller <nfuller@google.com>2019-11-29 09:02:39 +0000
committerNeil Fuller <nfuller@google.com>2019-12-03 16:38:03 +0000
commit2c6d510e4555854b1322dc3b8a8f7255bded5768 (patch)
tree0730d64e3007526cf96c75c24b750fc1ee4e83f0 /tools/aapt2/java/JavaClassGenerator.cpp
parentc7a4eec43525cfa221535f479b2b1e231f7df198 (diff)
Add a manual path for setting time zone
Add a mechanism for suggesting the "manual" time zone setting to the TimeZoneDetectorStrategy, e.g. for the settings app to use. This involves various changes / renames to TimeZoneDetectorStrategy to introduce a distinction between 3 things: 1) General detection code, applicable for anything that changes device time zone. 2) Phone detection code, applicable for setting the device time zone from phone signals. 3) Automatic detection code, applicable for setting the device time zone automatically (of which telephony signals is currently the only example, but could be joined by new things in future). Adds tests for the new ManualTimeZoneSuggestion and makes improvements to the existing tests for PhoneTimeZoneSuggestionTest. Test: atest android.app.timezonedetector Test: atest com.android.server.timezonedetector Bug: 140712361 Change-Id: I9c3a18e47b157cccabda74855e5c91b45fa93b92
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions