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

Commit bd176f36 authored by Daniel Sandler's avatar Daniel Sandler Committed by Android (Google) Code Review
Browse files

Merge "Quick fix for NPE in updateNotification()."

parents bb96bf6e 2fb30a92
Loading
Loading
Loading
Loading
+4 −2
Original line number Original line Diff line number Diff line
@@ -664,9 +664,11 @@ public class PhoneStatusBar extends StatusBar {
                if (notification.notification.largeIcon != null) {
                if (notification.notification.largeIcon != null) {
                    oldEntry.largeIcon.setImageBitmap(notification.notification.largeIcon);
                    oldEntry.largeIcon.setImageBitmap(notification.notification.largeIcon);
                } else {
                } else {
                    if (oldEntry.largeIcon != null) {
                        oldEntry.largeIcon.getLayoutParams().width = 0;
                        oldEntry.largeIcon.getLayoutParams().width = 0;
                        oldEntry.largeIcon.setVisibility(View.INVISIBLE);
                        oldEntry.largeIcon.setVisibility(View.INVISIBLE);
                    }
                    }
                }


            }
            }
            catch (RuntimeException e) {
            catch (RuntimeException e) {