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

Commit 637e776b authored by Jose Lima's avatar Jose Lima Committed by Android Git Automerger
Browse files

am 8783d3fe: Make all icon fields & extras sent to listeners backward-compatible.

* commit '8783d3fe':
  Make all icon fields & extras sent to listeners backward-compatible.
parents d1019cdf 8783d3fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -468,6 +468,8 @@ public abstract class NotificationListenerService extends Service {
            for (int i = 0; i < N; i++) {
                Notification notification = list.get(i).getNotification();
                Builder.rebuild(getContext(), notification);
                // convert icon metadata to legacy format for older clients
                createLegacyIconExtras(notification);
            }
            return list.toArray(new StatusBarNotification[N]);
        } catch (android.os.RemoteException ex) {