Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationData.java +26 −0 Original line number Diff line number Diff line Loading @@ -142,6 +142,16 @@ public class NotificationData { */ private boolean hasSentReply; /** * Whether this notification should be displayed as a bubble. */ private boolean mIsBubble; /** * Whether the user has dismissed this notification when it was in bubble form. */ private boolean mUserDismissedBubble; public Entry(StatusBarNotification n) { this(n, null); } Loading Loading @@ -176,6 +186,22 @@ public class NotificationData { return interruption; } public void setIsBubble(boolean bubbleable) { mIsBubble = bubbleable; } public boolean isBubble() { return mIsBubble; } public void setBubbleDismissed(boolean userDismissed) { mUserDismissedBubble = userDismissed; } public boolean isBubbleDismissed() { return mUserDismissedBubble; } /** * Resets the notification entry to be re-used. */ Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationData.java +26 −0 Original line number Diff line number Diff line Loading @@ -142,6 +142,16 @@ public class NotificationData { */ private boolean hasSentReply; /** * Whether this notification should be displayed as a bubble. */ private boolean mIsBubble; /** * Whether the user has dismissed this notification when it was in bubble form. */ private boolean mUserDismissedBubble; public Entry(StatusBarNotification n) { this(n, null); } Loading Loading @@ -176,6 +186,22 @@ public class NotificationData { return interruption; } public void setIsBubble(boolean bubbleable) { mIsBubble = bubbleable; } public boolean isBubble() { return mIsBubble; } public void setBubbleDismissed(boolean userDismissed) { mUserDismissedBubble = userDismissed; } public boolean isBubbleDismissed() { return mUserDismissedBubble; } /** * Resets the notification entry to be re-used. */ Loading