Commit a1c7315e authored by Ajay Panicker's avatar Ajay Panicker Committed by Andre Eisenbach
Browse files

Prevent LE scanning apps from being wrongflully downgraded to opportunistic

Bug: 30648104
Change-Id: I9d749a20eefdbeb126fa25a425d636205a22b2ef
parent 8528cc92
......@@ -232,7 +232,7 @@ public class ScanManager {
Message msg = mHandler.obtainMessage(MSG_SCAN_TIMEOUT);
msg.obj = client;
// Only one timeout message should exist at any time
mHandler.removeMessages(SCAN_TIMEOUT_MS);
mHandler.removeMessages(MSG_SCAN_TIMEOUT);
mHandler.sendMessageDelayed(msg, SCAN_TIMEOUT_MS);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment