mirror of
https://github.com/androidx/media.git
synced 2025-05-07 15:40:37 +08:00
Review: Update according to review
This commit is contained in:
parent
88d7587ca7
commit
0176422f0b
@ -4,6 +4,7 @@
|
|||||||
-dontnote androidx.appcompat.app.AlertDialog.Builder
|
-dontnote androidx.appcompat.app.AlertDialog.Builder
|
||||||
-keepclassmembers class androidx.appcompat.app.AlertDialog$Builder {
|
-keepclassmembers class androidx.appcompat.app.AlertDialog$Builder {
|
||||||
<init>(android.content.Context);
|
<init>(android.content.Context);
|
||||||
|
<init>(android.content.Context, int);
|
||||||
public android.content.Context getContext();
|
public android.content.Context getContext();
|
||||||
public androidx.appcompat.app.AlertDialog$Builder setTitle(java.lang.CharSequence);
|
public androidx.appcompat.app.AlertDialog$Builder setTitle(java.lang.CharSequence);
|
||||||
public androidx.appcompat.app.AlertDialog$Builder setView(android.view.View);
|
public androidx.appcompat.app.AlertDialog$Builder setView(android.view.View);
|
||||||
|
@ -123,7 +123,12 @@ public final class TrackSelectionDialogBuilder {
|
|||||||
newOverrides.isEmpty() ? null : newOverrides.get(0)));
|
newOverrides.isEmpty() ? null : newOverrides.get(0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
public TrackSelectionDialogBuilder setTheme(int themeResId) {
|
/**
|
||||||
|
* Sets the resource ID of the theme used to inflate this dialog.
|
||||||
|
* @param themeResId the resource ID to use
|
||||||
|
* @return This builder, for convenience.
|
||||||
|
*/
|
||||||
|
public TrackSelectionDialogBuilder setTheme(@StyleRes int themeResId) {
|
||||||
this.themeResId = themeResId;
|
this.themeResId = themeResId;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user