mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 662075 - Android fails to open update APK [r=blassey]
This commit is contained in:
parent
0e6b571c88
commit
30b08338bc
@ -581,7 +581,7 @@ abstract public class GeckoApp
|
||||
Log.i("GeckoAppJava", "Update is available!");
|
||||
|
||||
// Launch APK
|
||||
File updateFileToRun = new File(updateDir + getPackageName() + "-update.apk");
|
||||
File updateFileToRun = new File(updateDir, getPackageName() + "-update.apk");
|
||||
try {
|
||||
if (updateFile.renameTo(updateFileToRun)) {
|
||||
String amCmd = "/system/bin/am start -a android.intent.action.VIEW " +
|
||||
|
Loading…
Reference in New Issue
Block a user