)]}' { "commit": "1967c8ddd5bb46958b732002d391e4276c0710c4", "tree": "058964a9b55701d5f013d7169195f73843aa2270", "parents": [ "42376d6482804ac240fc84a75e50e7fae478b744" ], "author": { "name": "Matthew Williams", "email": "mjwilliams@google.com", "time": "Fri Jun 19 19:03:13 2015 -0700" }, "committer": { "name": "Matthew Williams", "email": "mjwilliams@google.com", "time": "Mon Jun 22 14:36:36 2015 -0700" }, "message": "Cancel Syncs that aren\u0027t making progress.\n\nBUG: 18266674\n1) If a sync has up/downloaded less than 10bytes in 60 seconds it is\nconsidered to be making no progress and is summarily cancelled.\n\n2) Apply a 30min hard time-out to initialization syncs.\n\nNote that there is little proof that cancelling a sync has an\nimpact. All it results in is a Thread.interrupt on the sync\nthread, which the adapter must itself implement. To this effect\nthis CL also updates the javadoc to make this clearer, and adds\nsome (unimplemented) threats about killing the hosting process.\n\nChange-Id: I83c447648152ccbf76bb1fbd7e9216e01a37952f\n", "tree_diff": [ { "type": "modify", "old_id": "809f900222c55d22208c195777a525ff64a24f3d", "old_mode": 33188, "old_path": "core/java/android/content/AbstractThreadedSyncAdapter.java", "new_id": "d4dee5b9bc6addfe1bdc30a9ecd551f1a08e678e", "new_mode": 33188, "new_path": "core/java/android/content/AbstractThreadedSyncAdapter.java" }, { "type": "modify", "old_id": "2eb8797916679d642119cb98156b524a9b36476c", "old_mode": 33188, "old_path": "services/core/java/com/android/server/content/SyncManager.java", "new_id": "c3764ca577a696594ee4ecf4e01c8de13cc1a53f", "new_mode": 33188, "new_path": "services/core/java/com/android/server/content/SyncManager.java" } ] }