Bug 690134 - Fennec shows non-interactive UI on firstrun instead of splash screen [r=mbrubeck]
authorMark Finkle <mfinkle@mozilla.com>
Thu, 29 Sep 2011 12:48:51 -0400
changeset 77862 4320fd88ed156bd949a4ab6fbe31778b30c227bf
parent 77861 611807062ab55a9dee7e202a8ff33b444e7614b4
child 77863 8417548adf12704b5cb198504253efd429e4f860
push id3
push userfelipc@gmail.com
push dateFri, 30 Sep 2011 20:09:13 +0000
reviewersmbrubeck
bugs690134
milestone10.0a1
Bug 690134 - Fennec shows non-interactive UI on firstrun instead of splash screen [r=mbrubeck]
embedding/android/GeckoSurfaceView.java
--- 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);