Loading packages/SystemUI/src/com/android/systemui/statusbar/RemoteInputController.java +6 −3 Original line number Diff line number Diff line Loading @@ -114,15 +114,18 @@ public class RemoteInputController { public void addRemoteInput(NotificationEntry entry, Object token) { Objects.requireNonNull(entry); Objects.requireNonNull(token); boolean isActive = isRemoteInputActive(entry); boolean found = pruneWeakThenRemoveAndContains( entry /* contains */, null /* remove */, token /* removeToken */); if (!found) { mOpen.add(new Pair<>(new WeakReference<>(entry), token)); } // If the remote input focus is being transferred between different notification layouts // (ex: Expanded->Contracted), then we don't want to re-apply. if (!isActive) { apply(entry); } } /** * Removes a currently active remote input. Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/RemoteInputController.java +6 −3 Original line number Diff line number Diff line Loading @@ -114,15 +114,18 @@ public class RemoteInputController { public void addRemoteInput(NotificationEntry entry, Object token) { Objects.requireNonNull(entry); Objects.requireNonNull(token); boolean isActive = isRemoteInputActive(entry); boolean found = pruneWeakThenRemoveAndContains( entry /* contains */, null /* remove */, token /* removeToken */); if (!found) { mOpen.add(new Pair<>(new WeakReference<>(entry), token)); } // If the remote input focus is being transferred between different notification layouts // (ex: Expanded->Contracted), then we don't want to re-apply. if (!isActive) { apply(entry); } } /** * Removes a currently active remote input. Loading