Original address: http://www.educity.cn/wenda/158744.html
Android workaround for consumer exception on Inputdispatcher
10-23 03:24:46.346:error/inputdispatcher: Channel ' 40774ac8 Coinv.panfa/coinv.panfa.activities.meinvflashactivity (server) ' ~ Consumer closed input channel or an error occurred.& nbsp events=0x8
10-23 03:24:46.346:error/inputdispatcher (All): Channel ' 40774ac8 coinv.panfa/ Coinv.panfa.activities.MeinvFlashActivity (server) ' ~ Channel is unrecoverably broken and'll be disposed!
10-23 03:24:46.406:error/inputdispatcher: Received spurious receive callback for unknown input channel. FD =148, events=0x8
Look at manifest.xml, hey,
because you couldn't find the reason before, So we have to manifest.xml the corresponding activity tag by adding the following attribute to the layout to display the vertical screen mode:
android:launchmode= "Singletask" Android: screenorientation= "Portrait"
was later tried to discover by changing the activity tag in manifest.xml to add the following attribute:
android:configchanges= " Orientation|keyboardhidden "