Loading packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java +4 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,10 @@ public class NotificationData { return row.getPublicLayout().getContractedChild(); } public View getAmbientContentView() { return row.getPrivateLayout().getAmbientChild(); } public boolean cacheContentViews(Context ctx, Notification updatedNotification, boolean isLowPriority) { boolean applyInPlace = false; Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +5 −0 Original line number Diff line number Diff line Loading @@ -7048,6 +7048,7 @@ public class StatusBar extends SystemUI implements DemoMode, final RemoteViews bigContentView = entry.cachedBigContentView; final RemoteViews headsUpContentView = entry.cachedHeadsUpContentView; final RemoteViews publicContentView = entry.cachedPublicContentView; final RemoteViews ambientContentView = entry.cachedAmbientContentView; // Reapply the RemoteViews contentView.reapply(mContext, entry.getContentView(), mOnClickHandler); Loading @@ -7065,6 +7066,10 @@ public class StatusBar extends SystemUI implements DemoMode, publicContentView.reapply(sbn.getPackageContext(mContext), entry.getPublicContentView(), mOnClickHandler); } if (ambientContentView != null && entry.getAmbientContentView() != null) { ambientContentView.reapply(sbn.getPackageContext(mContext), entry.getAmbientContentView(), mOnClickHandler); } // update the contentIntent mNotificationClicker.register(entry.row, sbn); Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java +4 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,10 @@ public class NotificationData { return row.getPublicLayout().getContractedChild(); } public View getAmbientContentView() { return row.getPrivateLayout().getAmbientChild(); } public boolean cacheContentViews(Context ctx, Notification updatedNotification, boolean isLowPriority) { boolean applyInPlace = false; Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBar.java +5 −0 Original line number Diff line number Diff line Loading @@ -7048,6 +7048,7 @@ public class StatusBar extends SystemUI implements DemoMode, final RemoteViews bigContentView = entry.cachedBigContentView; final RemoteViews headsUpContentView = entry.cachedHeadsUpContentView; final RemoteViews publicContentView = entry.cachedPublicContentView; final RemoteViews ambientContentView = entry.cachedAmbientContentView; // Reapply the RemoteViews contentView.reapply(mContext, entry.getContentView(), mOnClickHandler); Loading @@ -7065,6 +7066,10 @@ public class StatusBar extends SystemUI implements DemoMode, publicContentView.reapply(sbn.getPackageContext(mContext), entry.getPublicContentView(), mOnClickHandler); } if (ambientContentView != null && entry.getAmbientContentView() != null) { ambientContentView.reapply(sbn.getPackageContext(mContext), entry.getAmbientContentView(), mOnClickHandler); } // update the contentIntent mNotificationClicker.register(entry.row, sbn); Loading