mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-14 11:37:36 +00:00
Sort Policies before returning
This commit is contained in:
@@ -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 {
|
|||||||
deletePolicy(values.getAsInteger("uid"));
|
deletePolicy(values.getAsInteger("uid"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Collections.sort(list);
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user