OSDN Git Service

Use pending.xml to persist sync ops.
authorMatthew Williams <mjwilliams@google.com>
Tue, 13 Aug 2013 22:53:31 +0000 (15:53 -0700)
committerMatthew Williams <mjwilliams@google.com>
Fri, 16 Aug 2013 19:01:22 +0000 (12:01 -0700)
commitba35271e91648c9cde2bb606aaf2001282231b07
tree833f8ec64cd9f1c853414580f3fadd7a41a9c3d1
parent2241d45c68739e5bdf187ba3325ee237ef143e21
Use pending.xml to persist sync ops.

Support pending ops by producing badly formed xml.
fixed bug that stopped alarm manager from updating if the
next alarm time is in the past.
Use new AlarmManager API for old AM behaviour - to set
exact alarms.

Change-Id: I57090f9c7155996298be7ec968a88f17ac1938a7
services/java/com/android/server/content/SyncManager.java
services/java/com/android/server/content/SyncStorageEngine.java
services/tests/servicestests/src/com/android/server/content/SyncStorageEngineTest.java