Fix error or download again if use obb for Android
This commit is contained in:
parent
b6e0eaf3ca
commit
889ce29fc2
1 changed files with 5 additions and 1 deletions
|
@ -221,7 +221,11 @@ public class Helpers {
|
||||||
|
|
||||||
static public String getSaveFilePath(Context c) {
|
static public String getSaveFilePath(Context c) {
|
||||||
File root = Environment.getExternalStorageDirectory();
|
File root = Environment.getExternalStorageDirectory();
|
||||||
String path = Build.VERSION.SDK_INT >= 23 ? Constants.EXP_PATH_API23 : Constants.EXP_PATH;
|
// this makes several issues with Android SDK >= 23 devices.
|
||||||
|
// https://github.com/danikula/Google-Play-Expansion-File/commit/93a03bd34acad67c6ea34cfb6c3f02c93bdcea85
|
||||||
|
// https://issuetracker.google.com/issues/37075181
|
||||||
|
//String path = Build.VERSION.SDK_INT >= 23 ? Constants.EXP_PATH_API23 : Constants.EXP_PATH;
|
||||||
|
String path = Constants.EXP_PATH;
|
||||||
return root.toString() + path + c.getPackageName();
|
return root.toString() + path + c.getPackageName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue