[
https://issues.apache.org/jira/browse/CB-8842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14553759#comment-14553759
]
ASF GitHub Bot commented on CB-8842:
------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-plugin-device-motion/pull/30
CB-8842 Return cached values on Android if there is no updates from sensor
https://issues.apache.org/jira/browse/CB-8842
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-device-motion
CB-8842
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-device-motion/pull/30.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #30
----
commit 243bb14750edf409c6dc6d9ae06da755532f1e35
Author: alsorokin <[email protected]>
Date: 2015-05-15T11:29:45Z
CB-8842 Return cached values on Android if there is no updates from sensor
----
> Device motion test failures on Android and iOS
> ----------------------------------------------
>
> Key: CB-8842
> URL: https://issues.apache.org/jira/browse/CB-8842
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Device Motion
> Affects Versions: Master
> Environment: OSX, Windows
> Reporter: Dmitry Blotsky
> Labels: android, ios, plugin, plugin-device-motion, test-fail
> Original Estimate: 168h
> Remaining Estimate: 168h
>
> Test results here:
> [http://ci.apache.org/builders/cordova-android-osx/builds/275/steps/running-tests/logs/stdio],
> and here:
> [http://ci.apache.org/builders/cordova-ios/builds/399/steps/running-tests/logs/stdio].
> {noformat}
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.3 success
> callback should be called with an Acceleration object
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.4 success
> callback Acceleration object should have (reasonable) values for x, y and z
> expressed in m/s^2
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) getCurrentAcceleration accelerometer.spec.5 success
> callback Acceleration object should return a recent timestamp
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) watchAcceleration accelerometer.spec.7 success
> callback should be called with an Acceleration object
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) watchAcceleration accelerometer.spec.8 success
> callback Acceleration object should have (reasonable) values for x, y and z
> expressed in m/s^2
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) watchAcceleration accelerometer.spec.9 success
> callback Acceleration object should return a recent timestamp
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) watchAcceleration accelerometer.spec.12 success
> callback should be preserved and called several times
> cordova-plugin-device-motion-tests.tests >> Accelerometer
> (navigator.accelerometer) clearWatch accelerometer.spec.11 should clear an
> existing watch
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]