cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject git commit: CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application
Date Thu, 04 Sep 2014 16:35:47 GMT
Repository: cordova-amazon-fireos
Updated Branches:
  refs/heads/3.6.x 4e94c6d19 -> e28c95ace


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/e28c95ac
Tree: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/tree/e28c95ac
Diff: http://git-wip-us.apache.org/repos/asf/cordova-amazon-fireos/diff/e28c95ac

Branch: refs/heads/3.6.x
Commit: e28c95ace5b2eb7d8a91827462e91bf576deea59
Parents: 4e94c6d
Author: Joe Bowser <bowserj@apache.org>
Authored: Wed Sep 3 15:23:41 2014 -0700
Committer: Archana Naik <naika@lab126.com>
Committed: Thu Sep 4 09:33:58 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/e28c95ac/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);
     }
 
     /**


Mime
View raw message