Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java +0 −2 Original line number Diff line number Diff line Loading @@ -431,7 +431,6 @@ public class NotificationEntryManager implements } Dependency.get(LeakDetector.class).trackInstance(entry); entry.createIcons(mContext, sbn); // Construct the expanded view. getRowBinder().inflateViews(entry, () -> performRemoveNotification(sbn), mNotificationData.get(entry.key) != null); Loading Loading @@ -508,7 +507,6 @@ public class NotificationEntryManager implements mNotificationData.update(entry, ranking, notification); entry.updateIcons(mContext, notification); getRowBinder().inflateViews(entry, () -> performRemoveNotification(notification), mNotificationData.get(entry.key) != null); Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationRowBinder.java +7 −2 Original line number Diff line number Diff line Loading @@ -125,17 +125,22 @@ public class NotificationRowBinder { /** * Inflates the views for the given entry (possibly asynchronously). */ public void inflateViews(NotificationData.Entry entry, Runnable onDismissRunnable, boolean isUpdate) { public void inflateViews( NotificationData.Entry entry, Runnable onDismissRunnable, boolean isUpdate) throws InflationException { ViewGroup parent = mListContainer.getViewParentForNotification(entry); PackageManager pmUser = StatusBar.getPackageManagerForUser(mContext, entry.notification.getUser().getIdentifier()); final StatusBarNotification sbn = entry.notification; if (entry.rowExists()) { entry.updateIcons(mContext, sbn); entry.reset(); updateNotification(entry, pmUser, sbn, entry.getRow(), isUpdate); } else { entry.createIcons(mContext, sbn); new RowInflaterTask().inflate(mContext, parent, entry, row -> { bindRow(entry, pmUser, sbn, row, onDismissRunnable); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationEntryManager.java +0 −2 Original line number Diff line number Diff line Loading @@ -431,7 +431,6 @@ public class NotificationEntryManager implements } Dependency.get(LeakDetector.class).trackInstance(entry); entry.createIcons(mContext, sbn); // Construct the expanded view. getRowBinder().inflateViews(entry, () -> performRemoveNotification(sbn), mNotificationData.get(entry.key) != null); Loading Loading @@ -508,7 +507,6 @@ public class NotificationEntryManager implements mNotificationData.update(entry, ranking, notification); entry.updateIcons(mContext, notification); getRowBinder().inflateViews(entry, () -> performRemoveNotification(notification), mNotificationData.get(entry.key) != null); Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/NotificationRowBinder.java +7 −2 Original line number Diff line number Diff line Loading @@ -125,17 +125,22 @@ public class NotificationRowBinder { /** * Inflates the views for the given entry (possibly asynchronously). */ public void inflateViews(NotificationData.Entry entry, Runnable onDismissRunnable, boolean isUpdate) { public void inflateViews( NotificationData.Entry entry, Runnable onDismissRunnable, boolean isUpdate) throws InflationException { ViewGroup parent = mListContainer.getViewParentForNotification(entry); PackageManager pmUser = StatusBar.getPackageManagerForUser(mContext, entry.notification.getUser().getIdentifier()); final StatusBarNotification sbn = entry.notification; if (entry.rowExists()) { entry.updateIcons(mContext, sbn); entry.reset(); updateNotification(entry, pmUser, sbn, entry.getRow(), isUpdate); } else { entry.createIcons(mContext, sbn); new RowInflaterTask().inflate(mContext, parent, entry, row -> { bindRow(entry, pmUser, sbn, row, onDismissRunnable); Loading