New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add getCurrentSyncs() in ShadowContentResolver #7225
Conversation
shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
Show resolved
Hide resolved
shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
Show resolved
Hide resolved
Please read https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue to learn how to link your PR with issue. |
robolectric/src/test/java/org/robolectric/shadows/ShadowContentResolverTest.java
Show resolved
Hide resolved
shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
Outdated
Show resolved
Hide resolved
shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
Outdated
Show resolved
Hide resolved
shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
Outdated
Show resolved
Hide resolved
shadows/framework/src/main/java/org/robolectric/shadows/ShadowContentResolver.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Akshay2131 . LGTM. cc @hoisie.
Hi @hoisie , could you help to review this PR? Thanks. |
Not a big deal, but in general I like to see formatting changes in separate commits, as it keeps git commit history cleaner. |
I prefer to combine formatting with related changed, because code change maybe bring new formatting problem. If separate commits for formatting are acceptable, I will not request contributors to do it at later review progress. |
Overview
Added getCurrentSyncs() in ShadowContentResolver.
Close #7191
Proposed Changes
Added getCurrentSyncs() method will return a list of currently active syncs,