Loading core/java/android/app/Notification.java +4 −11 Original line number Diff line number Diff line Loading @@ -3589,11 +3589,6 @@ public class Notification implements Parcelable private int mSecondaryTextColor = COLOR_INVALID; private int mBackgroundColor = COLOR_INVALID; private int mForegroundColor = COLOR_INVALID; /** * A temporary location where actions are stored. If != null the view originally has action * but doesn't have any for this inflation. */ private ArrayList<Action> mOriginalActions; private boolean mRebuildStyledRemoteViews; private boolean mTintActionButtons; Loading Loading @@ -7407,11 +7402,10 @@ public class Notification implements Parcelable @Override public RemoteViews makeContentView(boolean increasedHeight) { if (increasedHeight) { mBuilder.mOriginalActions = mBuilder.mActions; ArrayList<Action> originalActions = mBuilder.mActions; mBuilder.mActions = new ArrayList<>(); RemoteViews remoteViews = makeBigContentView(); mBuilder.mActions = mBuilder.mOriginalActions; mBuilder.mOriginalActions = null; mBuilder.mActions = originalActions; return remoteViews; } return super.makeContentView(increasedHeight); Loading Loading @@ -7906,12 +7900,11 @@ public class Notification implements Parcelable */ @Override public RemoteViews makeContentView(boolean increasedHeight) { mBuilder.mOriginalActions = mBuilder.mActions; ArrayList<Action> originalActions = mBuilder.mActions; mBuilder.mActions = new ArrayList<>(); RemoteViews remoteViews = makeMessagingView(true /* isCollapsed */, false /* hideLargeIcon */); mBuilder.mActions = mBuilder.mOriginalActions; mBuilder.mOriginalActions = null; mBuilder.mActions = originalActions; return remoteViews; } Loading Loading
core/java/android/app/Notification.java +4 −11 Original line number Diff line number Diff line Loading @@ -3589,11 +3589,6 @@ public class Notification implements Parcelable private int mSecondaryTextColor = COLOR_INVALID; private int mBackgroundColor = COLOR_INVALID; private int mForegroundColor = COLOR_INVALID; /** * A temporary location where actions are stored. If != null the view originally has action * but doesn't have any for this inflation. */ private ArrayList<Action> mOriginalActions; private boolean mRebuildStyledRemoteViews; private boolean mTintActionButtons; Loading Loading @@ -7407,11 +7402,10 @@ public class Notification implements Parcelable @Override public RemoteViews makeContentView(boolean increasedHeight) { if (increasedHeight) { mBuilder.mOriginalActions = mBuilder.mActions; ArrayList<Action> originalActions = mBuilder.mActions; mBuilder.mActions = new ArrayList<>(); RemoteViews remoteViews = makeBigContentView(); mBuilder.mActions = mBuilder.mOriginalActions; mBuilder.mOriginalActions = null; mBuilder.mActions = originalActions; return remoteViews; } return super.makeContentView(increasedHeight); Loading Loading @@ -7906,12 +7900,11 @@ public class Notification implements Parcelable */ @Override public RemoteViews makeContentView(boolean increasedHeight) { mBuilder.mOriginalActions = mBuilder.mActions; ArrayList<Action> originalActions = mBuilder.mActions; mBuilder.mActions = new ArrayList<>(); RemoteViews remoteViews = makeMessagingView(true /* isCollapsed */, false /* hideLargeIcon */); mBuilder.mActions = mBuilder.mOriginalActions; mBuilder.mOriginalActions = null; mBuilder.mActions = originalActions; return remoteViews; } Loading