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

Commit 2fb30a92 authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Quick fix for NPE in updateNotification().

When the "ongoing"/"latest" split is removed, this will be
replaced with something less odious.

Bug: 5090331
Change-Id: Ib804de66985ff5f5df2e1df3c85437a1e31f1c49
parent f3f20112
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -664,9 +664,11 @@ public class PhoneStatusBar extends StatusBar {
                if (notification.notification.largeIcon != null) {
                    oldEntry.largeIcon.setImageBitmap(notification.notification.largeIcon);
                } else {
                    if (oldEntry.largeIcon != null) {
                        oldEntry.largeIcon.getLayoutParams().width = 0;
                        oldEntry.largeIcon.setVisibility(View.INVISIBLE);
                    }
                }

            }
            catch (RuntimeException e) {