{"action":"created","issue":{"url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/issues/11","repository_url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight","labels_url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/issues/11/comments","events_url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/issues/11/events","html_url":"https://github.com/kaeptmblaubaer1000/android-torchlight/issues/11","id":325450826,"number":11,"title":"Torchlight goes off suddenly and refuse to come up","user":{"login":"jubreal","id":37203158,"avatar_url":"https://avatars3.githubusercontent.com/u/37203158?v=4","gravatar_id":"","url":"https://api.github.com/users/jubreal","html_url":"https://github.com/jubreal","followers_url":"https://api.github.com/users/jubreal/followers","following_url":"https://api.github.com/users/jubreal/following{/other_user}","gists_url":"https://api.github.com/users/jubreal/gists{/gist_id}","starred_url":"https://api.github.com/users/jubreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubreal/subscriptions","organizations_url":"https://api.github.com/users/jubreal/orgs","repos_url":"https://api.github.com/users/jubreal/repos","events_url":"https://api.github.com/users/jubreal/events{/privacy}","received_events_url":"https://api.github.com/users/jubreal/received_events","type":"User","site_admin":false},"labels":[{"id":883759676,"url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":{"login":"kaeptmblaubaer1000","id":18211838,"avatar_url":"https://avatars2.githubusercontent.com/u/18211838?v=4","gravatar_id":"","url":"https://api.github.com/users/kaeptmblaubaer1000","html_url":"https://github.com/kaeptmblaubaer1000","followers_url":"https://api.github.com/users/kaeptmblaubaer1000/followers","following_url":"https://api.github.com/users/kaeptmblaubaer1000/following{/other_user}","gists_url":"https://api.github.com/users/kaeptmblaubaer1000/gists{/gist_id}","starred_url":"https://api.github.com/users/kaeptmblaubaer1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaeptmblaubaer1000/subscriptions","organizations_url":"https://api.github.com/users/kaeptmblaubaer1000/orgs","repos_url":"https://api.github.com/users/kaeptmblaubaer1000/repos","events_url":"https://api.github.com/users/kaeptmblaubaer1000/events{/privacy}","received_events_url":"https://api.github.com/users/kaeptmblaubaer1000/received_events","type":"User","site_admin":false},"assignees":[{"login":"kaeptmblaubaer1000","id":18211838,"avatar_url":"https://avatars2.githubusercontent.com/u/18211838?v=4","gravatar_id":"","url":"https://api.github.com/users/kaeptmblaubaer1000","html_url":"https://github.com/kaeptmblaubaer1000","followers_url":"https://api.github.com/users/kaeptmblaubaer1000/followers","following_url":"https://api.github.com/users/kaeptmblaubaer1000/following{/other_user}","gists_url":"https://api.github.com/users/kaeptmblaubaer1000/gists{/gist_id}","starred_url":"https://api.github.com/users/kaeptmblaubaer1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaeptmblaubaer1000/subscriptions","organizations_url":"https://api.github.com/users/kaeptmblaubaer1000/orgs","repos_url":"https://api.github.com/users/kaeptmblaubaer1000/repos","events_url":"https://api.github.com/users/kaeptmblaubaer1000/events{/privacy}","received_events_url":"https://api.github.com/users/kaeptmblaubaer1000/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-22T20:28:13Z","updated_at":"2018-05-24T09:40:38Z","closed_at":null,"author_association":"NONE","body":"\r\n\r\n\r\n#### Expected behavior\r\n\r\nThe app should function properly and put on phone flashlight both in portrait and landscape mode. Also, the flashlight should not go off when phone is rotated to landscape mode from portrait mode.\r\n\r\n\r\n\r\n#### Actual behavior\r\n\r\nThe behavior is into two places, which I believe were caused by the same root case:\r\nFirst scenario, when the torchlight has been put on while in portrait mode, it suddenly goes off in landscape mode and won’t work again until app is restarted.\r\n\r\nSecond issue, if the app was started was started on landscape, the torchlight / flashlight won’t function / come up at all until app is restarted again.\r\n\r\n\r\n\r\n#### How to reproduce\r\n\r\nReproduction steps of the first bug:\r\n\r\n1.\tInstall app from fdroid\t\r\n2.\tLaunch and grant camera permission\r\n3.\tTap the centre of the screen display (torchlight comes up)\r\n4.\tRotate phone to landscape (torchlight goes off)\r\n5.\tRotate back to portrait mode , tap the centre of the screen (torchlight does not come up)\r\n\r\nReproduction steps of the second issue:\r\n1.\tLaunch the app in landscape mode \r\n2.\tTap the centre of the display to put torchlight on, it will be noticed that the torchlight does not come up.\r\n\r\n\r\n* Browser/App version: app version 2.6\r\n*Operating system: Android 6.0\r\n\r\n\r\n#### Recording Of The Bug\r\n\r\nI had to use an external camera recording device so as to capture both the operations and effect of the bug succefully because screen recorder will only capture operations and not effect.\r\n\r\nhttps://youtu.be/j5wJq56XZQk\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/issues/comments/391653674","html_url":"https://github.com/kaeptmblaubaer1000/android-torchlight/issues/11#issuecomment-391653674","issue_url":"https://api.github.com/repos/kaeptmblaubaer1000/android-torchlight/issues/11","id":391653674,"user":{"login":"jubreal","id":37203158,"avatar_url":"https://avatars3.githubusercontent.com/u/37203158?v=4","gravatar_id":"","url":"https://api.github.com/users/jubreal","html_url":"https://github.com/jubreal","followers_url":"https://api.github.com/users/jubreal/followers","following_url":"https://api.github.com/users/jubreal/following{/other_user}","gists_url":"https://api.github.com/users/jubreal/gists{/gist_id}","starred_url":"https://api.github.com/users/jubreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jubreal/subscriptions","organizations_url":"https://api.github.com/users/jubreal/orgs","repos_url":"https://api.github.com/users/jubreal/repos","events_url":"https://api.github.com/users/jubreal/events{/privacy}","received_events_url":"https://api.github.com/users/jubreal/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T09:40:38Z","updated_at":"2018-05-24T09:40:38Z","author_association":"NONE","body":"Hello, sorry for the delay in getting the log. Here it is, ``` build.board: unknown\r\nbuild.bootloader: unknown\r\nbuild.brand: Infinix\r\nbuild.cpu_abi: arm64-v8a\r\nbuild.cpu_abi2: \r\nbuild.device: X601\r\nbuild.display: X601-H536A1-M-161009V76\r\nbuild.fingerprint: Infinix/X601-A1/X601:6.0/MRA58K/X601-H536A1-M-161009V76:user/release-keys\r\nbuild.hardware: mt6735\r\nbuild.host: rlk-buildsrv11\r\nbuild.id: MRA58K\r\nbuild.manufacturer: Infinix\r\nbuild.model: Infinix NOTE 3\r\nbuild.product: X601-A1\r\nbuild.radio: unknown\r\nbuild.serial: 01797106B0400544\r\nbuild.tags: release-keys\r\nbuild.time: 1475953036000\r\nbuild.type: user\r\nbuild.user: rlk-buildsrv11\r\nversion.codename: REL\r\nversion.incremental: 1475952666\r\nversion.release: 6.0\r\nversion.sdk_int: 23\r\n\r\n05-24 10:24:32.627 W/MtkCam/TdCamAdapter(288): [TdBaseCamAdapter::init] rlk_zhanxw TdBaseCamAdapter::init sensor id=0 fb=0\r\n05-24 10:24:32.627 E/MtkCam/TdCamAdapter(288): [TdBaseCamAdapter::init] rlk_zhanxw mpExtImgProc != NULL (init){#122:vendor/mediatek/proprietary/hardware/mtkcam/legacy/platform/mt6735/v1/adapter/TdBaseCamAdapter.cpp}\r\n05-24 10:24:32.627 D/MtkCam/ExtImgProc(288): (288)[init]First user(0)\r\n05-24 10:24:32.628 E/MtkCam/CamAdapter(288): (288)(0)(Default)[init] rlk_zhanxw mpTdAdapter init is ok (init){#219:vendor/mediatek/proprietary/hardware/mtkcam/legacy/platform/mt6735/v1/adapter/MtkDefault/MtkDefaultCamAdapter.cpp}\r\n05-24 10:24:32.628 D/MtkCam/CpuCtrl(288): (288)[createInstance] \r\n05-24 10:24:32.628 D/MtkCam/CpuCtrl(288): (288)[CpuCtrlImp] \r\n05-24 10:24:32.628 D/MtkCam/CpuCtrl(288): (288)[init] First user(0)\r\n05-24 10:24:32.629 D/MtkCam/CpuCtrl(288): (288)[init] -\r\n05-24 10:24:32.629 I/MtkCam/CamAdapter(288): (288)(0)(Default)[setParameters] KEY_PREVIEW_FPS_RANGE[5000,30000]\r\n05-24 10:24:32.630 I/MtkCam/CamAdapter(288): (Default)[BaseCamAdapter::onImgBufProviderCreated] - id=3, ImgBufProvider=0xe6df4720\r\n05-24 10:24:32.630 I/MtkCam/CamAdapter(288): (Default)[BaseCamAdapter::onImgBufProviderCreated] - id=2, ImgBufProvider=0xe333a3c0\r\n05-24 10:24:32.630 I/MtkCam/CamAdapter(288): (Default)[BaseCamAdapter::onImgBufProviderCreated] - id=6, ImgBufProvider=0xe333ef60\r\n05-24 10:24:32.632 D/MtkCam/ExtImgProc(288): (288)[init]More user(1)\r\n05-24 10:24:32.632 D/MtkCam/CpuCtrl(288): (288)[enable] +\r\n05-24 10:24:32.632 D/MtkCam/CpuCtrl(288): (288)[enable] big(4/1300000),little(4/1300000),timeout(3)\r\n05-24 10:24:32.634 D/MtkCam/CpuCtrl(288): (288)[enable] -\r\n05-24 10:24:32.634 I/MtkCam/CamAdapter(288): (288)(0)(Default)[setParameters] KEY_PREVIEW_FPS_RANGE[5000,30000]\r\n05-24 10:24:32.637 D/MtkCam/FeaturePipe(288): [createInstance] +\r\n05-24 10:24:32.637 D/MtkCam/FeaturePipe(288): [init] +\r\n05-24 10:24:32.637 D/MtkCam/FeaturePipe(288): [initFeatureGraph] +\r\n05-24 10:24:32.637 I/MtkCam/FeaturePipe(288): [P2A:onInit] +\r\n05-24 10:24:32.637 I/MtkCam/FeaturePipe(288): [P2A:onInit] g_lcei_type(1)\r\n05-24 10:24:32.637 I/MtkCam/FeaturePipe(288): [P2A:onInit] mFeatureOnMask 0x00000000\r\n05-24 10:24:32.642 I/MtkCam/FeaturePipe(288): [P2A:onInit] -\r\n05-24 10:24:32.643 I/MtkCam/FeaturePipe(288): [P2A:onStart] +\r\n05-24 10:24:32.643 I/MtkCam/FeaturePipe(288): [P2A:onStart] -\r\n05-24 10:24:32.643 D/MtkCam/FeaturePipe(288): [initFeatureGraph] -\r\n05-24 10:24:32.643 D/MtkCam/FeaturePipe(288): [init] -\r\n05-24 10:24:32.644 D/MtkCam/FeaturePipe(288): [setFeature] +\r\n05-24 10:24:32.644 D/MtkCam/FeaturePipe(288): [setFeature] SetFeature: 0->4\r\n05-24 10:24:32.644 D/MtkCam/FeaturePipe(288): [uninitFeatureGraph] +\r\n05-24 10:24:32.644 I/MtkCam/FeaturePipe(288): [P2A:onStop] +\r\n05-24 10:24:32.644 I/MtkCam/HalSensor(288): [pixelModeArrange] Main cam pixel mode: 0, sensorType: 1\r\n05-24 10:24:32.644 I/MtkCam/FeaturePipe(288): [P2A:onStop] -\r\n05-24 10:24:32.644 I/MtkCam/FeaturePipe(288): [P2A:onNotify] +\r\n05-24 10:24:32.644 I/MtkCam/FeaturePipe(288): [P2A:onNotify] datamsg(0x17), ext1(0x0), ext2(0x0)\r\n05-24 10:24:32.644 I/MtkCam/FeaturePipe(288): [P2A:onNotify] -\r\n05-24 10:24:32.645 I/MtkCam/FeaturePipe(288): [P2A:onUninit] +\r\n05-24 10:24:32.645 I/MtkCam/FeaturePipe(288): [P2A:onUninit] Restore 3DNR AE ISO limit.\r\n05-24 10:24:32.649 I/MtkCam/FeaturePipe(288): ```"}}
{"actor":{"display_login":"jubreal"}}