Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 281d83f6 authored by Joe Onorato's avatar Joe Onorato
Browse files

Notification.Builder.setAutoCancel() was setting the wrong flag.

Bug: 3306725
Change-Id: I84908fd3ac2cf9a4ce164179620c33df907d018f
parent ec51a82b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -752,7 +752,7 @@ public class Notification implements Parcelable
        }

        public Builder setAutoCancel(boolean autoCancel) {
            setFlag(FLAG_ONLY_ALERT_ONCE, autoCancel);
            setFlag(FLAG_AUTO_CANCEL, autoCancel);
            return this;
        }