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

Commit 9520c464 authored by Felipe Leme's avatar Felipe Leme
Browse files

Revert "Temporary NPE mitigation."

This reverts commit b1b99c28.

Test: atest com.android.server.pm.CrossProfileAppsServiceImplTest#startActivityAsUser_profile_notExported
Fixes: 223905476
Change-Id: Ic97b81257bdada9f42f0a9f209fb3d14190f61fb
parent 6af7e357
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) {