Try to flush database before uninstalling

This commit is contained in:
topjohnwu
2018-10-20 15:31:41 -04:00
parent e7e580e177
commit 6557070ae1
2 changed files with 10 additions and 0 deletions
@@ -111,6 +111,7 @@ public class PatchAPK {
repack.delete();
mm.mDB.setStrings(Const.Key.SU_MANAGER, pkg);
mm.mDB.flush();
Data.exportPrefs();
RootUtils.uninstallPkg(Const.ORIG_PKG_NAME);