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

[20/31] android commit: CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application

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-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/4dc32e19
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/4dc32e19
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/4dc32e19

Branch: refs/heads/4.0.x
Commit: 4dc32e194b04480cca5fa118a6fe346e54ff23fa
Parents: 5a82dd5
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Sep 3 15:23:41 2014 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Wed Sep 3 15:42:39 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/4dc32e19/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 190309e..bf1fd6a 100755
--- a/framework/src/org/apache/cordova/CordovaActivity.java
+++ b/framework/src/org/apache/cordova/CordovaActivity.java
@@ -248,10 +248,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);
     }
 
     /**