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

Commit ba6f28cb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Temporary NPE mitigation." into tm-dev am: 08009d5e am: f7a66523

parents faf279e3 f7a66523
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -1421,11 +1421,14 @@ public final class InputManager {
            }

            mInputDevices = new SparseArray<InputDevice>();
            // TODO(b/223905476): remove when the rootcause is fixed.
            if (ids != null) {
                for (int i = 0; i < ids.length; i++) {
                    mInputDevices.put(ids[i], null);
                }
            }
        }
    }

    private void onInputDevicesChanged(int[] deviceIdAndGeneration) {
        if (DEBUG) {