Bug 690134 - Fennec shows non-interactive UI on firstrun instead of splash screen [r=mbrubeck, a=asa]
authorMark Finkle <mfinkle@mozilla.com>
Thu, 29 Sep 2011 12:48:51 -0400
changeset 78201 2424db0f3fb476f50a10b64f3388f618bc785744
parent 78200 2de758311c153c86df91c5c9ec129acd52f78554
child 78202 b9a6752584aa2dd5d3fd50111be449b9f879100c
push id392
push usermbrubeck@mozilla.com
push dateThu, 29 Sep 2011 22:58:08 +0000
treeherdermozilla-aurora@14c7c295a445 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck, asa
bugs690134
milestone9.0a2
Bug 690134 - Fennec shows non-interactive UI on firstrun instead of splash screen [r=mbrubeck, a=asa]
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);