You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/07/23 04:34:39 UTC
[jira] [Resolved] (CB-7172) Window does not receive focus after
opening another activity
[ https://issues.apache.org/jira/browse/CB-7172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-7172.
-------------------------------
Resolution: Fixed
Assignee: Andrew Grieve
Fixed in 3.6.0-dev
> Window does not receive focus after opening another activity
> ------------------------------------------------------------
>
> Key: CB-7172
> URL: https://issues.apache.org/jira/browse/CB-7172
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Environment: Android 4.4.2, Samsung Galaxy Note 3
> Reporter: Andrey Kurdyumov
> Assignee: Andrew Grieve
>
> I have application which open image selector using Camera plugin. After I select image, and execution passed again to my application it does not respond to any user actions.
> Last messages in the LogCat is
> E/ViewRootImpl(31835): sendUserActionEvent() mView == null
> Overall situation looks very similiar to
> http://stackoverflow.com/questions/24210548/back-and-volume-buttons-not-working-when-app-is-resumed-in-certain-conditions
> and I manage to fix that behaviour by adding line
> this.getWindow().getDecorView().requestFocus();
> to the CordovaActivity.onResume after the line
> this.appView.handleResume(this.keepRunning, this.activityResultKeepRunning);
--
This message was sent by Atlassian JIRA
(v6.2#6252)