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

Commit f0a3a86f authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

Fix LockscreenOtpRedaction flag usage in cancelContentViewFrees

Flag: android.app.redact_sensitive_content_notifications_on_lockscreen
Bug: 352020702
Change-Id: Ib07a75eb0bc87871413531184336d15fdfe8777c
Test: atest NotificationRowContentBinderImplTest
parent 6f289bec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -360,11 +360,11 @@ public class NotificationContentInflater implements NotificationRowContentBinder
        if ((contentViews & FLAG_CONTENT_VIEW_PUBLIC) != 0) {
            row.getPublicLayout().removeContentInactiveRunnable(VISIBLE_TYPE_CONTRACTED);
        }
        if (AsyncHybridViewInflation.isEnabled()
        if (LockscreenOtpRedaction.isEnabled()
                && (contentViews & FLAG_CONTENT_VIEW_PUBLIC_SINGLE_LINE) != 0) {
            row.getPublicLayout().removeContentInactiveRunnable(VISIBLE_TYPE_SINGLELINE);
        }
        if (LockscreenOtpRedaction.isEnabled()
        if (AsyncHybridViewInflation.isEnabled()
                && (contentViews & FLAG_CONTENT_VIEW_SINGLE_LINE) != 0) {
            row.getPrivateLayout().removeContentInactiveRunnable(VISIBLE_TYPE_SINGLELINE);
        }