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

Commit ecbd68b0 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Resolve USER_ALL when inflating notification views.

Fixes the OTA icon display when the OTA is to be shown to all users.

Bug: 7462511
Change-Id: I185d9d5340d866d0a4b0ae273a361e8db160e33b
parent 37238e5a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -896,6 +896,9 @@ public class Notification implements Parcelable

    /** {@hide} */
    public void setUser(UserHandle user) {
        if (user.getIdentifier() == UserHandle.USER_ALL) {
            user = UserHandle.OWNER;
        }
        if (tickerView != null) {
            tickerView.setUser(user);
        }