cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bows...@apache.org
Subject android commit: CB-7460: Fixing bug with KitKat where the background colour would override the CSS colours on the application
Date Wed, 03 Sep 2014 22:40:34 GMT
Repository: cordova-android
Updated Branches:
  refs/heads/3.6.x 014327c59 -> afdd16a21


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

Branch: refs/heads/3.6.x
Commit: afdd16a2140bf805c5272c420d48bf962f5eab19
Parents: 014327c
Author: Joe Bowser <bowserj@apache.org>
Authored: Wed Sep 3 15:23:41 2014 -0700
Committer: Joe Bowser <bowserj@apache.org>
Committed: Wed Sep 3 15:26:16 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/afdd16a2/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);
     }
 
     /**


Mime
View raw message