Merge "Make MediaRoute2Info.Builder's fields private" into main
This commit is contained in:
@@ -949,28 +949,28 @@ public final class MediaRoute2Info implements Parcelable {
|
||||
* Builder for {@link MediaRoute2Info media route info}.
|
||||
*/
|
||||
public static final class Builder {
|
||||
final String mId;
|
||||
final CharSequence mName;
|
||||
final List<String> mFeatures;
|
||||
private final String mId;
|
||||
private final CharSequence mName;
|
||||
private final List<String> mFeatures;
|
||||
|
||||
@Type
|
||||
int mType = TYPE_UNKNOWN;
|
||||
boolean mIsSystem;
|
||||
Uri mIconUri;
|
||||
CharSequence mDescription;
|
||||
private int mType = TYPE_UNKNOWN;
|
||||
private boolean mIsSystem;
|
||||
private Uri mIconUri;
|
||||
private CharSequence mDescription;
|
||||
@ConnectionState
|
||||
int mConnectionState;
|
||||
String mClientPackageName;
|
||||
String mPackageName;
|
||||
int mVolumeHandling = PLAYBACK_VOLUME_FIXED;
|
||||
int mVolumeMax;
|
||||
int mVolume;
|
||||
String mAddress;
|
||||
Set<String> mDeduplicationIds;
|
||||
Bundle mExtras;
|
||||
String mProviderId;
|
||||
boolean mIsVisibilityRestricted;
|
||||
Set<String> mAllowedPackages;
|
||||
private int mConnectionState;
|
||||
private String mClientPackageName;
|
||||
private String mPackageName;
|
||||
private int mVolumeHandling = PLAYBACK_VOLUME_FIXED;
|
||||
private int mVolumeMax;
|
||||
private int mVolume;
|
||||
private String mAddress;
|
||||
private Set<String> mDeduplicationIds;
|
||||
private Bundle mExtras;
|
||||
private String mProviderId;
|
||||
private boolean mIsVisibilityRestricted;
|
||||
private Set<String> mAllowedPackages;
|
||||
|
||||
/**
|
||||
* Constructor for builder to create {@link MediaRoute2Info}.
|
||||
|
||||
Reference in New Issue
Block a user