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

Commit a34e9803 authored by Martin Brabham's avatar Martin Brabham Committed by Martin Brabham
Browse files

Prevent possible OOBE when ran under monkey test

Change-Id: I8ec74d9379ba68ad099d89ec7cd16f65e414a213
(cherry picked from commit da3e50d1)
(cherry picked from commit ad69adc2)
parent 8b8e7571
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);