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

Commit da3e50d1 authored by Martin Brabham's avatar Martin Brabham
Browse files

Prevent possible OOBE when ran under monkey test

Change-Id: I8ec74d9379ba68ad099d89ec7cd16f65e414a213
parent 439c98b1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -511,6 +511,10 @@ public class FileSystemObjectAdapter
        //Select or deselect the item
        int pos = ((Integer)v.getTag()).intValue();

        if (pos >= getCount() || pos < 0) {
            return;
        }

        //Retrieve data holder
        final FileSystemObject fso = getItem(pos);