From 2176d2e02c75087d3297b21377a6dccb8b1a33ee Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Mon, 23 Nov 2009 10:57:05 -0800 Subject: [PATCH] Making constructors public --- framework/src/com/phonegap/AccelListener.java | 2 +- framework/src/com/phonegap/GeoBroker.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/com/phonegap/AccelListener.java b/framework/src/com/phonegap/AccelListener.java index 25cbc489..ce5edb3e 100644 --- a/framework/src/com/phonegap/AccelListener.java +++ b/framework/src/com/phonegap/AccelListener.java @@ -23,7 +23,7 @@ public class AccelListener implements SensorEventListener{ private long lastUpdate = -1; - AccelListener(Context ctx, WebView appView) + public AccelListener(Context ctx, WebView appView) { mCtx = ctx; mAppView = appView; diff --git a/framework/src/com/phonegap/GeoBroker.java b/framework/src/com/phonegap/GeoBroker.java index 3e90cd16..659a28d5 100644 --- a/framework/src/com/phonegap/GeoBroker.java +++ b/framework/src/com/phonegap/GeoBroker.java @@ -16,7 +16,7 @@ public class GeoBroker { private Context mCtx; private HashMap geoListeners; - GeoBroker(WebView view, Context ctx) + public GeoBroker(WebView view, Context ctx) { mCtx = ctx; mAppView = view;