Not necessary anymore because we now have a more generic solution
Change-Id: I3f4c509953b79ac6ea4ef67489474c5fb37c7109
Fixes:
77553611
Test: Swipe up and down on keyguard
Test: Swipe up and to the left on keyguard
public class AnglesVarianceEvaluator {
public static float evaluate(float value, int type) {
- final boolean secureUnlock = type == Classifier.BOUNCER_UNLOCK;
float evaluation = 0.0f;
if (value > 0.20) evaluation++;
- if (value > 0.40 && !secureUnlock) evaluation++;
- if (value > 0.80 && !secureUnlock) evaluation++;
- if (value > 1.50 && !secureUnlock) evaluation++;
+ if (value > 0.40) evaluation++;
+ if (value > 0.80) evaluation++;
+ if (value > 1.50) evaluation++;
return evaluation;
}
}