{"action":"created","issue":{"url":"https://api.github.com/repos/googlesamples/android-testdpc/issues/8","repository_url":"https://api.github.com/repos/googlesamples/android-testdpc","labels_url":"https://api.github.com/repos/googlesamples/android-testdpc/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/googlesamples/android-testdpc/issues/8/comments","events_url":"https://api.github.com/repos/googlesamples/android-testdpc/issues/8/events","html_url":"https://github.com/googlesamples/android-testdpc/issues/8","id":162662369,"number":8,"title":"Settings app crashes while removing device owner.","user":{"login":"amalChandran","id":4386056,"avatar_url":"https://avatars.githubusercontent.com/u/4386056?v=3","gravatar_id":"","url":"https://api.github.com/users/amalChandran","html_url":"https://github.com/amalChandran","followers_url":"https://api.github.com/users/amalChandran/followers","following_url":"https://api.github.com/users/amalChandran/following{/other_user}","gists_url":"https://api.github.com/users/amalChandran/gists{/gist_id}","starred_url":"https://api.github.com/users/amalChandran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amalChandran/subscriptions","organizations_url":"https://api.github.com/users/amalChandran/orgs","repos_url":"https://api.github.com/users/amalChandran/repos","events_url":"https://api.github.com/users/amalChandran/events{/privacy}","received_events_url":"https://api.github.com/users/amalChandran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-28T11:23:07Z","updated_at":"2016-06-29T15:25:58Z","closed_at":"2016-06-29T13:12:12Z","body":"Steps to reproduce:\r\n\r\n1. Enable an App1 as device owner. Setup kiosk by making one of the activity as home launcher. \r\n2. Start lock task on ActivityA.\r\n3. Stop lock task on a different activity(Accidentally).\r\n Do step three multiple times. \r\n\r\n Trying to uninstll App1 will take us to Device Administration Settings page. Unticking App1 as device owner crashes the Settings app.\r\n\r\nNow the App1 can never be unistalled.\r\n\r\nDevice used: Moto g2 (Android M)\r\n\r\n![device-2016-06-28-165053](https://cloud.githubusercontent.com/assets/4386056/16413608/88e82bca-3d50-11e6-864c-83b1e6e5df04.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/googlesamples/android-testdpc/issues/comments/229392154","html_url":"https://github.com/googlesamples/android-testdpc/issues/8#issuecomment-229392154","issue_url":"https://api.github.com/repos/googlesamples/android-testdpc/issues/8","id":229392154,"user":{"login":"ming030890","id":2291115,"avatar_url":"https://avatars.githubusercontent.com/u/2291115?v=3","gravatar_id":"","url":"https://api.github.com/users/ming030890","html_url":"https://github.com/ming030890","followers_url":"https://api.github.com/users/ming030890/followers","following_url":"https://api.github.com/users/ming030890/following{/other_user}","gists_url":"https://api.github.com/users/ming030890/gists{/gist_id}","starred_url":"https://api.github.com/users/ming030890/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ming030890/subscriptions","organizations_url":"https://api.github.com/users/ming030890/orgs","repos_url":"https://api.github.com/users/ming030890/repos","events_url":"https://api.github.com/users/ming030890/events{/privacy}","received_events_url":"https://api.github.com/users/ming030890/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T15:25:58Z","updated_at":"2016-06-29T15:25:58Z","body":"Fail to reproduce it in android N, it should be fixed. "}}
{"actor":{"display_login":"ming030890"}}