Commit c0d3f3e5 authored by Luboš Horáček's avatar Luboš Horáček

#335 Přidělování trofejí za dohrání všech her

parent 53aad44b
......@@ -6,11 +6,11 @@ package cz.nic.tablexia.util;
import java.io.File;
import cz.nic.tablexia.BuildConfig;
import android.content.Context;
import android.content.pm.PackageManager.NameNotFoundException;
import android.os.Environment;
import android.util.Log;
import cz.nic.tablexia.BuildConfig;
/**
* @author lhoracek
......@@ -31,12 +31,6 @@ public class ObbHelper {
}
for (int i = versionCode; i >= 1; i--) {
String tempName = Environment.getExternalStorageDirectory().toString() + File.separator + (mainFile ? "main." : "patch.") + i + "." + context.getPackageName() + ".obb";
Log.v(TAG, "Checking existence: " + tempName);
if (expansionFileExists(tempName)) {
return tempName;
}
// main.XXX.package.obb - production file placement
String filename = getExpansionFilePath(context) + (mainFile ? "main." : "patch.") + i + "." + context.getPackageName() + ".obb";
Log.v(TAG, "Checking existence: " + filename);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment