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

Commit 5d0ed7b9 authored by Eric Rowe's avatar Eric Rowe
Browse files

Allow extra flags to be fired in BT stress tests

Change-Id: I69a7748a3cbbd5aa7d2e4e3d9201389d67180761
parent fad77875
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -113,7 +113,7 @@ public class BluetoothTestUtils extends Assert {
        protected void setFiredFlag(int flag) {
        protected void setFiredFlag(int flag) {
            synchronized (this) {
            synchronized (this) {
                mFiredFlags |= flag;
                mFiredFlags |= flag;
                if (mFiredFlags == mExpectedFlags) {
                if ((mFiredFlags & mExpectedFlags) == mExpectedFlags) {
                    mCompletedTime = System.currentTimeMillis();
                    mCompletedTime = System.currentTimeMillis();
                }
                }
            }
            }