[third_party] Avoid saving Robolectric shadow instances; instead, save the real framework object, and get its shadow when needed using Shadows.shadowOf(). Call Android framework methods directly on the framework object instead of its shadow whenever possible.
LSC: []
Additional details: []
Cleanup change automatically generated by javacflume/refactory
Refactoring: //third_party/java_src/robolectric/errorprone:ShadowUsageCheck
Tested:
TAP --sample for global presubmit queue
[]
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=207014379
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| CacheAsserts.java | Loading commit data... | |
| FakeMediaClockRenderer.java | Loading commit data... | |
| FakeShuffleOrder.java | Loading commit data... | |
| FakeTrackSelection.java | Loading commit data... | |
| FakeTrackSelector.java | Loading commit data... | |
| MediaSourceTestRunner.java | Loading commit data... | |
| OggTestData.java | Loading commit data... | |
| RobolectricUtil.java | Loading commit data... | |
| StubExoPlayer.java | Loading commit data... | |
| TestDownloadManagerListener.java | Loading commit data... | |
| TimelineAsserts.java | Loading commit data... |