You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by na...@apache.org on 2014/09/04 18:29:30 UTC

git commit: CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application

Repository: cordova-amazon-fireos
Updated Branches:
  refs/heads/master 3d7550ae0 -> 82425ce8e


CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application


Project: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/commit/82425ce8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/82425ce8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/82425ce8

Branch: refs/heads/master
Commit: 82425ce8eb91a7228ca8a11c7a119005b34a1189
Parents: 3d7550a
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Sep 3 15:23:41 2014 -0700
Committer: Archana Naik <na...@lab126.com>
Committed: Thu Sep 4 09:28:11 2014 -0700

----------------------------------------------------------------------
 framework/src/org/apache/cordova/CordovaActivity.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/blob/82425ce8/framework/src/org/apache/cordova/CordovaActivity.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/CordovaActivity.java b/framework/src/org/apache/cordova/CordovaActivity.java
index 2da39cb..f0b6f7b 100755
--- a/framework/src/org/apache/cordova/CordovaActivity.java
+++ b/framework/src/org/apache/cordova/CordovaActivity.java
@@ -264,10 +264,8 @@ public class CordovaActivity extends Activity implements CordovaInterface {
         root.addView((View) appView);
         setContentView(root);
 
-        // TODO: Setting this on the appView causes it to show when <html style="opacity:0">.
         int backgroundColor = preferences.getInteger("BackgroundColor", Color.BLACK);
         root.setBackgroundColor(backgroundColor);
-        appView.setBackgroundColor(backgroundColor);
     }
 
     /**