calintat / explorer

Android file manager
Apache License 2.0
78 stars 41 forks source link

ArrayIndexOutOfBounds when rotation screen #1

Closed kyle-ilantzis closed 8 years ago

kyle-ilantzis commented 8 years ago

Marshmallow 6.0.1

App boots and asks for permission.

Rotate device.

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kyleilantzis.explorer/com.calintat.explorer.activities.MainActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0

Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 at com.calintat.explorer.activities.MainActivity.onRequestPermissionsResult(MainActivity.java:139)

calintat commented 8 years ago

This should have been fixed in the latest update (1.0.2).