Loading packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java +7 −1 Original line number Diff line number Diff line Loading @@ -458,9 +458,12 @@ public class HeadsUpManager implements ViewTreeObserver.OnComputeInternalInsetsL mReleaseOnExpandFinish = false; } else { for (NotificationData.Entry entry : mEntriesToRemoveAfterExpand) { if (isHeadsUp(entry.key)) { // Maybe the heads-up was removed already removeHeadsUpEntry(entry); } } } mEntriesToRemoveAfterExpand.clear(); } Loading Loading @@ -596,6 +599,9 @@ public class HeadsUpManager implements ViewTreeObserver.OnComputeInternalInsetsL postTime = Math.max(postTime, currentTime); } removeAutoRemovalCallbacks(); if (mEntriesToRemoveAfterExpand.contains(entry)) { mEntriesToRemoveAfterExpand.remove(entry); } if (!hasFullScreenIntent(entry) && !mRemoteInputActive) { long finishTime = postTime + mHeadsUpNotificationDecay; long removeDelay = Math.max(finishTime - currentTime, mMinimumDisplayTime); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/policy/HeadsUpManager.java +7 −1 Original line number Diff line number Diff line Loading @@ -458,9 +458,12 @@ public class HeadsUpManager implements ViewTreeObserver.OnComputeInternalInsetsL mReleaseOnExpandFinish = false; } else { for (NotificationData.Entry entry : mEntriesToRemoveAfterExpand) { if (isHeadsUp(entry.key)) { // Maybe the heads-up was removed already removeHeadsUpEntry(entry); } } } mEntriesToRemoveAfterExpand.clear(); } Loading Loading @@ -596,6 +599,9 @@ public class HeadsUpManager implements ViewTreeObserver.OnComputeInternalInsetsL postTime = Math.max(postTime, currentTime); } removeAutoRemovalCallbacks(); if (mEntriesToRemoveAfterExpand.contains(entry)) { mEntriesToRemoveAfterExpand.remove(entry); } if (!hasFullScreenIntent(entry) && !mRemoteInputActive) { long finishTime = postTime + mHeadsUpNotificationDecay; long removeDelay = Math.max(finishTime - currentTime, mMinimumDisplayTime); Loading