summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/tests/coretests/src/android/bluetooth/BluetoothTestUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/coretests/src/android/bluetooth/BluetoothTestUtils.java b/core/tests/coretests/src/android/bluetooth/BluetoothTestUtils.java
index 29dee34..6da38a7 100644
--- a/core/tests/coretests/src/android/bluetooth/BluetoothTestUtils.java
+++ b/core/tests/coretests/src/android/bluetooth/BluetoothTestUtils.java
@@ -113,7 +113,7 @@ public class BluetoothTestUtils extends Assert {
protected void setFiredFlag(int flag) {
synchronized (this) {
mFiredFlags |= flag;
- if (mFiredFlags == mExpectedFlags) {
+ if ((mFiredFlags & mExpectedFlags) == mExpectedFlags) {
mCompletedTime = System.currentTimeMillis();
}
}