Merge "AmbientIndication: Add tap again hint" into oc-dr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
4317e457ba
@@ -4651,6 +4651,11 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
|
||||
@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 */);
|
||||
@@ -4659,7 +4664,6 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
if (previousView != null) {
|
||||
previousView.makeInactive(true /* animate */);
|
||||
}
|
||||
mStackScroller.setActivatedChild(view);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -4693,11 +4697,15 @@ public class StatusBar extends SystemUI implements DemoMode,
|
||||
@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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user