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

Commit 7b4d885c authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Fix wrong Notification refactor

We're wrongly showing the BigText content after ag/5928752

Fixes: 141446552
Test: post big text notification, look at lock screen
Change-Id: I02506a160afefb457f86eb00adccdaff44ddbd29
parent 5061c99b
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -10508,12 +10508,7 @@ public class Notification implements Parcelable
        final StandardTemplateParams fillTextsFrom(Builder b) {
            Bundle extras = b.mN.extras;
            this.title = b.processLegacyText(extras.getCharSequence(EXTRA_TITLE));

            CharSequence text = extras.getCharSequence(EXTRA_BIG_TEXT);
            if (TextUtils.isEmpty(text)) {
                text = extras.getCharSequence(EXTRA_TEXT);
            }
            this.text = b.processLegacyText(text);
            this.text = b.processLegacyText(extras.getCharSequence(EXTRA_TEXT));
            this.summaryText = extras.getCharSequence(EXTRA_SUB_TEXT);
            return this;
        }