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

Support for API 22 #2030

merged 9 commits into from Sep 14, 2015


None yet
3 participants

jongerrish commented Sep 10, 2015

Added missing methods to RoboWebSettings.
Make RobolectricActivityManager implement all API 22 methods.
Added conditional for ShadowLocaleData percent is now a String

jongerrish added some commits Sep 9, 2015

Added build config for API 22
Added missing methods to
Merge remote-tracking branch 'origin/support_api_22' into support_api_22
# Conflicts:
#	robolectric-shadows/shadows-core/src/main/resources/android/app/
#	robolectric-shadows/shadows-core/src/main/resources/org/robolectric/shadows/
ShadowAudioManager.isValidRingerMode() now calls through to a service…
… s copy the implementation from API 21 as a shadow implementation.

CookieManager is now an abstract class rather than a class of empty implementations. Create RobolectricCookieManager to provide these impleemntations and move the shadow implementations there.

Removed test in ShadowCookieManagerSyncTest and non-implementation methods from ShadowCookieManager as it is
only used from ShadowCookieSyncManagerTest whose class under test is deprecated and just calls through anyway.

@jongerrish jongerrish changed the title from Added build config for API 22 to Support for API 22 Sep 10, 2015

jongerrish added some commits Sep 11, 2015

Added dummy implementation for ShadowWindowManagerGlobal.getWindowMan…
…agerService() which always returned null

service on previous SDKs but since 22 now will make recursive calls till it gets a non-null.
Add support for @empty special value, this contrasts with @null as in…
…dicating explicitly empty rather than undefined.

The best documentation of this can be seen in the following commit:-!/

@erd erd merged commit b09519d into robolectric:master Sep 14, 2015

@erd erd referenced this pull request Sep 14, 2015


Support API 22 #1728

kriegfrj added a commit to kriegfrj/robolectric that referenced this pull request Sep 15, 2015


This comment has been minimized.

cperry-gpsw commented Oct 13, 2015

What version of Robolectric is this in?


This comment has been minimized.


erd commented Oct 13, 2015


ismail-s added a commit to ismail-s/KISS that referenced this pull request Nov 20, 2015

@jongerrish jongerrish deleted the jongerrish:support_api_22 branch Feb 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment