mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 02:37:38 +00:00
Fix bug in SuDatabaseHelper
This commit is contained in:
parent
c2c151ec4c
commit
4a5227c7bf
@ -131,8 +131,8 @@ public class SuDatabaseHelper extends SQLiteOpenHelper {
|
|||||||
} catch(Exception e) {
|
} catch(Exception e) {
|
||||||
// Try to catch runtime exceptions and remove all db for retry
|
// Try to catch runtime exceptions and remove all db for retry
|
||||||
unmntDB();
|
unmntDB();
|
||||||
Shell.su(Utils.fmt("rm -rf /data/user*/*/magisk.db /data/adb/magisk.db /data/user*/*/%s/databases"),
|
Shell.su(Utils.fmt("rm -rf /data/user*/*/magisk.db /data/adb/magisk.db /data/user*/*/%s/databases",
|
||||||
MagiskManager.get().getPackageName());
|
MagiskManager.get().getPackageName()));
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
return new SuDatabaseHelper(initDB(false));
|
return new SuDatabaseHelper(initDB(false));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user