Fix possible ArrayIndexOutOfBoundsException
Seeing ArrayIndexOutOfBoundsException while adding an input device with vibrator. The index used to iterate vibrator ids increased before being used to get the id from an sparsed array, so it is causing out of bounds exception. Bug: 253079798 Test: m; InputDeviceVibratorManagerTest Change-Id: I019790f74184058020194ae42a35d8ed972ceaa7
Loading
Please register or sign in to comment