mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 662075 - Android fails to open update APK [r=blassey]
This commit is contained in:
parent
b86f74a965
commit
bec9fbc11f
@ -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