summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2021-12-15 16:29:49 +0800
committerLouis Chang <louischang@google.com>2022-01-06 10:53:45 +0800
commit47cf5f22bb24039940e9d5fcd78a4587804c9dcb (patch)
treef082de7270d70bf317cc6fb07ebf17d23bff3272 /core/java/android/inputmethodservice/InputMethodService.java
parentc2dc611aca82dddb5a4fdc88ec168d5c3aa868fb (diff)
Allow requesting start-activity-permission-token for an activity
The permission token was required to be requested from an existing activity. Since the token is delegated to another activity, the activity that requested the token had to keep alive and finish itself until the token is revoked. Changing the behavior to allow the caller to request the permission token for a particular component as long as the caller is running in System uid (which not necessarily to be an Activity). This also prevents having an additional trampoline activity launched. Bug: 199743918 Test: locally tested Change-Id: If3e55032bb99d98a446e4c30220555b0fbc0c6f7
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions