android SyncManager

SyncManager

static {
final boolean isLargeRAM = !ActivityManager.isLowRamDeviceStatic();
int defaultMaxInitSyncs = isLargeRAM ? 5 : 2;
int defaultMaxRegularSyncs = isLargeRAM ? 2 : 1;
MAX_SIMULTANEOUS_INITIALIZATION_SYNCS =
SystemProperties.getInt(“sync.max_init_syncs”, defaultMaxInitSyncs);
MAX_SIMULTANEOUS_REGULAR_SYNCS =
SystemProperties.getInt(“sync.max_regular_syncs”, defaultMaxRegularSyncs);
LOCAL_SYNC_DELAY =
SystemProperties.getLong(“sync.local_sync_delay”, 30 * 1000 /* 30 seconds */);
MAX_TIME_PER_SYNC =
SystemProperties.getLong(“sync.max_time_per_sync”, 5 * 60 * 1000 /* 5 minutes */);
SYNC_NOTIFICATION_DELAY =
SystemProperties.getLong(“sync.notification_delay”, 30 * 1000 /* 30 seconds */);
}

miui version converter