package com.xtremelabs.robolectric.shadows;

import com.xtremelabs.robolectric.util.Implementation;
import com.xtremelabs.robolectric.util.Implements;

import android.media.AudioManager;

@SuppressWarnings({"UnusedDeclaration"})
@Implements(AudioManager.class)
public class ShadowAudioManager {
	
	private int streamMaxVolume = 15;
	private int streamVolume = 7;

	private int flags;
	
	@Implementation
	public int getStreamMaxVolume(int streamType) {
		return streamMaxVolume;
	}
	
	@Implementation
	int getStreamVolume(int streamType) {
		return streamVolume;
	}
	
	@Implementation
	void setStreamVolume(int streamType, int index, int flags) {
		this.streamVolume = index;
		this.flags = flags;
	}

	public int getStreamMaxVolume() {
		return streamMaxVolume;
	}

	public void setStreamMaxVolume(int streamMaxVolume) {
		this.streamMaxVolume = streamMaxVolume;
	}

	public int getStreamVolume() {
		return streamVolume;
	}

	public void setStreamVolume(int streamVolume) {
		this.streamVolume = streamVolume;
	}

	public int getFlags() {
		return flags;
	}

	public void setFlags(int flags) {
		this.flags = flags;
	}
	
}

@@ -494,16 +494,23 @@
 tation%0A%09
+public 
 int getS
@@ -585,16 +585,23 @@
 tation%0A%09
+public 
 void set

Fix missing public decls that were breaking tests