summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTyler Gunn <tgunn@google.com>2018-05-02 13:23:48 -0700
committerTyler Gunn <tgunn@google.com>2018-05-08 11:19:18 -0700
commitf858a0e8d23e43fa815962f0c3edbef293d37f7f (patch)
treea1a861fe1da6f18fe5dbdc563fbf9ddf34306735 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentd0b9f983d6687fc88074926f5e5e5c1b7ac7ee97 (diff)
Make TelecomManager#endCall a public API.
A broad category of apps such as wearable companion apps and call blocking apps rely on the ability to reject a ringing call. Previously this was achieved using a broken TelephonyManager API which lacked permission checks. To support these applications, removing the @hide attribute on the existing TelecomManager#endCall API so that apps with the existing ANSWER_PHONE_CALLS permission can reject ringing calls and end ongoing calls. Logically if an app has permission to answer a call, it should be able to end it. Test: Created test app to verify API permission checks. Test: Added new CTS tests to cover this API. Bug: 78290258 Merged-In: Ic6527969793ebe05eb9c5fa8205558ae788ea572 Change-Id: Ic6527969793ebe05eb9c5fa8205558ae788ea572
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions