GitHub PullRequestReviewCommentEvent at 2014-05-06 07:48:12
Repository: gaia
Actor: julienw
Payload: {"comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/12313547","id":12313547,"diff_hunk":"@@ -315,6 +320,16 @@ var ActivityHandler = {\n     }\n     timeoutID = setTimeout(releaseWakeLock, 30 * 1000);\n \n+    function onSmsHandlerComplete() {\n+      releaseWakeLock();\n+      // If we are in the system message entry point, we close the app upon\n+      // completion of handling the sms so that we can open the launch_path\n+      // the next time we open open the app or get a notification event.\n+      if (ActivityHandler.getEntryPoint() == '/message-sms-received.html') {\n+        window.close();","path":"apps/sms/js/activity_handler.js","position":22,"original_position":22,"commit_id":"a2bb8fda12254987f17cf4c6874e01650e81e212","original_commit_id":"a2bb8fda12254987f17cf4c6874e01650e81e212","user":{"login":"julienw","id":454175,"avatar_url":"https://avatars.githubusercontent.com/u/454175?","gravatar_id":"a2b625f331361a7110da59a907d79e95","url":"https://api.github.com/users/julienw","html_url":"https://github.com/julienw","followers_url":"https://api.github.com/users/julienw/followers","following_url":"https://api.github.com/users/julienw/following{/other_user}","gists_url":"https://api.github.com/users/julienw/gists{/gist_id}","starred_url":"https://api.github.com/users/julienw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienw/subscriptions","organizations_url":"https://api.github.com/users/julienw/orgs","repos_url":"https://api.github.com/users/julienw/repos","events_url":"https://api.github.com/users/julienw/events{/privacy}","received_events_url":"https://api.github.com/users/julienw/received_events","type":"User","site_admin":false},"body":"Note that it seems to work sometimes (I got 3 notifications out of 4 messages), maybe it depends how the network sends them. ","created_at":"2014-05-06T07:48:12Z","updated_at":"2014-05-06T07:48:12Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/18394#discussion_r12313547","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/18394","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/12313547"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/18394#discussion_r12313547"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/18394"}}}}