Skip to content
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...
1 parent a91a851 commit b1c995a7c554494726a85128402eb9dba7fd22e0 @bslassey bslassey committed Feb 16, 2011
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);

0 comments on commit b1c995a

Please sign in to comment.
Something went wrong with that request. Please try again.