Loading packages/SystemUI/src/com/android/systemui/statusbar/RemoteInputController.java +2 −1 Original line number Diff line number Diff line Loading @@ -316,7 +316,8 @@ public class RemoteInputController { Object itemToken = mOpen.get(i).second; boolean removeTokenMatches = (removeToken == null || itemToken == removeToken); if (item == null || (item.isSameEntryAs(remove) && removeTokenMatches)) { if (item == null || (remove != null && item.isSameEntryAs(remove) && removeTokenMatches)) { mOpen.remove(i); } else if (item.isSameEntryAs(contains)) { if (removeToken != null && removeToken != itemToken) { Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/RemoteInputController.java +2 −1 Original line number Diff line number Diff line Loading @@ -316,7 +316,8 @@ public class RemoteInputController { Object itemToken = mOpen.get(i).second; boolean removeTokenMatches = (removeToken == null || itemToken == removeToken); if (item == null || (item.isSameEntryAs(remove) && removeTokenMatches)) { if (item == null || (remove != null && item.isSameEntryAs(remove) && removeTokenMatches)) { mOpen.remove(i); } else if (item.isSameEntryAs(contains)) { if (removeToken != null && removeToken != itemToken) { Loading