{"action":"created","comment":{"url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/comments/187747698","pull_request_review_id":119597605,"id":187747698,"diff_hunk":"@@ -155,13 +157,18 @@ protected void loadWithSdkInitialized(@NonNull Activity activity,\n             mRewardedVideoAd.setRewardedVideoAdListener(GooglePlayServicesRewardedVideo.this);\n         }\n \n-        if (mRewardedVideoAd.isLoaded()) {\n-            MoPubRewardedVideoManager\n-                    .onRewardedVideoLoadSuccess(GooglePlayServicesRewardedVideo.class, mAdUnitId);\n-        } else {\n-            mRewardedVideoAd\n-                    .loadAd(mAdUnitId, new AdRequest.Builder().setRequestAgent(\"MoPub\").build());\n-        }\n+        new Handler(Looper.getMainLooper()).post(new Runnable() {","path":"AdMob/com/mopub/mobileads/GooglePlayServicesRewardedVideo.java","position":null,"original_position":20,"commit_id":"92f78f72e3b63af1e94dc8e7be36292cbe0f305f","original_commit_id":"d93d0e1fb73980360ab275d5fdbb39eca0364c03","user":{"login":"chauduyphanvu1","id":25616035,"avatar_url":"https://avatars0.githubusercontent.com/u/25616035?v=4","gravatar_id":"","url":"https://api.github.com/users/chauduyphanvu1","html_url":"https://github.com/chauduyphanvu1","followers_url":"https://api.github.com/users/chauduyphanvu1/followers","following_url":"https://api.github.com/users/chauduyphanvu1/following{/other_user}","gists_url":"https://api.github.com/users/chauduyphanvu1/gists{/gist_id}","starred_url":"https://api.github.com/users/chauduyphanvu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chauduyphanvu1/subscriptions","organizations_url":"https://api.github.com/users/chauduyphanvu1/orgs","repos_url":"https://api.github.com/users/chauduyphanvu1/repos","events_url":"https://api.github.com/users/chauduyphanvu1/events{/privacy}","received_events_url":"https://api.github.com/users/chauduyphanvu1/received_events","type":"User","site_admin":false},"body":"Comment added. I'm just going to leave the thread part as-is since they both do the same thing (from a background thread).","created_at":"2018-05-11T22:33:04Z","updated_at":"2018-05-11T22:33:04Z","html_url":"https://github.com/mopub/mopub-android-mediation/pull/28#discussion_r187747698","pull_request_url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/comments/187747698"},"html":{"href":"https://github.com/mopub/mopub-android-mediation/pull/28#discussion_r187747698"},"pull_request":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28"}},"in_reply_to_id":187745051},"pull_request":{"url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28","id":187576914,"html_url":"https://github.com/mopub/mopub-android-mediation/pull/28","diff_url":"https://github.com/mopub/mopub-android-mediation/pull/28.diff","patch_url":"https://github.com/mopub/mopub-android-mediation/pull/28.patch","issue_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/28","number":28,"state":"open","locked":false,"title":"Move AdMob's isLoaded() reference to the main thread","user":{"login":"chauduyphanvu1","id":25616035,"avatar_url":"https://avatars0.githubusercontent.com/u/25616035?v=4","gravatar_id":"","url":"https://api.github.com/users/chauduyphanvu1","html_url":"https://github.com/chauduyphanvu1","followers_url":"https://api.github.com/users/chauduyphanvu1/followers","following_url":"https://api.github.com/users/chauduyphanvu1/following{/other_user}","gists_url":"https://api.github.com/users/chauduyphanvu1/gists{/gist_id}","starred_url":"https://api.github.com/users/chauduyphanvu1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chauduyphanvu1/subscriptions","organizations_url":"https://api.github.com/users/chauduyphanvu1/orgs","repos_url":"https://api.github.com/users/chauduyphanvu1/repos","events_url":"https://api.github.com/users/chauduyphanvu1/events{/privacy}","received_events_url":"https://api.github.com/users/chauduyphanvu1/received_events","type":"User","site_admin":false},"body":"This is for ADF-3407.","created_at":"2018-05-11T21:44:00Z","updated_at":"2018-05-11T22:33:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"457ccdd159a0d322da65dfc273d9eba0762bae01","assignee":null,"assignees":[],"requested_reviewers":[{"login":"rsatrasala","id":5702592,"avatar_url":"https://avatars2.githubusercontent.com/u/5702592?v=4","gravatar_id":"","url":"https://api.github.com/users/rsatrasala","html_url":"https://github.com/rsatrasala","followers_url":"https://api.github.com/users/rsatrasala/followers","following_url":"https://api.github.com/users/rsatrasala/following{/other_user}","gists_url":"https://api.github.com/users/rsatrasala/gists{/gist_id}","starred_url":"https://api.github.com/users/rsatrasala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsatrasala/subscriptions","organizations_url":"https://api.github.com/users/rsatrasala/orgs","repos_url":"https://api.github.com/users/rsatrasala/repos","events_url":"https://api.github.com/users/rsatrasala/events{/privacy}","received_events_url":"https://api.github.com/users/rsatrasala/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28/commits","review_comments_url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28/comments","review_comment_url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/28/comments","statuses_url":"https://api.github.com/repos/mopub/mopub-android-mediation/statuses/92f78f72e3b63af1e94dc8e7be36292cbe0f305f","head":{"label":"mopub:vchau-admob-isloaded","ref":"vchau-admob-isloaded","sha":"92f78f72e3b63af1e94dc8e7be36292cbe0f305f","user":{"login":"mopub","id":643116,"avatar_url":"https://avatars2.githubusercontent.com/u/643116?v=4","gravatar_id":"","url":"https://api.github.com/users/mopub","html_url":"https://github.com/mopub","followers_url":"https://api.github.com/users/mopub/followers","following_url":"https://api.github.com/users/mopub/following{/other_user}","gists_url":"https://api.github.com/users/mopub/gists{/gist_id}","starred_url":"https://api.github.com/users/mopub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopub/subscriptions","organizations_url":"https://api.github.com/users/mopub/orgs","repos_url":"https://api.github.com/users/mopub/repos","events_url":"https://api.github.com/users/mopub/events{/privacy}","received_events_url":"https://api.github.com/users/mopub/received_events","type":"Organization","site_admin":false},"repo":{"id":106736130,"name":"mopub-android-mediation","full_name":"mopub/mopub-android-mediation","owner":{"login":"mopub","id":643116,"avatar_url":"https://avatars2.githubusercontent.com/u/643116?v=4","gravatar_id":"","url":"https://api.github.com/users/mopub","html_url":"https://github.com/mopub","followers_url":"https://api.github.com/users/mopub/followers","following_url":"https://api.github.com/users/mopub/following{/other_user}","gists_url":"https://api.github.com/users/mopub/gists{/gist_id}","starred_url":"https://api.github.com/users/mopub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopub/subscriptions","organizations_url":"https://api.github.com/users/mopub/orgs","repos_url":"https://api.github.com/users/mopub/repos","events_url":"https://api.github.com/users/mopub/events{/privacy}","received_events_url":"https://api.github.com/users/mopub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mopub/mopub-android-mediation","description":null,"fork":false,"url":"https://api.github.com/repos/mopub/mopub-android-mediation","forks_url":"https://api.github.com/repos/mopub/mopub-android-mediation/forks","keys_url":"https://api.github.com/repos/mopub/mopub-android-mediation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mopub/mopub-android-mediation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mopub/mopub-android-mediation/teams","hooks_url":"https://api.github.com/repos/mopub/mopub-android-mediation/hooks","issue_events_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/events{/number}","events_url":"https://api.github.com/repos/mopub/mopub-android-mediation/events","assignees_url":"https://api.github.com/repos/mopub/mopub-android-mediation/assignees{/user}","branches_url":"https://api.github.com/repos/mopub/mopub-android-mediation/branches{/branch}","tags_url":"https://api.github.com/repos/mopub/mopub-android-mediation/tags","blobs_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mopub/mopub-android-mediation/statuses/{sha}","languages_url":"https://api.github.com/repos/mopub/mopub-android-mediation/languages","stargazers_url":"https://api.github.com/repos/mopub/mopub-android-mediation/stargazers","contributors_url":"https://api.github.com/repos/mopub/mopub-android-mediation/contributors","subscribers_url":"https://api.github.com/repos/mopub/mopub-android-mediation/subscribers","subscription_url":"https://api.github.com/repos/mopub/mopub-android-mediation/subscription","commits_url":"https://api.github.com/repos/mopub/mopub-android-mediation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mopub/mopub-android-mediation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mopub/mopub-android-mediation/contents/{+path}","compare_url":"https://api.github.com/repos/mopub/mopub-android-mediation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mopub/mopub-android-mediation/merges","archive_url":"https://api.github.com/repos/mopub/mopub-android-mediation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mopub/mopub-android-mediation/downloads","issues_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues{/number}","pulls_url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls{/number}","milestones_url":"https://api.github.com/repos/mopub/mopub-android-mediation/milestones{/number}","notifications_url":"https://api.github.com/repos/mopub/mopub-android-mediation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mopub/mopub-android-mediation/labels{/name}","releases_url":"https://api.github.com/repos/mopub/mopub-android-mediation/releases{/id}","deployments_url":"https://api.github.com/repos/mopub/mopub-android-mediation/deployments","created_at":"2017-10-12T19:25:41Z","updated_at":"2018-05-03T19:23:31Z","pushed_at":"2018-05-11T22:32:14Z","git_url":"git://github.com/mopub/mopub-android-mediation.git","ssh_url":"git@github.com:mopub/mopub-android-mediation.git","clone_url":"https://github.com/mopub/mopub-android-mediation.git","svn_url":"https://github.com/mopub/mopub-android-mediation","homepage":null,"size":617,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":16,"open_issues":4,"watchers":10,"default_branch":"master"}},"base":{"label":"mopub:master","ref":"master","sha":"a5a1b0ebddcbe2ed3e0098d4cbad092579a93fc4","user":{"login":"mopub","id":643116,"avatar_url":"https://avatars2.githubusercontent.com/u/643116?v=4","gravatar_id":"","url":"https://api.github.com/users/mopub","html_url":"https://github.com/mopub","followers_url":"https://api.github.com/users/mopub/followers","following_url":"https://api.github.com/users/mopub/following{/other_user}","gists_url":"https://api.github.com/users/mopub/gists{/gist_id}","starred_url":"https://api.github.com/users/mopub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopub/subscriptions","organizations_url":"https://api.github.com/users/mopub/orgs","repos_url":"https://api.github.com/users/mopub/repos","events_url":"https://api.github.com/users/mopub/events{/privacy}","received_events_url":"https://api.github.com/users/mopub/received_events","type":"Organization","site_admin":false},"repo":{"id":106736130,"name":"mopub-android-mediation","full_name":"mopub/mopub-android-mediation","owner":{"login":"mopub","id":643116,"avatar_url":"https://avatars2.githubusercontent.com/u/643116?v=4","gravatar_id":"","url":"https://api.github.com/users/mopub","html_url":"https://github.com/mopub","followers_url":"https://api.github.com/users/mopub/followers","following_url":"https://api.github.com/users/mopub/following{/other_user}","gists_url":"https://api.github.com/users/mopub/gists{/gist_id}","starred_url":"https://api.github.com/users/mopub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mopub/subscriptions","organizations_url":"https://api.github.com/users/mopub/orgs","repos_url":"https://api.github.com/users/mopub/repos","events_url":"https://api.github.com/users/mopub/events{/privacy}","received_events_url":"https://api.github.com/users/mopub/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mopub/mopub-android-mediation","description":null,"fork":false,"url":"https://api.github.com/repos/mopub/mopub-android-mediation","forks_url":"https://api.github.com/repos/mopub/mopub-android-mediation/forks","keys_url":"https://api.github.com/repos/mopub/mopub-android-mediation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mopub/mopub-android-mediation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mopub/mopub-android-mediation/teams","hooks_url":"https://api.github.com/repos/mopub/mopub-android-mediation/hooks","issue_events_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/events{/number}","events_url":"https://api.github.com/repos/mopub/mopub-android-mediation/events","assignees_url":"https://api.github.com/repos/mopub/mopub-android-mediation/assignees{/user}","branches_url":"https://api.github.com/repos/mopub/mopub-android-mediation/branches{/branch}","tags_url":"https://api.github.com/repos/mopub/mopub-android-mediation/tags","blobs_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mopub/mopub-android-mediation/statuses/{sha}","languages_url":"https://api.github.com/repos/mopub/mopub-android-mediation/languages","stargazers_url":"https://api.github.com/repos/mopub/mopub-android-mediation/stargazers","contributors_url":"https://api.github.com/repos/mopub/mopub-android-mediation/contributors","subscribers_url":"https://api.github.com/repos/mopub/mopub-android-mediation/subscribers","subscription_url":"https://api.github.com/repos/mopub/mopub-android-mediation/subscription","commits_url":"https://api.github.com/repos/mopub/mopub-android-mediation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mopub/mopub-android-mediation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mopub/mopub-android-mediation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mopub/mopub-android-mediation/contents/{+path}","compare_url":"https://api.github.com/repos/mopub/mopub-android-mediation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mopub/mopub-android-mediation/merges","archive_url":"https://api.github.com/repos/mopub/mopub-android-mediation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mopub/mopub-android-mediation/downloads","issues_url":"https://api.github.com/repos/mopub/mopub-android-mediation/issues{/number}","pulls_url":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls{/number}","milestones_url":"https://api.github.com/repos/mopub/mopub-android-mediation/milestones{/number}","notifications_url":"https://api.github.com/repos/mopub/mopub-android-mediation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mopub/mopub-android-mediation/labels{/name}","releases_url":"https://api.github.com/repos/mopub/mopub-android-mediation/releases{/id}","deployments_url":"https://api.github.com/repos/mopub/mopub-android-mediation/deployments","created_at":"2017-10-12T19:25:41Z","updated_at":"2018-05-03T19:23:31Z","pushed_at":"2018-05-11T22:32:14Z","git_url":"git://github.com/mopub/mopub-android-mediation.git","ssh_url":"git@github.com:mopub/mopub-android-mediation.git","clone_url":"https://github.com/mopub/mopub-android-mediation.git","svn_url":"https://github.com/mopub/mopub-android-mediation","homepage":null,"size":617,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":16,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28"},"html":{"href":"https://github.com/mopub/mopub-android-mediation/pull/28"},"issue":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/28"},"comments":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/mopub/mopub-android-mediation/statuses/92f78f72e3b63af1e94dc8e7be36292cbe0f305f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chauduyphanvu1"}}