cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-11531) Restart Accelerometer on CyanogenMod 13
Date Wed, 06 Jul 2016 08:37:11 GMT


ASF GitHub Bot commented on CB-11531:

GitHub user daserge opened a pull request:

    CB-11531 Restart Accelerometer on CyanogenMod 13

    Please make sure the checklist boxes are all checked before submitting the PR. The checklist
    is intended as a quick reference, for complete details please see our Contributor Guidelines:
    ### Platforms affected
    ### What does this PR do?
    Reset sensor `accuracy` after setting it to `SENSOR_STATUS_UNRELIABLE` in `stop` so that
check in `onSensorChanged` passes.
    ### What testing has been done on this change?
    Tested on api22, api23 emulators, api22 device.
    ### Checklist
    - [x] [ICLA]( has been signed and submitted to
    - [x] [Reported an issue]( in the JIRA
    - [x] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.

You can merge this pull request into a Git repository by running:

    $ git pull CB-11531

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #45
commit 293dcb9220ac379a9e4cd7776d02969367df6dca
Author: daserge <>
Date:   2016-07-06T08:17:17Z

    CB-11531 Restart Accelerometer on CyanogenMod 13
    Reset sensor accuracy after setting it to SENSOR_STATUS_UNRELIABLE in stop


> Restart Accelerometer on CyanogenMod 13
> ---------------------------------------
>                 Key: CB-11531
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Device Motion
>         Environment: Nexus 4, Android 6.0.1 (CyanogenMod 13)
>            Reporter: CL
>              Labels: android, reproduced, triaged
> When the accelerometer is started for the first time via the navigator.accelerometer.watchAccleration()
function it works fine. But when the accelerometer is stopped (via navigator.accelerometer.clearWatch())
and then started again after a timeout the success callback is not called anymore.
> It works on a Samsung Galaxy S III with the original Android ROM installed.
> Further details about the issue can be found here:

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message