diff options
| author | 2021-01-02 13:27:51 +0000 | |
|---|---|---|
| committer | 2021-01-06 20:05:19 +0000 | |
| commit | cd101fa5b972ba92e834197d6685fc652d32ee34 (patch) | |
| tree | 686b8694b66e62e37a393db3f81f28c5d116c5fa /packages/Shell/src | |
| parent | 616df78f9e60978629aea7ce6abdc672ba010432 (diff) | |
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
Diffstat (limited to 'packages/Shell/src')
0 files changed, 0 insertions, 0 deletions