Set delete apk post installation by default

This commit is contained in:
Rahul Kumar Patel
2020-04-25 13:00:44 +05:30
parent e2c7ea0dc2
commit f222bfdd2f

View File

@@ -319,7 +319,7 @@ public class Util {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && Util.isRootInstallEnabled(context)) {
return true;
} else
return getPrefs(context).getBoolean(Constants.PREFERENCE_INSTALLATION_DELETE, false);
return getPrefs(context).getBoolean(Constants.PREFERENCE_INSTALLATION_DELETE, true);
}
public static boolean isNativeInstallerEnforced(Context context) {