summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2023-11-02 13:27:53 +0000
committer Neil Fuller <nfuller@google.com> 2023-11-08 17:11:11 +0000
commitf6dff3a3f952364dca5fb3a8bb5f290ab0c9691a (patch)
treed7576e0c44b6a263dfe9f444f9c8c02bba66043d /libs/androidfw/FileStream.cpp
parent8ea631ac9f33a04385d1ed327964b587071bb334 (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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions