{"action":"created","issue":{"url":"https://api.github.com/repos/sampalmer/android-auto-rotate/issues/58","labels_url":"https://api.github.com/repos/sampalmer/android-auto-rotate/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/sampalmer/android-auto-rotate/issues/58/comments","events_url":"https://api.github.com/repos/sampalmer/android-auto-rotate/issues/58/events","html_url":"https://github.com/sampalmer/android-auto-rotate/issues/58","id":71023627,"number":58,"title":"Retains current orientation on uninstall","user":{"login":"sampalmer","id":4566802,"avatar_url":"https://avatars.githubusercontent.com/u/4566802?v=3","gravatar_id":"","url":"https://api.github.com/users/sampalmer","html_url":"https://github.com/sampalmer","followers_url":"https://api.github.com/users/sampalmer/followers","following_url":"https://api.github.com/users/sampalmer/following{/other_user}","gists_url":"https://api.github.com/users/sampalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/sampalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampalmer/subscriptions","organizations_url":"https://api.github.com/users/sampalmer/orgs","repos_url":"https://api.github.com/users/sampalmer/repos","events_url":"https://api.github.com/users/sampalmer/events{/privacy}","received_events_url":"https://api.github.com/users/sampalmer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sampalmer/android-auto-rotate/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-26T07:08:58Z","updated_at":"2015-05-03T22:50:05Z","closed_at":"2015-05-03T22:50:05Z","body":"This is because `USER_ROTATION`, which is a user-wide system setting, is used. This should somehow be reset on uninstall. Looks like detecting an uninstall is practically impossible though, although it might be possible with root access, perhaps by reading the system logs.\r\n\r\nIf if this is fixed, ensure out-of-memory situations don't cause service restarts, which could result in the screen orientation changing repeatedly. Instead, just issue an environment error.\r\n"},"comment":{"url":"https://api.github.com/repos/sampalmer/android-auto-rotate/issues/comments/98553384","html_url":"https://github.com/sampalmer/android-auto-rotate/issues/58#issuecomment-98553384","issue_url":"https://api.github.com/repos/sampalmer/android-auto-rotate/issues/58","id":98553384,"user":{"login":"sampalmer","id":4566802,"avatar_url":"https://avatars.githubusercontent.com/u/4566802?v=3","gravatar_id":"","url":"https://api.github.com/users/sampalmer","html_url":"https://github.com/sampalmer","followers_url":"https://api.github.com/users/sampalmer/followers","following_url":"https://api.github.com/users/sampalmer/following{/other_user}","gists_url":"https://api.github.com/users/sampalmer/gists{/gist_id}","starred_url":"https://api.github.com/users/sampalmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampalmer/subscriptions","organizations_url":"https://api.github.com/users/sampalmer/orgs","repos_url":"https://api.github.com/users/sampalmer/repos","events_url":"https://api.github.com/users/sampalmer/events{/privacy}","received_events_url":"https://api.github.com/users/sampalmer/received_events","type":"User","site_admin":false},"created_at":"2015-05-03T22:50:05Z","updated_at":"2015-05-03T22:50:05Z","body":"Can't do much about this without root, which I think is too much work."}}