Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 824BD11E28 for ; Mon, 11 Aug 2014 17:26:03 +0000 (UTC) Received: (qmail 33027 invoked by uid 500); 11 Aug 2014 17:26:03 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 33005 invoked by uid 500); 11 Aug 2014 17:26:03 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 32996 invoked by uid 99); 11 Aug 2014 17:26:03 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2014 17:26:03 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E8E1C9AB753; Mon, 11 Aug 2014 17:26:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ian@apache.org To: commits@cordova.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: android commit: CB-7159: Fix setBackgroundColor() call to support 4.0.x view classes Date: Mon, 11 Aug 2014 17:26:02 +0000 (UTC) Repository: cordova-android Updated Branches: refs/heads/4.0.x 5054b714e -> f9b8f9a45 CB-7159: Fix setBackgroundColor() call to support 4.0.x view classes Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/f9b8f9a4 Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/f9b8f9a4 Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/f9b8f9a4 Branch: refs/heads/4.0.x Commit: f9b8f9a45f3e62687b09f2ba49cc1deadb22c191 Parents: 5054b71 Author: Ian Clelland Authored: Mon Aug 11 13:25:21 2014 -0400 Committer: Ian Clelland Committed: Mon Aug 11 13:25:21 2014 -0400 ---------------------------------------------------------------------- framework/src/org/apache/cordova/CordovaActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-android/blob/f9b8f9a4/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 40efd9c..f84e4a3 100755 --- a/framework/src/org/apache/cordova/CordovaActivity.java +++ b/framework/src/org/apache/cordova/CordovaActivity.java @@ -213,7 +213,7 @@ public class CordovaActivity extends Activity implements CordovaInterface { // TODO: Setting this on the appView causes it to show when . int backgroundColor = preferences.getInteger("BackgroundColor", Color.BLACK); root.setBackgroundColor(backgroundColor); - appView.setBackgroundColor(backgroundColor); + appView.getView().setBackgroundColor(backgroundColor); } /**