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

Commit 322480a0 authored by Zhihai Xu's avatar Zhihai Xu Committed by Android Git Automerger
Browse files

am f43652de: am 025c8ec1: Merge "remove a read lock to work around a platform...

am f43652de: am 025c8ec1: Merge "remove a read lock to work around a platform deadlock problem." into klp-dev

* commit 'f43652de':
  remove a read lock to work around a platform deadlock problem.
parents 60bfce5d f43652de
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -203,11 +203,10 @@ class AdapterProperties {
     * @return the mState
     */
    int getState() {
        synchronized (mObject) {
            if (VDBG) debugLog("State = " + mState);
        /* remove the lock to work around a platform deadlock problem */
        /* and also for read access, it is safe to remove the lock to save CPU power */
        return mState;
    }
    }

    /**
     * @return the mBondedDevices