{"action":"created","issue":{"url":"https://api.github.com/repos/zxing/zxing/issues/440","labels_url":"https://api.github.com/repos/zxing/zxing/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/zxing/zxing/issues/440/comments","events_url":"https://api.github.com/repos/zxing/zxing/issues/440/events","html_url":"https://github.com/zxing/zxing/issues/440","id":100801090,"number":440,"title":"why integrator.initiateScan(); causing the current activity to go landscape","user":{"login":"k0shk0sh","id":960767,"avatar_url":"https://avatars.githubusercontent.com/u/960767?v=3","gravatar_id":"","url":"https://api.github.com/users/k0shk0sh","html_url":"https://github.com/k0shk0sh","followers_url":"https://api.github.com/users/k0shk0sh/followers","following_url":"https://api.github.com/users/k0shk0sh/following{/other_user}","gists_url":"https://api.github.com/users/k0shk0sh/gists{/gist_id}","starred_url":"https://api.github.com/users/k0shk0sh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0shk0sh/subscriptions","organizations_url":"https://api.github.com/users/k0shk0sh/orgs","repos_url":"https://api.github.com/users/k0shk0sh/repos","events_url":"https://api.github.com/users/k0shk0sh/events{/privacy}","received_events_url":"https://api.github.com/users/k0shk0sh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-13T15:35:55Z","updated_at":"2015-08-13T15:39:14Z","closed_at":"2015-08-13T15:39:14Z","body":"hello there, i'm having an issue with the library,  by calling this intent \r\n``\r\n IntentIntegrator integrator = new IntentIntegrator(Barcode.this);\r\n            integrator.setPrompt(\"Scan a barcode\");\r\n            integrator.setResultDisplayDuration(0);\r\n            integrator.initiateScan();\r\n``\r\nit changes my current activity to landscape which causing me this issue as mentioned in this thread at stackoverflow http://stackoverflow.com/questions/31884809/gridlayoutmanager-spansizelookup-bug \r\ncould you please have a look and suggest me some solution? as workaround i did is, i created an activity that handles the intent and retrieve it back, this activity has a delay of one second to trigger the intent as if i didn't do that, i will get the exception as mentioned in the thread.  this only happens with this library i'm having my own custom camera which goes landscape and my current activity doesn't throw the exception that it threw whenever i open your default intent."},"comment":{"url":"https://api.github.com/repos/zxing/zxing/issues/comments/130732696","html_url":"https://github.com/zxing/zxing/issues/440#issuecomment-130732696","issue_url":"https://api.github.com/repos/zxing/zxing/issues/440","id":130732696,"user":{"login":"srowen","id":822522,"avatar_url":"https://avatars.githubusercontent.com/u/822522?v=3","gravatar_id":"","url":"https://api.github.com/users/srowen","html_url":"https://github.com/srowen","followers_url":"https://api.github.com/users/srowen/followers","following_url":"https://api.github.com/users/srowen/following{/other_user}","gists_url":"https://api.github.com/users/srowen/gists{/gist_id}","starred_url":"https://api.github.com/users/srowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowen/subscriptions","organizations_url":"https://api.github.com/users/srowen/orgs","repos_url":"https://api.github.com/users/srowen/repos","events_url":"https://api.github.com/users/srowen/events{/privacy}","received_events_url":"https://api.github.com/users/srowen/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T15:39:14Z","updated_at":"2015-08-13T15:39:14Z","body":"This isn't an issue report; you can ask on the mailing list. The app is always landscape -- is that what you're asking?"}}