Remove unused autoredacted member from NotifEntry

It was set but never read.

Test: atest

Change-Id: Ia8ca7fd6b58c7065ec5cf012f385706c76cd06f6
This commit is contained in:
Ned Burns
2019-10-18 13:17:24 -04:00
parent 626447294a
commit 2aa7e34b94
2 changed files with 0 additions and 2 deletions

View File

@@ -115,7 +115,6 @@ public final class NotificationEntry {
public StatusBarIconView centeredIcon;
public StatusBarIconView aodIcon;
private boolean interruption;
public boolean autoRedacted; // whether the redacted notification was generated by us
public int targetSdk;
private long lastFullScreenIntentLaunchTime = NOT_LAUNCHED_YET;
public CharSequence remoteInputText;

View File

@@ -248,7 +248,6 @@ public class NotificationRowBinderImpl implements NotificationRowBinder {
// TODO: should updates to the entry be happening somewhere else?
entry.setIconTag(R.id.icon_is_pre_L, entry.targetSdk < Build.VERSION_CODES.LOLLIPOP);
entry.autoRedacted = entry.getSbn().getNotification().publicVersion == null;
entry.setRow(row);
row.setOnActivatedListener(mPresenter);