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

Commit e06749e1 authored by Conley Owens's avatar Conley Owens Committed by Android Code Review
Browse files

Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

parents 4fea5373 fad5445c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ public class GpsNetInitiatedHandler {
            mNiNotification.defaults &= ~Notification.DEFAULT_SOUND;
        }        

        mNiNotification.flags = Notification.FLAG_ONGOING_EVENT;
        mNiNotification.flags = Notification.FLAG_ONGOING_EVENT | Notification.FLAG_AUTO_CANCEL;
        mNiNotification.tickerText = getNotifTicker(notif, mContext);

        // if not to popup dialog immediately, pending intent will open the dialog