Review: Update according to review

This commit is contained in:
Yoni Obadia 2020-08-26 19:07:47 +02:00
parent 88d7587ca7
commit 0176422f0b
2 changed files with 7 additions and 1 deletions

View File

@ -4,6 +4,7 @@
-dontnote androidx.appcompat.app.AlertDialog.Builder
-keepclassmembers class androidx.appcompat.app.AlertDialog$Builder {
<init>(android.content.Context);
<init>(android.content.Context, int);
public android.content.Context getContext();
public androidx.appcompat.app.AlertDialog$Builder setTitle(java.lang.CharSequence);
public androidx.appcompat.app.AlertDialog$Builder setView(android.view.View);

View File

@ -123,7 +123,12 @@ public final class TrackSelectionDialogBuilder {
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;
return this;
}