diff --git a/src/android/ServerSyncAdapter.java b/src/android/ServerSyncAdapter.java index 665258a..70be968 100644 --- a/src/android/ServerSyncAdapter.java +++ b/src/android/ServerSyncAdapter.java @@ -164,6 +164,7 @@ public void onPerformSync(Account account, Bundle extras, String authority, * geofences are never exited. */ TripDiaryStateMachineReceiver.validateAndCleanupState(cachedContext); + TripDiaryStateMachineReceiver.saveBatteryAndSimulateUser(cachedContext); // We are sending this only locally, so we don't care about the URI and so on. Intent localIntent = new Intent("edu.berkeley.eecs.emission.sync.NEW_DATA"); Bundle b = new Bundle();