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

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

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

* commit '025c8ec1':
  remove a read lock to work around a platform deadlock problem.
parents 2c41d997 025c8ec1
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