Bug 1170884 - Call super from sub-class. r?nalexander
authorMichael Comella <michael.l.comella@gmail.com>
Tue, 02 Jun 2015 18:19:23 -0700
changeset 247069 6657b144de7c648e7023078fbbbf7105b0da0985
parent 247068 6f9c8836751721ba65c42aeef6293604b0dd62f3
child 247070 37f093517fc024487a3d9f67346db4cf15356ad8
push id13343
push usermichael.l.comella@gmail.com
push dateThu, 04 Jun 2015 04:35:03 +0000
treeherderfx-team@37f093517fc0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1170884
milestone41.0a1
Bug 1170884 - Call super from sub-class. r?nalexander
mobile/android/base/toolbar/ToolbarDisplayLayout.java
--- a/mobile/android/base/toolbar/ToolbarDisplayLayout.java
+++ b/mobile/android/base/toolbar/ToolbarDisplayLayout.java
@@ -224,16 +224,17 @@ public class ToolbarDisplayLayout extend
         final int lockAnimDuration = 300;
         mLockFadeIn.setDuration(lockAnimDuration);
         mTitleSlideLeft.setDuration(lockAnimDuration);
         mTitleSlideRight.setDuration(lockAnimDuration);
     }
 
     @Override
     public void onDetachedFromWindow() {
+        super.onDetachedFromWindow();
         mIsAttached = false;
     }
 
     @Override
     public void onAnimationStart(Animation animation) {
         if (animation.equals(mLockFadeIn)) {
             if (mSiteSecurityVisible)
                 mSiteSecurity.setVisibility(View.VISIBLE);