Use scripts to setup sudb

This commit is contained in:
topjohnwu
2018-02-18 12:41:58 +08:00
parent c840a30c30
commit 74379150a1
6 changed files with 38 additions and 38 deletions
@@ -50,8 +50,7 @@ public class Utils {
}
public static void uninstallPkg(String pkg) {
SuDatabaseHelper.cleanup();
Shell.Sync.su("pm uninstall " + pkg);
Shell.Sync.su("sudb_clean " + Const.USER_ID, "pm uninstall " + pkg);
}
public static void dlAndReceive(Context context, DownloadReceiver receiver, String link, String filename) {