am a0f5c76f: Added more logging to debug the empty keyguard

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

View File

@@ -172,12 +172,7 @@ public abstract class PanelView extends FrameLayout {
public void onAnimationEnd(Animator animation) {
mPeekAnimator = null;
if (mCollapseAfterPeek && !mCancelled) {
postOnAnimation(new Runnable() {
@Override
public void run() {
collapse(false /* delayed */, 1.0f /* speedUpFactor */);
}
});
postOnAnimation(mPostCollapseRunnable);
}
mCollapseAfterPeek = false;
}
@@ -663,6 +658,11 @@ public abstract class PanelView extends FrameLayout {
(animator.getDuration() * getCannedFlingDurationFactor()
/ 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() {
private boolean mCancelled;