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

Commit 69bb2e8b authored by Zhihai Xu's avatar Zhihai Xu Committed by Android (Google) Code Review
Browse files

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

parents c2b4cc33 c7fdfa6e
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