{"action":"closed","issue":{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/175","repository_url":"https://api.github.com/repos/commonsguy/cwac-cam2","labels_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/175/comments","events_url":"https://api.github.com/repos/commonsguy/cwac-cam2/issues/175/events","html_url":"https://github.com/commonsguy/cwac-cam2/issues/175","id":146823285,"number":175,"title":"OnePlus X Back Camera: capturing picture does not return to calling activity when not using forceClassic()","user":{"login":"batrand","id":8514709,"avatar_url":"https://avatars.githubusercontent.com/u/8514709?v=3","gravatar_id":"","url":"https://api.github.com/users/batrand","html_url":"https://github.com/batrand","followers_url":"https://api.github.com/users/batrand/followers","following_url":"https://api.github.com/users/batrand/following{/other_user}","gists_url":"https://api.github.com/users/batrand/gists{/gist_id}","starred_url":"https://api.github.com/users/batrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batrand/subscriptions","organizations_url":"https://api.github.com/users/batrand/orgs","repos_url":"https://api.github.com/users/batrand/repos","events_url":"https://api.github.com/users/batrand/events{/privacy}","received_events_url":"https://api.github.com/users/batrand/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/labels/pending-release","name":"pending-release","color":"009800"},{"url":"https://api.github.com/repos/commonsguy/cwac-cam2/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-04-08T06:03:17Z","updated_at":"2016-04-17T12:38:10Z","closed_at":"2016-04-17T12:38:10Z","body":"Hello,\r\n\r\nI'm trying to use the library, and am following the documentation. I got the activity to open, but after capturing the photo, the preview freezes for a few seconds, the capture button greys out, but instead of returning to MainActivity, the preview restarts instead. I put debug output in onActivityResult and nothing fired, and no picture shows up in the file browser either.\r\n\r\nHere is how the intent is built:\r\n\r\n```\r\nCameraActivity.IntentBuilder b = new CameraActivity.IntentBuilder(MainActivity.this);\r\nb.to(new File(appPicDir,\"cwactest.jpg\")) \r\n                .zoomStyle(ZoomStyle.SEEKBAR)\r\n                .focusMode(FocusMode.CONTINUOUS)\r\n                .allowSwitchFlashMode()\r\n                .updateMediaStore()\r\n                .facing(Facing.BACK);\r\n```\r\n\r\nThen I started it:\r\n`startActivityForResult(b.build(),7896);`\r\n\r\nApparently I did something wrong, but can't seem to figure out where."}}