shadows/framework/src/main/java/org/robolectric/shadows/ShadowAudioManager.java
@Implementation(minSdk = O)
  protected int abandonAudioFocusRequest(android.media.AudioFocusRequest audioFocusRequest) {
    lastAbandonedAudioFocusRequest = audioFocusRequest;
    return nextResponseValue;
  }
@Implementation(minSdk = O)
  protected int abandonAudioFocusRequest(android.media.AudioFocusRequest audioFocusRequest) {
    lastAbandonedAudioFocusRequest = audioFocusRequest;
    return nextResponseValue;
  }
@ Implementation ( minSdk = O ) protected int abandonAudioFocusRequest ( android . media . AudioFocusRequest audioFocusRequest ) { lastAbandonedAudioFocusRequest = audioFocusRequest ; return nextResponseValue ; }
Provides a mock like interface for the abandonAudioFocusRequest method by storing the request
object for later inspection and returning the value specified in setNextFocusRequestResponse.
Provides a mock like interface for the abandonAudioFocusRequest method by storing the request object for later inspection and returning the value specified in setNextFocusRequestResponse .