Allow flags to be set on BubbleInfo

Test: manual
Bug: 269670235
Change-Id: I2c1b564de94ad0a641c8c9fe55159eaaad8bf391
This commit is contained in:
Mady Mellor
2023-07-10 14:27:28 -07:00
parent ff651d3a02
commit 5a61a8f927

View File

@@ -129,6 +129,11 @@ public class BubbleInfo implements Parcelable {
return (mFlags & Notification.BubbleMetadata.FLAG_SUPPRESS_NOTIFICATION) != 0;
}
/** Sets the flags for this bubble. */
public void setFlags(int flags) {
mFlags = flags;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;