From e13a9f11bda2314efca594ed41412c7bd191748e Mon Sep 17 00:00:00 2001 From: Chris Date: Sat, 10 Aug 2019 01:59:24 -0400 Subject: [PATCH] Fix for not finding the game when not updating. --- .../java/com/MartyrPher/smapiandroidinstaller/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/MartyrPher/smapiandroidinstaller/MainActivity.java b/app/src/main/java/com/MartyrPher/smapiandroidinstaller/MainActivity.java index 9b006d0..c29b929 100644 --- a/app/src/main/java/com/MartyrPher/smapiandroidinstaller/MainActivity.java +++ b/app/src/main/java/com/MartyrPher/smapiandroidinstaller/MainActivity.java @@ -38,7 +38,7 @@ public class MainActivity extends AppCompatActivity { foundGame = apkExtractor.checkForInstallOrUpgrade(); - if(foundGame[0] && (foundGame[1] || foundGame[2])) + if(foundGame[1] || foundGame[2]) { BackgroundTask backgroundTask = new BackgroundTask(MainActivity.this, apkExtractor, foundGame[0]); backgroundTask.execute();