Skip to content
Commit 6a26d52b authored by Neil Fuller's avatar Neil Fuller
Browse files

Raise tz standards for uninitialized devices

Removes the lowering of standards applied for tz detection on
uninitialized devices. Before this change, the device would accept any
telephony tz suggestion, which could include lower-quality answers; i.e.
those where the zone was chosen based on a country's default zone, even
when there are multiple different zones to choose from.

Unfortunately, the stock device setup wizard assumes any time zone
change made while it is running is a high quality answer and so it then
doesn't ask the user to confirm the choice. Without an API it has no way
of telling whether the time zone chosen was a high or low quality
answer. This should eventually be resolved with improved system APIs.

Bug: 143721631
Test: atest services/tests/servicestests/src/com/android/server/timezonedetector
Merged-In: I1dbd1046f0e641e609ecc8809cf86b7ddb6111b3
Change-Id: I1dbd1046f0e641e609ecc8809cf86b7ddb6111b3
(cherry picked from commit ea6b34da)
parent 8b742599
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment