{"action":"closed","issue":{"url":"https://api.github.com/repos/twinone/AppLocker/issues/36","labels_url":"https://api.github.com/repos/twinone/AppLocker/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/twinone/AppLocker/issues/36/comments","events_url":"https://api.github.com/repos/twinone/AppLocker/issues/36/events","html_url":"https://github.com/twinone/AppLocker/issues/36","id":98736149,"number":36,"title":"Background loading","user":{"login":"twinone","id":4309591,"avatar_url":"https://avatars.githubusercontent.com/u/4309591?v=3","gravatar_id":"","url":"https://api.github.com/users/twinone","html_url":"https://github.com/twinone","followers_url":"https://api.github.com/users/twinone/followers","following_url":"https://api.github.com/users/twinone/following{/other_user}","gists_url":"https://api.github.com/users/twinone/gists{/gist_id}","starred_url":"https://api.github.com/users/twinone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twinone/subscriptions","organizations_url":"https://api.github.com/users/twinone/orgs","repos_url":"https://api.github.com/users/twinone/repos","events_url":"https://api.github.com/users/twinone/events{/privacy}","received_events_url":"https://api.github.com/users/twinone/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-03T12:49:19Z","updated_at":"2015-08-07T21:12:34Z","closed_at":"2015-08-07T21:12:34Z","body":"Optimize image loading.\r\n\r\nCurrently when the user selects a image from the Gallery to be the background image it's typically pretty big (multiple times bigger than the screen size). This slows down loading. And we're currently rotating the loaded image according to its EXIF tags, which dramatically slows down the process to show the lock screen when an app has been opened.\r\n\r\nSee the loading time difference with background enabled and disabled.\r\n\r\n**Solution**:\r\n* Loading a 4x smaller image into the background before showing the lock screen and loading the high-res image asynchronously. The user will se a pretty clear image get just a bit better after the big image got decoded.\r\n* Rotate the image when the user picks it, instead of at loading time. This way we reduce the loading time significantly.\r\n\r\n\r\n"}}