Fix for not finding the game when not updating.
This commit is contained in:
parent
aee1d80d4d
commit
e13a9f11bd
|
@ -38,7 +38,7 @@ public class MainActivity extends AppCompatActivity {
|
||||||
|
|
||||||
foundGame = apkExtractor.checkForInstallOrUpgrade();
|
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 backgroundTask = new BackgroundTask(MainActivity.this, apkExtractor, foundGame[0]);
|
||||||
backgroundTask.execute();
|
backgroundTask.execute();
|
||||||
|
|
Loading…
Reference in New Issue