Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bug 634530 - Fennec fails to startup on Droid Pro when the device is …

…connected to PC via USB r=mbrubeck a=blocking-fennec CLOSED TREE

--HG--
branch : GECKO20b12pre_20110216_RELBRANCH
  • Loading branch information...
commit 6f42709ab59d1d76e12433610dea2ae7f50ddafb 1 parent 43c4435
@bslassey bslassey authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 embedding/android/GeckoAppShell.java
View
4 embedding/android/GeckoAppShell.java
@@ -216,7 +216,7 @@ public static void loadGeckoLibs(String apkName) {
if (Build.VERSION.SDK_INT >= 8) {
File extHome = geckoApp.getExternalFilesDir(null);
File extProf = new File (extHome, "mozilla");
- if (extHome.exists())
+ if (extHome != null && extProf != null && extProf.exists())
moveDir(extProf, profileDir);
}
} else {
@@ -231,7 +231,7 @@ public static void loadGeckoLibs(String apkName) {
File intHome = geckoApp.getFilesDir();
File intProf = new File(intHome, "mozilla");
- if (intHome.exists())
+ if (intHome != null && intProf != null && intProf.exists())
moveDir(intProf, profileDir);
}
GeckoAppShell.putenv("HOME=" + homeDir);
Please sign in to comment.
Something went wrong with that request. Please try again.