This changes fingerprint to dismiss the notification screen rather
than moving to a trusted state.
Fixes bug
19592835
Change-Id: I5020408df2e8b73a34c264b5ac052251e3a17b8d
public void onFingerprintRecognized(int userId) {
if (mStatusBarKeyguardViewManager.isBouncerShowing()) {
mViewMediatorCallback.keyguardDone(true);
+ } else {
+ mStatusBarKeyguardViewManager.animateCollapsePanels();
}
};
import com.android.internal.widget.LockPatternUtils;
import com.android.keyguard.KeyguardUpdateMonitor;
import com.android.keyguard.ViewMediatorCallback;
+import com.android.systemui.statusbar.CommandQueue;
import static com.android.keyguard.KeyguardHostView.OnDismissAction;
public void keyguardGoingAway() {
mPhoneStatusBar.keyguardGoingAway();
}
+
+ public void animateCollapsePanels() {
+ mPhoneStatusBar.animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_NONE, true /* force */);
+ }
}