+4
−1
location/lib/java/com/android/location/timezone/provider/LocationTimeZoneEventUnbundled.java
0 → 100644
+172
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This commit introduces a LocationTimeZoneEventUnbundled, as LocationTimeZoneEvent will not be on another API surface so cannot be reused. (The equivalent from LocationProvider is Location, which is public API so there is no LocationUnbundled.) Add an initialization timeout to LocationTimeZoneProviderRequest so that providers can make intelligent choices about (for example) how long to spend waiting for geolocation to happen passively. Test: atest services/tests/servicestests/src/com/android/internal/location/timezone/ Test: atest services/tests/servicestests/src/com/android/server/location/timezone/ Bug: 152744911 Change-Id: Id3e9e6916e8c3a132d8fc892338578ab9d2ff574