summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/AbstractInputMethodService.java
diff options
context:
space:
mode:
authorAyush Sharma <ayushsha@google.com>2021-08-13 15:58:12 +0000
committerAyush Sharma <ayushsha@google.com>2021-09-10 11:26:50 +0000
commitc36fe9b7243ff044ef9c2ffc7a9e77104387b1d1 (patch)
tree01f2831384c301909a8433ced9fdef11f0963111 /core/java/android/inputmethodservice/AbstractInputMethodService.java
parent12f914e3f6a71f9464ea518fb405d41d0ffc3e2d (diff)
Don't ret admin info from createAdminSupportIntent
As part of fixing the security vulnerability(b/192245204), do not return admin package details in the returned Intent(ACTION_SHOW_ADMIN_SUPPORT_DETAILS) from createAdminSupportIntent API. Insted introduce an API to return admin info given user and restriction, this API will be used by the Activity that handles the Intent returned by createAdminSupportIntent API. Bug: 192245204 Test: atest MixedDeviceOwnerTest#testCreateAdminSupportIntent atest MixedProfileOwnerTest#testCreateAdminSupportIntent atest MixedManagedProfileOwnerTest#testCreateAdminSupportIntent atest DevicePolicyManagerTest#testCreateAdminSupportIntent Change-Id: I3ed502a078eebac62e0b8a27f6302410c22111e4
Diffstat (limited to 'core/java/android/inputmethodservice/AbstractInputMethodService.java')
0 files changed, 0 insertions, 0 deletions