Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java +4 −0 Original line number Diff line number Diff line Loading @@ -329,4 +329,8 @@ public class NotificationGuts extends FrameLayout { public boolean isExposed() { return mExposed; } public boolean isLeavebehind() { return mGutsContent != null && mGutsContent.isLeavebehind(); } } packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +2 −1 Original line number Diff line number Diff line Loading @@ -1790,7 +1790,8 @@ public class StatusBar extends SystemUI implements DemoMode, return; } if (entry != null && mNotificationGutsExposed != null && mNotificationGutsExposed == entry.row.getGuts()) { && mNotificationGutsExposed == entry.row.getGuts() && entry.row.getGuts() != null && !entry.row.getGuts().isLeavebehind()) { Log.w(TAG, "Keeping notification because it's showing guts. " + key); mLatestRankingMap = ranking; mKeyToRemoveOnGutsClosed = key; Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationGuts.java +4 −0 Original line number Diff line number Diff line Loading @@ -329,4 +329,8 @@ public class NotificationGuts extends FrameLayout { public boolean isExposed() { return mExposed; } public boolean isLeavebehind() { return mGutsContent != null && mGutsContent.isLeavebehind(); } }
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +2 −1 Original line number Diff line number Diff line Loading @@ -1790,7 +1790,8 @@ public class StatusBar extends SystemUI implements DemoMode, return; } if (entry != null && mNotificationGutsExposed != null && mNotificationGutsExposed == entry.row.getGuts()) { && mNotificationGutsExposed == entry.row.getGuts() && entry.row.getGuts() != null && !entry.row.getGuts().isLeavebehind()) { Log.w(TAG, "Keeping notification because it's showing guts. " + key); mLatestRankingMap = ranking; mKeyToRemoveOnGutsClosed = key; Loading