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

Commit fcbfe9da authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove a redundant Binder.clearCallingIdentity()"

parents 8a0e78af a4710f3d
Loading
Loading
Loading
Loading
+6 −11
Original line number Diff line number Diff line
@@ -9293,8 +9293,6 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
                InputMethodManager inputMethodManager =
                        mContext.getSystemService(InputMethodManager.class);
                List<InputMethodInfo> imes = inputMethodManager.getInputMethodList();
                long id = mInjector.binderClearCallingIdentity();
                try {
                if (imes != null) {
                    for (InputMethodInfo ime : imes) {
                        ServiceInfo serviceInfo = ime.getServiceInfo();
@@ -9304,9 +9302,6 @@ public class DevicePolicyManagerService extends BaseIDevicePolicyManager {
                        }
                    }
                }
                } finally {
                    mInjector.binderRestoreCallingIdentity(id);
                }
            }
            return result;
        }