Constructor for CastDeviceStatus

This commit is contained in:
Adam Mills 2018-08-25 18:49:17 -04:00 committed by Marvin W
parent dfb401696f
commit feeff75ab1
1 changed files with 11 additions and 0 deletions

View File

@ -21,6 +21,17 @@ import org.microg.safeparcel.SafeParceled;
public class CastDeviceStatus extends AutoSafeParcelable {
public CastDeviceStatus() {
}
public CastDeviceStatus(double volume, boolean mute, int activeInputState, ApplicationMetadata applicationMetadata, int standbyState) {
this.volume = volume;
this.mute = mute;
this.activeInputState = activeInputState;
this.applicationMetadata = applicationMetadata;
this.standbyState = standbyState;
}
@SafeParceled(1)
private int versionCode = 1;
@SafeParceled(2)