{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/15","id":68965942,"html_url":"https://github.com/MarshRom/android_packages_apps_Trebuchet/pull/15","diff_url":"https://github.com/MarshRom/android_packages_apps_Trebuchet/pull/15.diff","patch_url":"https://github.com/MarshRom/android_packages_apps_Trebuchet/pull/15.patch","issue_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues/15","number":15,"state":"closed","locked":false,"title":"Prevent widget previews from showing empty images.","user":{"login":"Aaahh","id":3966556,"avatar_url":"https://avatars.githubusercontent.com/u/3966556?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaahh","html_url":"https://github.com/Aaahh","followers_url":"https://api.github.com/users/Aaahh/followers","following_url":"https://api.github.com/users/Aaahh/following{/other_user}","gists_url":"https://api.github.com/users/Aaahh/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaahh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaahh/subscriptions","organizations_url":"https://api.github.com/users/Aaahh/orgs","repos_url":"https://api.github.com/users/Aaahh/repos","events_url":"https://api.github.com/users/Aaahh/events{/privacy}","received_events_url":"https://api.github.com/users/Aaahh/received_events","type":"User","site_admin":false},"body":"When scrolling through the widget drawer, we submit multiple\r\nAsyncTasks to load and display preview images. On certain\r\ndevices, attempting to load these images from\r\nAppWidgetManagerCompat (when we are generating previews for\r\nthe first time) on a multi-threaded executor can cause us\r\nto receive empty images. To avoid this, we allow preview\r\nloading from the cache on a multi-threaded executor, but\r\ndefer preview generation to a single-threaded executor.\r\n\r\nAdditionally, the read and write db methods were not using\r\nthe same ComponentName output (flattenToString vs\r\nflattenToSimpleString), which was resulting in consistent\r\ncache misses that forced unnecessary preview regeneration.\r\nThis has been unified so we properly load from the cache.\r\n\r\nChange-Id: I3a90cf88fed531713e5d2df876f4ede822f7d569\r\nissue-id: FEIJ-346","created_at":"2016-05-05T04:47:45Z","updated_at":"2016-05-05T04:47:55Z","closed_at":"2016-05-05T04:47:55Z","merged_at":"2016-05-05T04:47:55Z","merge_commit_sha":"3883eb0f69a540c0f4cc83ba221e2a220fb07fa2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/15/commits","review_comments_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/15/comments","review_comment_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues/15/comments","statuses_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/statuses/dd6f2a2891a8445591be3e9fa53db293d7fd880b","head":{"label":"CyanogenMod:cm-13.0","ref":"cm-13.0","sha":"dd6f2a2891a8445591be3e9fa53db293d7fd880b","user":{"login":"CyanogenMod","id":317721,"avatar_url":"https://avatars.githubusercontent.com/u/317721?v=3","gravatar_id":"","url":"https://api.github.com/users/CyanogenMod","html_url":"https://github.com/CyanogenMod","followers_url":"https://api.github.com/users/CyanogenMod/followers","following_url":"https://api.github.com/users/CyanogenMod/following{/other_user}","gists_url":"https://api.github.com/users/CyanogenMod/gists{/gist_id}","starred_url":"https://api.github.com/users/CyanogenMod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyanogenMod/subscriptions","organizations_url":"https://api.github.com/users/CyanogenMod/orgs","repos_url":"https://api.github.com/users/CyanogenMod/repos","events_url":"https://api.github.com/users/CyanogenMod/events{/privacy}","received_events_url":"https://api.github.com/users/CyanogenMod/received_events","type":"Organization","site_admin":false},"repo":{"id":3044195,"name":"android_packages_apps_Trebuchet","full_name":"CyanogenMod/android_packages_apps_Trebuchet","owner":{"login":"CyanogenMod","id":317721,"avatar_url":"https://avatars.githubusercontent.com/u/317721?v=3","gravatar_id":"","url":"https://api.github.com/users/CyanogenMod","html_url":"https://github.com/CyanogenMod","followers_url":"https://api.github.com/users/CyanogenMod/followers","following_url":"https://api.github.com/users/CyanogenMod/following{/other_user}","gists_url":"https://api.github.com/users/CyanogenMod/gists{/gist_id}","starred_url":"https://api.github.com/users/CyanogenMod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyanogenMod/subscriptions","organizations_url":"https://api.github.com/users/CyanogenMod/orgs","repos_url":"https://api.github.com/users/CyanogenMod/repos","events_url":"https://api.github.com/users/CyanogenMod/events{/privacy}","received_events_url":"https://api.github.com/users/CyanogenMod/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CyanogenMod/android_packages_apps_Trebuchet","description":"Trebuchet Launcher","fork":false,"url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet","forks_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/forks","keys_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/teams","hooks_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/hooks","issue_events_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/issues/events{/number}","events_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/events","assignees_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/assignees{/user}","branches_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/branches{/branch}","tags_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/tags","blobs_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/git/refs{/sha}","trees_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/statuses/{sha}","languages_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/languages","stargazers_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/stargazers","contributors_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/contributors","subscribers_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/subscribers","subscription_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/subscription","commits_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/commits{/sha}","git_commits_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/git/commits{/sha}","comments_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/comments{/number}","issue_comment_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/issues/comments{/number}","contents_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/contents/{+path}","compare_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/merges","archive_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/downloads","issues_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/issues{/number}","pulls_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/pulls{/number}","milestones_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/milestones{/number}","notifications_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/labels{/name}","releases_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/releases{/id}","deployments_url":"https://api.github.com/repos/CyanogenMod/android_packages_apps_Trebuchet/deployments","created_at":"2011-12-24T08:53:30Z","updated_at":"2016-04-28T06:15:37Z","pushed_at":"2016-05-04T21:18:45Z","git_url":"git://github.com/CyanogenMod/android_packages_apps_Trebuchet.git","ssh_url":"git@github.com:CyanogenMod/android_packages_apps_Trebuchet.git","clone_url":"https://github.com/CyanogenMod/android_packages_apps_Trebuchet.git","svn_url":"https://github.com/CyanogenMod/android_packages_apps_Trebuchet","homepage":"http://cyanogenmod.com","size":145688,"stargazers_count":377,"watchers_count":377,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":493,"mirror_url":null,"open_issues_count":2,"forks":493,"open_issues":2,"watchers":377,"default_branch":"cm-13.0"}},"base":{"label":"MarshRom:cm-13.0","ref":"cm-13.0","sha":"aa517e8234a33bad3ab370fb3f6a5335499de1a4","user":{"login":"MarshRom","id":16374087,"avatar_url":"https://avatars.githubusercontent.com/u/16374087?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshRom","html_url":"https://github.com/MarshRom","followers_url":"https://api.github.com/users/MarshRom/followers","following_url":"https://api.github.com/users/MarshRom/following{/other_user}","gists_url":"https://api.github.com/users/MarshRom/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshRom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshRom/subscriptions","organizations_url":"https://api.github.com/users/MarshRom/orgs","repos_url":"https://api.github.com/users/MarshRom/repos","events_url":"https://api.github.com/users/MarshRom/events{/privacy}","received_events_url":"https://api.github.com/users/MarshRom/received_events","type":"Organization","site_admin":false},"repo":{"id":52236735,"name":"android_packages_apps_Trebuchet","full_name":"MarshRom/android_packages_apps_Trebuchet","owner":{"login":"MarshRom","id":16374087,"avatar_url":"https://avatars.githubusercontent.com/u/16374087?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshRom","html_url":"https://github.com/MarshRom","followers_url":"https://api.github.com/users/MarshRom/followers","following_url":"https://api.github.com/users/MarshRom/following{/other_user}","gists_url":"https://api.github.com/users/MarshRom/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshRom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshRom/subscriptions","organizations_url":"https://api.github.com/users/MarshRom/orgs","repos_url":"https://api.github.com/users/MarshRom/repos","events_url":"https://api.github.com/users/MarshRom/events{/privacy}","received_events_url":"https://api.github.com/users/MarshRom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarshRom/android_packages_apps_Trebuchet","description":"Trebuchet Launcher","fork":true,"url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet","forks_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/forks","keys_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/teams","hooks_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/hooks","issue_events_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues/events{/number}","events_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/events","assignees_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/assignees{/user}","branches_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/branches{/branch}","tags_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/tags","blobs_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/statuses/{sha}","languages_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/languages","stargazers_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/stargazers","contributors_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/contributors","subscribers_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/subscribers","subscription_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/subscription","commits_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/contents/{+path}","compare_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/merges","archive_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/downloads","issues_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues{/number}","pulls_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls{/number}","milestones_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/milestones{/number}","notifications_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/labels{/name}","releases_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/releases{/id}","deployments_url":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/deployments","created_at":"2016-02-22T00:49:05Z","updated_at":"2016-02-22T00:49:08Z","pushed_at":"2016-05-05T04:47:55Z","git_url":"git://github.com/MarshRom/android_packages_apps_Trebuchet.git","ssh_url":"git@github.com:MarshRom/android_packages_apps_Trebuchet.git","clone_url":"https://github.com/MarshRom/android_packages_apps_Trebuchet.git","svn_url":"https://github.com/MarshRom/android_packages_apps_Trebuchet","homepage":"http://cyanogenmod.com","size":126267,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"cm-13.0"}},"_links":{"self":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/15"},"html":{"href":"https://github.com/MarshRom/android_packages_apps_Trebuchet/pull/15"},"issue":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues/15"},"comments":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/MarshRom/android_packages_apps_Trebuchet/statuses/dd6f2a2891a8445591be3e9fa53db293d7fd880b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Aaahh","id":3966556,"avatar_url":"https://avatars.githubusercontent.com/u/3966556?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaahh","html_url":"https://github.com/Aaahh","followers_url":"https://api.github.com/users/Aaahh/followers","following_url":"https://api.github.com/users/Aaahh/following{/other_user}","gists_url":"https://api.github.com/users/Aaahh/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaahh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaahh/subscriptions","organizations_url":"https://api.github.com/users/Aaahh/orgs","repos_url":"https://api.github.com/users/Aaahh/repos","events_url":"https://api.github.com/users/Aaahh/events{/privacy}","received_events_url":"https://api.github.com/users/Aaahh/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":166,"deletions":80,"changed_files":3}}