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

Commit e98ca6a3 authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Use the entry we already have instead of looking at the row

Test: NotificationRowContentBinderImpl
Test: manual - post notifs with flag on/off
Bug: 395857098
Flag: com.android.systemui.notification_bundle_ui
Change-Id: I0034e3b7cfeb97ad6552abe76ccf32aaf36cc935
parent 064262d3
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1293,6 +1293,7 @@ constructor(
                        runningInflations,
                        e,
                        row,
                        entry,
                        callback,
                        logger,
                        "applying view synchronously",
@@ -1318,6 +1319,7 @@ constructor(
                                runningInflations,
                                InflationException(invalidReason),
                                row,
                                entry,
                                callback,
                                logger,
                                "applied invalid view",
@@ -1377,6 +1379,7 @@ constructor(
                                runningInflations,
                                e,
                                row,
                                entry,
                                callback,
                                logger,
                                "applying view",
@@ -1480,6 +1483,7 @@ constructor(
            runningInflations: HashMap<Int, CancellationSignal>,
            e: Exception,
            notification: ExpandableNotificationRow?,
            entry: NotificationEntry,
            callback: InflationCallback?,
            logger: NotificationRowContentBinderLogger,
            logContext: String,
@@ -1487,7 +1491,7 @@ constructor(
            Assert.isMainThread()
            logger.logAsyncTaskException(notification?.loggingKey, logContext, e)
            runningInflations.values.forEach(Consumer { obj: CancellationSignal -> obj.cancel() })
            callback?.handleInflationException(notification?.entry, e)
            callback?.handleInflationException(entry, e)
        }

        /**