Class ShadowLegacySystemClock

java.lang.Object
org.robolectric.shadows.ShadowSystemClock
org.robolectric.shadows.ShadowLegacySystemClock

@Implements(value=android.os.SystemClock.class,
            shadowPicker=Picker.class,
            isInAndroidSdk=false)
public class ShadowLegacySystemClock
extends ShadowSystemClock
A shadow SystemClock for LooperMode.Mode.LEGACY

In LEGACY LooperMode, Robolectric's concept of current time is base on the current time of the UI Scheduler for consistency with previous implementations. This is not ideal, since both schedulers (background and foreground), can see different values for the current time.