summaryrefslogtreecommitdiff
path: root/keystore/java/android/security/KeyPairGeneratorSpec.java
diff options
context:
space:
mode:
authorBrad Ebinger <breadley@google.com>2020-09-03 14:41:35 -0700
committerTyler Gunn <tgunn@google.com>2020-10-22 21:43:02 +0000
commitee4eca707c2315e1603b10c1d304b7f0f6101a2b (patch)
tree89ebe1b2a3dc0893ed21e2f54f5dd66a307fa26f /keystore/java/android/security/KeyPairGeneratorSpec.java
parent95d5d13bb516ba441f9aa3aba888a18976265c7c (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 Merged-In: I3d71331cbc8f01f764cc0b9704416821007feeb5
Diffstat (limited to 'keystore/java/android/security/KeyPairGeneratorSpec.java')
0 files changed, 0 insertions, 0 deletions