Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8603d380 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Convert overlapping input consumer exception to warning" into main

parents 151c9bf9 d5f9669e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -222,7 +222,8 @@ final class InputMonitor {
            UserHandle clientUser) {
        final InputConsumerImpl existingConsumer = getInputConsumer(name);
        if (existingConsumer != null && existingConsumer.mClientUser.equals(clientUser)) {
            throw new IllegalStateException("Existing input consumer found with name: " + name
            destroyInputConsumer(existingConsumer.mToken);
            Slog.w(TAG_WM, "Replacing existing input consumer found with name: " + name
                    + ", display: " + mDisplayId + ", user: " + clientUser);
        }