Merge "Prevent the BrightLineFalsingManager from duping its session." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b340cce330
@@ -98,10 +98,12 @@ public class BrightLineFalsingManager implements FalsingManager {
|
||||
}
|
||||
|
||||
private void sessionStart() {
|
||||
logDebug("Starting Session");
|
||||
mSessionStarted = true;
|
||||
registerSensors();
|
||||
mClassifiers.forEach(FalsingClassifier::onSessionStarted);
|
||||
if (!mSessionStarted) {
|
||||
logDebug("Starting Session");
|
||||
mSessionStarted = true;
|
||||
registerSensors();
|
||||
mClassifiers.forEach(FalsingClassifier::onSessionStarted);
|
||||
}
|
||||
}
|
||||
|
||||
private void sessionEnd() {
|
||||
|
||||
Reference in New Issue
Block a user