mirror of
https://github.com/androidx/media.git
synced 2025-05-10 00:59:51 +08:00
Update TrackSelectionDialogBuilder to use androidx compat Dialog.
This ensure style themes are correctly applied. issue:#7357 PiperOrigin-RevId: 313145345
This commit is contained in:
parent
eddc2b0b33
commit
f099f570e6
@ -194,6 +194,8 @@
|
||||
* Add `showScrubber` and `hideScrubber` methods to DefaultTimeBar.
|
||||
* Move logic of prev, next, fast forward and rewind to ControlDispatcher
|
||||
([#6926](https://github.com/google/ExoPlayer/issues/6926)).
|
||||
* Update `TrackSelectionDialogBuilder` to use androidx compat Dialog
|
||||
([#7357](https://github.com/google/ExoPlayer/issues/7357)).
|
||||
* Metadata: Add minimal DVB Application Information Table (AIT) support
|
||||
([#6922](https://github.com/google/ExoPlayer/pull/6922)).
|
||||
* Cast extension: Implement playlist API and deprecate the old queue
|
||||
|
@ -40,6 +40,7 @@ dependencies {
|
||||
implementation project(modulePrefix + 'library-core')
|
||||
api 'androidx.media:media:' + androidxMediaVersion
|
||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
|
||||
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion
|
||||
compileOnly 'org.jetbrains.kotlin:kotlin-annotations-jvm:' + kotlinAnnotationsVersion
|
||||
testImplementation project(modulePrefix + 'testutils')
|
||||
|
@ -15,12 +15,12 @@
|
||||
*/
|
||||
package com.google.android.exoplayer2.ui;
|
||||
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import com.google.android.exoplayer2.source.TrackGroupArray;
|
||||
import com.google.android.exoplayer2.trackselection.DefaultTrackSelector;
|
||||
import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
|
||||
|
Loading…
x
Reference in New Issue
Block a user