Kaydet (Commit) 506432f5 authored tarafından Caolán McNamara's avatar Caolán McNamara

android: don't crash on empty filelist

Change-Id: I46caceed3fdf0ad0aa51c8a8ede1177ca3d1855e
üst 1b9956c2
......@@ -200,6 +200,8 @@ public class FileUtilities {
}
static void sortFiles(List<IFile> files, int sortMode) {
if (files == null)
return;
switch (sortMode) {
case SORT_AZ:
Collections.sort(files , new Comparator<IFile>() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment