Return-Path: X-Original-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A75C3CCE6 for ; Tue, 8 May 2012 22:57:55 +0000 (UTC) Received: (qmail 86747 invoked by uid 500); 8 May 2012 22:57:55 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 86705 invoked by uid 500); 8 May 2012 22:57:55 -0000 Mailing-List: contact callback-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-commits@incubator.apache.org Received: (qmail 86696 invoked by uid 99); 8 May 2012 22:57:55 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 22:57:55 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 0335514F63; Tue, 8 May 2012 22:57:54 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: bowserj@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: android commit: Added loadConfiguration to the standalone WebView Message-Id: <20120508225755.0335514F63@tyr.zones.apache.org> Date: Tue, 8 May 2012 22:57:54 +0000 (UTC) Updated Branches: refs/heads/CordovaWebView 4ce585be0 -> 2142d00bb Added loadConfiguration to the standalone WebView Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/commit/2142d00b Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/2142d00b Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/2142d00b Branch: refs/heads/CordovaWebView Commit: 2142d00bb964606d3c1d352a064dd33540f73611 Parents: 4ce585b Author: Joe Bowser Authored: Tue May 8 15:43:42 2012 -0700 Committer: Joe Bowser Committed: Tue May 8 15:43:42 2012 -0700 ---------------------------------------------------------------------- .../src/org/apache/cordova/CordovaWebView.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/2142d00b/framework/src/org/apache/cordova/CordovaWebView.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/CordovaWebView.java b/framework/src/org/apache/cordova/CordovaWebView.java index b9ea21e..46d1f31 100644 --- a/framework/src/org/apache/cordova/CordovaWebView.java +++ b/framework/src/org/apache/cordova/CordovaWebView.java @@ -84,12 +84,16 @@ public class CordovaWebView extends WebView { public CordovaWebView(Context context, AttributeSet attrs) { super(context, attrs); mCtx = context; + preferences = new PreferenceSet(); + loadConfiguration(); setup(); } public CordovaWebView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); mCtx = context; + preferences = new PreferenceSet(); + loadConfiguration(); setup(); } @@ -97,6 +101,8 @@ public class CordovaWebView extends WebView { boolean privateBrowsing) { super(context, attrs, defStyle, privateBrowsing); mCtx = context; + preferences = new PreferenceSet(); + loadConfiguration(); setup(); }