Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java +12 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,6 @@ public class NotificationGuts extends LinearLayout implements TunerService.Tunab public NotificationGuts(Context context, AttributeSet attrs) { super(context, attrs); setWillNotDraw(false); TunerService.get(mContext).addTunable(this, SHOW_SLIDER); mHandler = new Handler(); mFalsingCheck = new Runnable() { @Override Loading @@ -110,6 +109,18 @@ public class NotificationGuts extends LinearLayout implements TunerService.Tunab ta.recycle(); } @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); TunerService.get(mContext).addTunable(this, SHOW_SLIDER); } @Override protected void onDetachedFromWindow() { TunerService.get(mContext).removeTunable(this); super.onDetachedFromWindow(); } public void resetFalsingCheck() { mHandler.removeCallbacks(mFalsingCheck); if (mNeedsFalsingProtection && mExposed) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java +12 −1 Original line number Diff line number Diff line Loading @@ -93,7 +93,6 @@ public class NotificationGuts extends LinearLayout implements TunerService.Tunab public NotificationGuts(Context context, AttributeSet attrs) { super(context, attrs); setWillNotDraw(false); TunerService.get(mContext).addTunable(this, SHOW_SLIDER); mHandler = new Handler(); mFalsingCheck = new Runnable() { @Override Loading @@ -110,6 +109,18 @@ public class NotificationGuts extends LinearLayout implements TunerService.Tunab ta.recycle(); } @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); TunerService.get(mContext).addTunable(this, SHOW_SLIDER); } @Override protected void onDetachedFromWindow() { TunerService.get(mContext).removeTunable(this); super.onDetachedFromWindow(); } public void resetFalsingCheck() { mHandler.removeCallbacks(mFalsingCheck); if (mNeedsFalsingProtection && mExposed) { Loading