am f39645cc
: DO NOT MERGE: Work around framework bug related to service start
* commit 'f39645ccef07a272d42b902c1558c5067ca249c3': DO NOT MERGE: Work around framework bug related to service start
This commit is contained in:
commit
5d9f9a41b2
@ -1773,6 +1773,9 @@ public class SyncManager extends Service implements Runnable {
|
||||
// Run the reconciler and clean up any mismatched accounts - if we weren't running when
|
||||
// accounts were deleted, it won't have been called.
|
||||
runAccountReconciler();
|
||||
// Work around framework bug in which a call to onStartCommand is not guaranteed unless
|
||||
// there is a posted Intent
|
||||
startService(new Intent(this, SyncManager.class));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user