Disable unzip for Play store releases

This commit is contained in:
M66B
2022-03-19 20:15:09 +01:00
parent 91666640c0
commit 9afec13f17
2 changed files with 2 additions and 2 deletions

View File

@@ -3393,7 +3393,7 @@ public class MessageHelper {
else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O && local.isCompressed()) {
// https://commons.apache.org/proper/commons-compress/examples.html
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean unzip = prefs.getBoolean("unzip", true);
boolean unzip = prefs.getBoolean("unzip", !BuildConfig.PLAY_STORE_RELEASE);
if (unzip)
if (local.isGzip() && !local.isTarGzip())