[
https://issues.apache.org/jira/browse/CB-283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filip Maj resolved CB-283.
--------------------------
Resolution: Fixed
Fixed, it was indeed an issue with cordova-js. The event channel unregistration
implementation was a bit wonky. I've changed the implementation a little bit
and added relevant tests in cordova-js to catch this should we regress in the
future.
The relevant commit in the android repo is
[d59344|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-android.git;a=commit;h=d59344818246c2034946385d370be455f3ba9ad4].
> Disabling the back button handler doesn't give control back to the main
> Activity
> --------------------------------------------------------------------------------
>
> Key: CB-283
> URL: https://issues.apache.org/jira/browse/CB-283
> Project: Apache Callback
> Issue Type: Bug
> Components: Android
> Affects Versions: Master
> Reporter: Simon MacDonald
> Assignee: Filip Maj
> Priority: Blocker
> Fix For: 1.5.0
>
>
> Go into the mobile spec tests, tap "Events", tap "Intercept backbutton",
> click the hardware back button. You should see an line printed in the results
> section "Back button intercepted". Now tap "Stop intercept of backbutton" and
> then click the hardware back button. You'll notice the app does not go back
> to the previous page.
> Looking at the logs you will see:
> I/InputDispatcher( 129): Delivering key to current input target: action: 1,
> channel '40c840b0 com.phonegap.mobilespec/com.phonegap.mobilespec.MobileSpec
> (server)'
--
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