@Override
public void onActivated(ActivatableNotificationView view) {
+ onActivated((View)view);
+ mStackScroller.setActivatedChild(view);
+ }
+
+ public void onActivated(View view) {
mLockscreenGestureLogger.write(
MetricsEvent.ACTION_LS_NOTE,
0 /* lengthDp - N/A */, 0 /* velocityDp - N/A */);
if (previousView != null) {
previousView.makeInactive(true /* animate */);
}
- mStackScroller.setActivatedChild(view);
}
/**
@Override
public void onActivationReset(ActivatableNotificationView view) {
if (view == mStackScroller.getActivatedChild()) {
- mKeyguardIndicationController.hideTransientIndication();
mStackScroller.setActivatedChild(null);
+ onActivationReset((View)view);
}
}
+ public void onActivationReset(View view) {
+ mKeyguardIndicationController.hideTransientIndication();
+ }
+
public void onTrackingStarted() {
runPostCollapseRunnables();
}