{"action":"created","issue":{"url":"https://api.github.com/repos/haiwen/seadroid/issues/514","repository_url":"https://api.github.com/repos/haiwen/seadroid","labels_url":"https://api.github.com/repos/haiwen/seadroid/issues/514/labels{/name}","comments_url":"https://api.github.com/repos/haiwen/seadroid/issues/514/comments","events_url":"https://api.github.com/repos/haiwen/seadroid/issues/514/events","html_url":"https://github.com/haiwen/seadroid/pull/514","id":150934780,"number":514,"title":"Camera upload: enabling global sync on android","user":{"login":"forouher","id":676900,"avatar_url":"https://avatars.githubusercontent.com/u/676900?v=3","gravatar_id":"","url":"https://api.github.com/users/forouher","html_url":"https://github.com/forouher","followers_url":"https://api.github.com/users/forouher/followers","following_url":"https://api.github.com/users/forouher/following{/other_user}","gists_url":"https://api.github.com/users/forouher/gists{/gist_id}","starred_url":"https://api.github.com/users/forouher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forouher/subscriptions","organizations_url":"https://api.github.com/users/forouher/orgs","repos_url":"https://api.github.com/users/forouher/repos","events_url":"https://api.github.com/users/forouher/events{/privacy}","received_events_url":"https://api.github.com/users/forouher/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-25T17:43:26Z","updated_at":"2016-04-26T09:07:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/haiwen/seadroid/pulls/514","html_url":"https://github.com/haiwen/seadroid/pull/514","diff_url":"https://github.com/haiwen/seadroid/pull/514.diff","patch_url":"https://github.com/haiwen/seadroid/pull/514.patch"},"body":"this enables global sync on android whenever seadroid camera upload is being enabled.\r\n\r\nThis is a quick hack and should never be merged! Its just to check if this might\r\nwork on certain custom ROM devices.\r\n\r\nIf this actually enables global sync, we have to add some crucial UI. This guy makes\r\nsome good comments regarding that: http://stackoverflow.com/a/11524302"},"comment":{"url":"https://api.github.com/repos/haiwen/seadroid/issues/comments/214677388","html_url":"https://github.com/haiwen/seadroid/pull/514#issuecomment-214677388","issue_url":"https://api.github.com/repos/haiwen/seadroid/issues/514","id":214677388,"user":{"login":"Logan676","id":2975850,"avatar_url":"https://avatars.githubusercontent.com/u/2975850?v=3","gravatar_id":"","url":"https://api.github.com/users/Logan676","html_url":"https://github.com/Logan676","followers_url":"https://api.github.com/users/Logan676/followers","following_url":"https://api.github.com/users/Logan676/following{/other_user}","gists_url":"https://api.github.com/users/Logan676/gists{/gist_id}","starred_url":"https://api.github.com/users/Logan676/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Logan676/subscriptions","organizations_url":"https://api.github.com/users/Logan676/orgs","repos_url":"https://api.github.com/users/Logan676/repos","events_url":"https://api.github.com/users/Logan676/events{/privacy}","received_events_url":"https://api.github.com/users/Logan676/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T09:07:45Z","updated_at":"2016-04-26T09:07:45Z","body":"> Its just to check if this might work on certain custom ROM devices.\r\n\r\nYes, it works. \r\n\r\nBut as below quoted saying, I think we\\`d better not do this.\r\n\r\n> But in doing so, you really need to consider whether you're going over the user's head to make decisions about how their phone works. This can help users who don't know how to work their phones, and will seriously piss off users who do.\r\n\r\n> The furthest I personally would go is to perhaps popup a dialog to the user when they configure sync -- \"Sync is configured, but will not be performed until Auto-Sync is turned on in the Accounts & Sync page. Would you like to turn Auto-Sync on?\" and then fire an intent to take them them to the A&S page to turn it on if they say yes. That helps a user understand how their phone works, rather than just changing things behind their back and making it even more a mystery.\r\n\r\nPopup a dialog is allowd and may provides a better user experience I think."}}