summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2020-09-03 14:41:35 -0700
committerBrad Ebinger <breadley@google.com>2020-09-03 22:36:54 +0000
commitcfa3045a5baacce7ab29e232b8d9b9029b516a96 (patch)
tree168ca283a8526c717829afdcd6a33c161ca9bcee /tools/aapt2/java/JavaClassGenerator.cpp
parentbe69e09c86085c9c6c61ba0d077efc445a254d2f (diff)
Modify the TelecomLoaderService to provide LocalServices to Telecom
We need access to the DeviceIdleController, which is not currently accessible via the PowerWhitelistManager due to restrictions with components in the same SYSTEM process accessing public APIs (see context#enforceCallingPermission). To get around this, we need to wrap services only available as LocalServices using Binder to pass these services to the Telecom code. This is all in-process (no IPC allowed), so there should be little to no impact. Bug: 160724034 Test: miss call and verify `adb shell cmd deviceidle tempwhitelist` contains default dialer. Test: atest TelecomUnitTests; atest CtsTelecomTestCases Change-Id: I6275b550d19743e576b93f5fcd2bd3aa9ea4e1a8
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions