Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b2fed746 authored by Eric Sandness's avatar Eric Sandness Committed by android-build-merger
Browse files

Merge "Permission Check For DPM Get IME API" into pi-dev

am: 78931a0f

Change-Id: If81408f57757f1649b3355cc158a2539b33f646f
parents 62df0a68 78931a0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -6359,6 +6359,7 @@ public class DevicePolicyManager {
     * @hide
     */
    @SystemApi
    @RequiresPermission(android.Manifest.permission.MANAGE_USERS)
    public @Nullable List<String> getPermittedInputMethodsForCurrentUser() {
        throwIfParentInstance("getPermittedInputMethodsForCurrentUser");
        if (mService != null) {
+1 −0
Original line number Diff line number Diff line
@@ -8738,6 +8738,7 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
    @Override
    public List getPermittedInputMethodsForCurrentUser() {
        enforceManageUsers();
        UserInfo currentUser;
        try {
            currentUser = mInjector.getIActivityManager().getCurrentUser();