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

Commit 90deb1cf authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes an issue where the ambient layout could be null"

parents 4125342c 0e06994b
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) {