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 26FD79DC2 for ; Fri, 18 May 2012 22:20:40 +0000 (UTC) Received: (qmail 85062 invoked by uid 500); 18 May 2012 22:20:40 -0000 Delivered-To: apmail-incubator-callback-commits-archive@incubator.apache.org Received: (qmail 85013 invoked by uid 500); 18 May 2012 22:20:40 -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 84975 invoked by uid 99); 18 May 2012 22:20:40 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 May 2012 22:20:40 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C4C4E16CCF; Fri, 18 May 2012 22:20:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: filmaj@apache.org To: callback-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [3/8] android commit: [CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results Message-Id: <20120518222039.C4C4E16CCF@tyr.zones.apache.org> Date: Fri, 18 May 2012 22:20:39 +0000 (UTC) [CB-463] added accuracy checking to native accel implementation, this way getCurrentAcceleration returns fairly accurate results 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/531efe1e Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/tree/531efe1e Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/diff/531efe1e Branch: refs/heads/master Commit: 531efe1e30f86d33a6a4980b03c68835f803c400 Parents: df89d33 Author: Fil Maj Authored: Mon May 14 15:21:41 2012 -0700 Committer: Fil Maj Committed: Fri May 18 15:22:56 2012 -0700 ---------------------------------------------------------------------- .../src/org/apache/cordova/AccelListener.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-android/blob/531efe1e/framework/src/org/apache/cordova/AccelListener.java ---------------------------------------------------------------------- diff --git a/framework/src/org/apache/cordova/AccelListener.java b/framework/src/org/apache/cordova/AccelListener.java index bc8bf17..6ccbeca 100755 --- a/framework/src/org/apache/cordova/AccelListener.java +++ b/framework/src/org/apache/cordova/AccelListener.java @@ -237,6 +237,7 @@ public class AccelListener extends Plugin implements SensorEventListener { if (this.status == AccelListener.STOPPED) { return; } + Log.d("ACCEL", "accuracy is now " + accuracy); this.accuracy = accuracy; }