You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrey Kurdyumov (JIRA)" <ji...@apache.org> on 2014/07/19 20:24:38 UTC
[jira] [Created] (CB-7172) Window does not receive focus after
opening another activity
Andrey Kurdyumov created CB-7172:
------------------------------------
Summary: 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
Environment: Android 4.4.2, Samsung Galaxy Note 3
Reporter: Andrey Kurdyumov
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)