[third_party] Avoid saving Robolectric shadow instances; instead, save the...
[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=204784445
Showing
想要评论请 注册 或 登录