commit | f6dff3a3f952364dca5fb3a8bb5f290ab0c9691a | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Thu Nov 02 13:27:53 2023 +0000 |
committer | Neil Fuller <nfuller@google.com> | Wed Nov 08 17:11:11 2023 +0000 |
tree | d7576e0c44b6a263dfe9f444f9c8c02bba66043d | |
parent | 8ea631ac9f33a04385d1ed327964b587071bb334 [diff] |
Remove the need for permission during tests A call to ActivityManager was not faked for tests leading to a real permission check. There's no need for this, so it have been fixed in the service. Some other calls that can be faked have also been switched over to the "injector" object. Test: atest FrameworksTimeServicesTests Bug: 182461754 Change-Id: Ic757932fee972d5ee360023a10f6616f36da271e