Bug 690134 - Fennec shows non-interactive UI on firstrun instead of splash screen [r=mbrubeck, a=asa]
--- a/embedding/android/GeckoSurfaceView.java
+++ b/embedding/android/GeckoSurfaceView.java
@@ -116,18 +116,18 @@ class GeckoSurfaceView
Canvas c = holder.lockCanvas();
if (c == null) {
Log.i(LOG_FILE_NAME, "canvas is null");
return;
}
Resources res = getResources();
- File filesDir = new File(GeckoApp.sGREDir, "files");
- if (filesDir.exists() == false) {
+ File watchDir = new File(GeckoApp.sGREDir, "components");
+ if (watchDir.exists() == false) {
// Just show the simple splash screen for "new profile" startup
c.drawColor(res.getColor(R.color.splash_background));
Drawable drawable = res.getDrawable(R.drawable.splash);
int w = drawable.getIntrinsicWidth();
int h = drawable.getIntrinsicHeight();
int x = (width - w) / 2;
int y = (height - h) / 2 - 16;
drawable.setBounds(x, y, x + w, y + h);