Skip to content
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

Default scheduler handling for storIOContentResolver #661

Merged
merged 1 commit into from Jul 21, 2016

Conversation

nikitin-da
Copy link
Collaborator

@nikitin-da nikitin-da commented Jun 11, 2016

The second part of #511

@nikitin-da nikitin-da added this to the v1.10.0 milestone Jun 11, 2016
@nikitin-da nikitin-da self-assigned this Jun 11, 2016
@codecov-io
Copy link

codecov-io commented Jun 11, 2016

Current coverage is 95.95%

Merging #661 into master will decrease coverage by 0.10%

@@             master       #661   diff @@
==========================================
  Files            86         87     +1   
  Lines          2484       2445    -39   
  Methods           0          0          
  Messages          0          0          
  Branches        322        326     +4   
==========================================
- Hits           2386       2346    -40   
  Misses           69         69          
- Partials         29         30     +1   

Powered by Codecov. Last updated by 2e5c207...5cfa25a

@@ -139,6 +155,9 @@ public CompleteBuilder contentResolver(@NonNull ContentResolver contentResolver)
@Nullable
private Handler contentObserverHandler;

@Nullable
private Scheduler defaultScheduler = RX_JAVA_IS_IN_THE_CLASS_PATH ? Schedulers.io() : null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nikitin-da nikitin-da force-pushed the issue-511-content-resolver branch 2 times, most recently from 25c1e1f to 8e7f98a Compare July 20, 2016 08:45
.contentResolver(mock(ContentResolver.class))
.build();

assertThat(storIOContentResolver.defaultScheduler()).isEqualTo(io());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isSameAs()

@artem-zinnatullin
Copy link
Member

👍 (few nits)

Dude this is crazy!
screen shot 2016-07-20 at 23 50 22

@nikitin-da
Copy link
Collaborator Author

@artem-zinnatullin hehe, but 0.1% decrease 😿

@artem-zinnatullin artem-zinnatullin merged commit dffc45d into master Jul 21, 2016
@artem-zinnatullin artem-zinnatullin deleted the issue-511-content-resolver branch July 21, 2016 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants