{"action":"opened","issue":{"url":"https://api.github.com/repos/googlesamples/android-instant-apps/issues/52","repository_url":"https://api.github.com/repos/googlesamples/android-instant-apps","labels_url":"https://api.github.com/repos/googlesamples/android-instant-apps/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/android-instant-apps/issues/52/comments","events_url":"https://api.github.com/repos/googlesamples/android-instant-apps/issues/52/events","html_url":"https://github.com/googlesamples/android-instant-apps/issues/52","id":340112710,"node_id":"MDU6SXNzdWUzNDAxMTI3MTA=","number":52,"title":"Instant app crashing in Samsung device ","user":{"login":"anbarasu-seven","id":6985137,"node_id":"MDQ6VXNlcjY5ODUxMzc=","avatar_url":"https://avatars0.githubusercontent.com/u/6985137?v=4","gravatar_id":"","url":"https://api.github.com/users/anbarasu-seven","html_url":"https://github.com/anbarasu-seven","followers_url":"https://api.github.com/users/anbarasu-seven/followers","following_url":"https://api.github.com/users/anbarasu-seven/following{/other_user}","gists_url":"https://api.github.com/users/anbarasu-seven/gists{/gist_id}","starred_url":"https://api.github.com/users/anbarasu-seven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anbarasu-seven/subscriptions","organizations_url":"https://api.github.com/users/anbarasu-seven/orgs","repos_url":"https://api.github.com/users/anbarasu-seven/repos","events_url":"https://api.github.com/users/anbarasu-seven/events{/privacy}","received_events_url":"https://api.github.com/users/anbarasu-seven/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-11T06:48:08Z","updated_at":"2018-07-11T06:48:08Z","closed_at":null,"author_association":"NONE","body":"**I have deployed Instant app in playstore. When i press Try Now it launches activity as usual, but after some time it is crashing. From the log listed below, It seems Sensor permission is missing, If it is so why the same error is not coming in other branded android devices Or is there any separate fix for this issue in samsung device**\r\n\r\n\r\n\r\n\r\nSAMSUNG\r\n07-11 11:27:28.562 14316-14422/? E/Isotope: UID: [10159]  PID: [14316] MethodInvocationStub : Exception while calling method isAccessoryKeyboard\r\n    java.lang.SecurityException: Method class com.android.internal.view.IInputMethodManager$Stub$Proxy.isAccessoryKeyboard[] not available to instant apps\r\n        at com.google.android.instantapps.supervisor.ipc.common.SandboxEnforcer.enforceUnsupportedPolicy(SandboxEnforcer.java:265)\r\n        at com.google.android.instantapps.supervisor.ipc.common.SandboxEnforcer.enforceUnsupportedMethodPolicy(SandboxEnforcer.java:82)\r\n        at com.google.android.instantapps.supervisor.ipc.ProxyMethodHandler.handleMethod(ProxyMethodHandler.java:181)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationStub.onTransact(MethodInvocationStub.java:175)\r\n        at android.os.Binder.execTransact(Binder.java:573)\r\n07-11 11:27:28.564 14904-14904/? E/Isotope: UID: [99003]  PID: [14904] MethodInvocationProxy : Exception while calling method public abstract int com.android.internal.view.IInputMethodManager.isAccessoryKeyboard() throws android.os.RemoteException\r\n    java.lang.SecurityException: Method class com.android.internal.view.IInputMethodManager$Stub$Proxy.isAccessoryKeyboard[] not available to instant apps\r\n        at android.os.Parcel.readException(Parcel.java:1693)\r\n        at android.os.Parcel.readException(Parcel.java:1646)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationProxy.readReply(MethodInvocationProxy.java:238)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationProxy.invoke(MethodInvocationProxy.java:472)\r\n        at java.lang.reflect.Proxy.invoke(Proxy.java:813)\r\n        at $Proxy36.isAccessoryKeyboard(Unknown Source)\r\n        at android.view.inputmethod.InputMethodManager.isAccessoryKeyboardState(InputMethodManager.java:3140)\r\n        at android.widget.SearchView$SearchAutoComplete.onWindowFocusChanged(SearchView.java:2140)\r\n        at android.view.View.dispatchWindowFocusChanged(View.java:11022)\r\n        at android.widget.EditText.dispatchWindowFocusChanged(EditText.java:265)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4131)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:154)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6776)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)\r\n07-11 11:27:28.606 1025-2397/? E/SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR\r\n07-11 11:27:28.862 14904-14904/? E/AndroidRuntime: FATAL EXCEPTION: main\r\n    Process: xxx.yyy.zzz, PID: 14904\r\n    java.lang.SecurityException: Method class com.android.internal.view.IInputMethodManager$Stub$Proxy.isAccessoryKeyboard[] not available to instant apps\r\n        at android.os.Parcel.readException(Parcel.java:1693)\r\n        at android.os.Parcel.readException(Parcel.java:1646)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationProxy.readReply(MethodInvocationProxy.java:238)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationProxy.invoke(MethodInvocationProxy.java:472)\r\n        at java.lang.reflect.Proxy.invoke(Proxy.java:813)\r\n        at $Proxy36.isAccessoryKeyboard(Unknown Source)\r\n        at android.view.inputmethod.InputMethodManager.isAccessoryKeyboardState(InputMethodManager.java:3140)\r\n        at android.widget.SearchView$SearchAutoComplete.onWindowFocusChanged(SearchView.java:2140)\r\n        at android.view.View.dispatchWindowFocusChanged(View.java:11022)\r\n        at android.widget.EditText.dispatchWindowFocusChanged(EditText.java:265)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4131)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:154)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6776)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)\r\n07-11 11:27:28.877 14316-14327/? E/Isotope: UID: [10159]  PID: [14316] IActivityManagerProxy : Instant app: xxx.yyy.zzz crashed: java.lang.SecurityException: Method class com.android.internal.view.IInputMethodManager$Stub$Proxy.isAccessoryKeyboard[] not available to instant apps\r\n        at android.os.Parcel.readException(Parcel.java:1693)\r\n        at android.os.Parcel.readException(Parcel.java:1646)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationProxy.readReply(MethodInvocationProxy.java:238)\r\n        at com.google.android.instantapps.supervisor.ipc.base.MethodInvocationProxy.invoke(MethodInvocationProxy.java:472)\r\n        at java.lang.reflect.Proxy.invoke(Proxy.java:813)\r\n        at $Proxy36.isAccessoryKeyboard(Unknown Source)\r\n        at android.view.inputmethod.InputMethodManager.isAccessoryKeyboardState(InputMethodManager.java:3140)\r\n        at android.widget.SearchView$SearchAutoComplete.onWindowFocusChanged(SearchView.java:2140)\r\n        at android.view.View.dispatchWindowFocusChanged(View.java:11022)\r\n        at android.widget.EditText.dispatchWindowFocusChanged(EditText.java:265)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewGroup.dispatchWindowFocusChanged(ViewGroup.java:1197)\r\n        at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:4131)\r\n        at android.os.Handler.dispatchMessage(Handler.java:102)\r\n        at android.os.Looper.loop(Looper.java:154)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6776)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386)\r\n07-11 11:27:28.920 14316-14316/? E/Isotope: UID: [10159]  PID: [14316] IsolatedConnection : Isolated service: 'ComponentInfo{com.google.android.instantapps.supervisor/com.google.android.instantapps.supervisor.isolatedservice.IsolatedService15}' abnormally disconnected.\r\n07-11 11:27:40.927 1025-1723/? E/Watchdog: !@Sync 103 [2018-07-11 11:27:40.927]\r\n"}}
{"actor":{"display_login":"anbarasu-seven"}}