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

Commit 73eea390 authored by Daniel Kim's avatar Daniel Kim Committed by Android (Google) Code Review
Browse files

Merge "Fix deadlock by not acquiring lock when reporting proximity" into tm-qpr-dev

parents 0cb6a60e 99e2b6c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -668,8 +668,8 @@ public class AttentionManagerService extends SystemService {
            mIProximityUpdateCallback = new IProximityUpdateCallback.Stub() {
                @Override
                public void onProximityUpdate(double distance) {
                    synchronized (mLock) {
                    mCallbackInternal.onProximityUpdate(distance);
                    synchronized (mLock) {
                        freeIfInactiveLocked();
                    }
                }