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

Commit ac37a2a1 authored by Felipe Leme's avatar Felipe Leme Committed by Android (Google) Code Review
Browse files

Merge "Revert "Temporary NPE mitigation.""

parents 44359490 9520c464
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -1379,14 +1379,11 @@ 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) {