Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

Add start / stop to location_time_zone_manager

Implement a path for reconfiguration of provider behavior at runtime.

Now the location_time_zone_manager can be stopped / started
from the command line with:

$ adb shell location_time_zone_manager stop
$ adb shell location_time_zone_manager start

This is useful during manual and automated (i.e. CTS) tests.

This change introduces LocationTimeZoneProviderController.destroy() and
all the associated plumbing / a new state needed to support "stop".

This commit removes NullLocationTimeZoneProvider and replaces it with a
LocationTimeZoneProviderProxy that does a similar thing.  It adds a
LocationTimeZoneProviderTest to replace the lost coverage.

Bug: 172934905
Bug: 152746105
Test: atest services/tests/servicestests/src/com/android/server/location/timezone/
Change-Id: I1ef7813ff2011251b2d8231a4e80f0374ee32c50
parent 616df78f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment