You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Filip Maj (JIRA)" <ji...@apache.org> on 2012/07/11 19:25:35 UTC

[jira] [Resolved] (CB-1022) Android acceleration sets timestamp to nanosecond time (instead of millisecond)

     [ https://issues.apache.org/jira/browse/CB-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Filip Maj resolved CB-1022.
---------------------------

    Resolution: Fixed

Fixed by reverting back to currentTimeMillis.

I've added additional tests to mobile-spec should we catch this issue again. See [commit c7771f|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-mobile-spec.git;a=commit;h=c7771fb8061ccd14308089315992a0b350ed5505].

The commit in Android is [2eb4c5|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=commit;h=2eb4c5e960d633f67c9767b9cdd254111476b2cd].
                
> Android acceleration sets timestamp to nanosecond time (instead of millisecond)
> -------------------------------------------------------------------------------
>
>                 Key: CB-1022
>                 URL: https://issues.apache.org/jira/browse/CB-1022
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.9.0
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 2.0.0
>
>
> https://github.com/apache/incubator-cordova-android/blob/master/framework/src/org/apache/cordova/AccelListener.java#L218
> We should probably be setting this to millesecond / system time no?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira