commit | c3b2e0bfe9c6b599b9c9e4543701aa0392c2da8f | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Tue Jan 17 17:32:22 2023 +0000 |
committer | Neil Fuller <nfuller@google.com> | Tue Jan 17 17:35:36 2023 +0000 |
tree | d66fd9526a583c844a38061b78657cd632117c49 | |
parent | bac13cfa5673d44252d3d836bbe806e61b6322e4 [diff] |
Add "Use location" state to TimeZoneCapabilities Add the user's "Use location" state to TimeZoneCapabilities. This information is available anyway and saves the SettingsUI needing to call LocationManager directly (with the small possibility it would get an inconsistent answer). Bug: 262407244 Test: atest core/tests/coretests/src/android/app/time/TimeZoneCapabilitiesTest.java Change-Id: I0369bd4907584ebd741d47b762792ffbb23c36bf