summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorAyush Sharma <ayushsha@google.com>2021-11-10 15:10:17 +0000
committerAyush Sharma <ayushsha@google.com>2021-11-10 15:10:17 +0000
commit444cabf2b361a1279e7090b35cd9108601fa1864 (patch)
tree49f1eb3782f3fc86d97cf1b72eacdce49c54034b /core/java/android/inputmethodservice/InputMethodService.java
parentd4d5bb5055c1a54d276a417fa140dd5e8a258aed (diff)
Dont throw exception if admin is null
For policy_suspend_packages(or for other policies which are not user restriction) admin component comes to be null always when fetched from DPMS and the code changed as part of this change used to throw exception. So handling this case to show generic learn more link in policy transparency dialog which opens settings showing list of all admins, if admin details are not found. Bug: 203564700 Test: com.android.cts.devicepolicy.MixedProfileOwnerTest#testSuspendPackage Change-Id: Ib3b4490eaa11ceab53f0004f4b7d089f3c0ba4fb
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions