{"action":"created","issue":{"url":"https://api.github.com/repos/OrangeGangsters/LolliPin/issues/78","repository_url":"https://api.github.com/repos/OrangeGangsters/LolliPin","labels_url":"https://api.github.com/repos/OrangeGangsters/LolliPin/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/OrangeGangsters/LolliPin/issues/78/comments","events_url":"https://api.github.com/repos/OrangeGangsters/LolliPin/issues/78/events","html_url":"https://github.com/OrangeGangsters/LolliPin/issues/78","id":154504358,"number":78,"title":"AppLockActivity can be bypassed by simply terminating the app","user":{"login":"rkarodia","id":2457741,"avatar_url":"https://avatars.githubusercontent.com/u/2457741?v=3","gravatar_id":"","url":"https://api.github.com/users/rkarodia","html_url":"https://github.com/rkarodia","followers_url":"https://api.github.com/users/rkarodia/followers","following_url":"https://api.github.com/users/rkarodia/following{/other_user}","gists_url":"https://api.github.com/users/rkarodia/gists{/gist_id}","starred_url":"https://api.github.com/users/rkarodia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkarodia/subscriptions","organizations_url":"https://api.github.com/users/rkarodia/orgs","repos_url":"https://api.github.com/users/rkarodia/repos","events_url":"https://api.github.com/users/rkarodia/events{/privacy}","received_events_url":"https://api.github.com/users/rkarodia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-12T14:58:37Z","updated_at":"2016-05-13T17:47:42Z","closed_at":null,"body":"If the app is _force closed_ while the `CustomPinCodeActivity` (subclass of `AppLockActivity`) is being shown. `AppLockImpl.setLastActiveMillis()` is called. The next time the app is launched `AppLockImpl.shouldLockScreen()` returns false due to the timeout check logic. Maybe I'm missing something very simple and not configuring it properly, but I can easily bypass the lock by doing this.\r\n\r\n![ezgif com-resize](https://cloud.githubusercontent.com/assets/2457741/15219055/9c68a106-1862-11e6-9c72-3f0d24944116.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OrangeGangsters/LolliPin/issues/comments/219112582","html_url":"https://github.com/OrangeGangsters/LolliPin/issues/78#issuecomment-219112582","issue_url":"https://api.github.com/repos/OrangeGangsters/LolliPin/issues/78","id":219112582,"user":{"login":"olivierg13","id":1358863,"avatar_url":"https://avatars.githubusercontent.com/u/1358863?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierg13","html_url":"https://github.com/olivierg13","followers_url":"https://api.github.com/users/olivierg13/followers","following_url":"https://api.github.com/users/olivierg13/following{/other_user}","gists_url":"https://api.github.com/users/olivierg13/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierg13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierg13/subscriptions","organizations_url":"https://api.github.com/users/olivierg13/orgs","repos_url":"https://api.github.com/users/olivierg13/repos","events_url":"https://api.github.com/users/olivierg13/events{/privacy}","received_events_url":"https://api.github.com/users/olivierg13/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T17:47:42Z","updated_at":"2016-05-13T17:47:42Z","body":"Yeah I can reproduce the bug also!\r\nThanks for the video.\r\n\r\nI'm gonna try to find the origin and fix it!"}}