Commit 5fc70790 authored by topjohnwu's avatar topjohnwu

Sort Policies before returning

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