am 76df05d6: am a0f5c76f: Added more logging to debug the empty keyguard

* commit '76df05d61ca7247c485b5953c32fd49cdf492026':
  Added more logging to debug the empty keyguard
This commit is contained in:
Selim Cinek
2015-06-22 20:41:17 +00:00
committed by Android Git Automerger

View File

@@ -172,12 +172,7 @@ public abstract class PanelView extends FrameLayout {
public void onAnimationEnd(Animator animation) { public void onAnimationEnd(Animator animation) {
mPeekAnimator = null; mPeekAnimator = null;
if (mCollapseAfterPeek && !mCancelled) { if (mCollapseAfterPeek && !mCancelled) {
postOnAnimation(new Runnable() { postOnAnimation(mPostCollapseRunnable);
@Override
public void run() {
collapse(false /* delayed */, 1.0f /* speedUpFactor */);
}
});
} }
mCollapseAfterPeek = false; mCollapseAfterPeek = false;
} }
@@ -663,6 +658,11 @@ public abstract class PanelView extends FrameLayout {
(animator.getDuration() * getCannedFlingDurationFactor() (animator.getDuration() * getCannedFlingDurationFactor()
/ collapseSpeedUpFactor)); / collapseSpeedUpFactor));
} }
if (PhoneStatusBar.DEBUG_EMPTY_KEYGUARD
&& mStatusBar.getBarState() == StatusBarState.KEYGUARD) {
Log.i(PhoneStatusBar.TAG, "Panel collapsed! Stacktrace: "
+ Log.getStackTraceString(new Throwable()));
}
} }
animator.addListener(new AnimatorListenerAdapter() { animator.addListener(new AnimatorListenerAdapter() {
private boolean mCancelled; private boolean mCancelled;