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

Commit 0e06994b authored by Selim Cinek's avatar Selim Cinek
Browse files

Fixes an issue where the ambient layout could be null

Change-Id: I0dd190b2349445fbaafe4a5b612619e2dd002539
Fixes: 123247127
parent 95b6e959
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -5257,7 +5257,11 @@ public class Notification implements Parcelable
         * @hide
         */
        public RemoteViews makeAmbientNotification() {
            return createHeadsUpContentView(false /* increasedHeight */);
            RemoteViews headsUpContentView = createHeadsUpContentView(false /* increasedHeight */);
            if (headsUpContentView != null) {
                return headsUpContentView;
            }
            return createContentView();
        }

        private void hideLine1Text(RemoteViews result) {