Sort Policies before returning

This commit is contained in:
topjohnwu 2018-10-28 03:00:49 -04:00
parent bfbd254be7
commit 5fc7079023

View File

@ -14,6 +14,7 @@ import com.topjohnwu.superuser.Shell;
import java.text.DateFormat;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Map;
@ -116,6 +117,7 @@ public class MagiskDBCmdline extends MagiskDB {
deletePolicy(values.getAsInteger("uid"));
}
}
Collections.sort(list);
return list;
}