mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00: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
5927d0302b
commit
b05e9944ea
3 changed files with 6 additions and 2 deletions
|
|
@ -21,7 +21,10 @@
|
||||||
([#7337](https://github.com/google/ExoPlayer/issues/7337)).
|
([#7337](https://github.com/google/ExoPlayer/issues/7337)).
|
||||||
* MPEG-TS: Fix issue where SEI NAL units were incorrectly dropped from H.265
|
* MPEG-TS: Fix issue where SEI NAL units were incorrectly dropped from H.265
|
||||||
samples ([#7113](https://github.com/google/ExoPlayer/issues/7113)).
|
samples ([#7113](https://github.com/google/ExoPlayer/issues/7113)).
|
||||||
* Text
|
* UI:
|
||||||
|
* Update `TrackSelectionDialogBuilder` to use androidx compat Dialog
|
||||||
|
([#7357](https://github.com/google/ExoPlayer/issues/7357)).
|
||||||
|
* Text:
|
||||||
* Use anti-aliasing and bitmap filtering when displaying bitmap subtitles
|
* Use anti-aliasing and bitmap filtering when displaying bitmap subtitles
|
||||||
([#6950](https://github.com/google/ExoPlayer/pull/6950)).
|
([#6950](https://github.com/google/ExoPlayer/pull/6950)).
|
||||||
* AV1 extension: Add a heuristic to determine the default number of threads
|
* AV1 extension: Add a heuristic to determine the default number of threads
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ dependencies {
|
||||||
implementation project(modulePrefix + 'library-core')
|
implementation project(modulePrefix + 'library-core')
|
||||||
api 'androidx.media:media:' + androidxMediaVersion
|
api 'androidx.media:media:' + androidxMediaVersion
|
||||||
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
implementation 'androidx.annotation:annotation:' + androidxAnnotationVersion
|
||||||
|
implementation 'androidx.appcompat:appcompat:' + androidxAppCompatVersion
|
||||||
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion
|
compileOnly 'org.checkerframework:checker-qual:' + checkerframeworkVersion
|
||||||
testImplementation project(modulePrefix + 'testutils')
|
testImplementation project(modulePrefix + 'testutils')
|
||||||
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
|
||||||
|
|
|
||||||
|
|
@ -15,12 +15,12 @@
|
||||||
*/
|
*/
|
||||||
package com.google.android.exoplayer2.ui;
|
package com.google.android.exoplayer2.ui;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
import androidx.appcompat.app.AlertDialog;
|
||||||
import com.google.android.exoplayer2.source.TrackGroupArray;
|
import com.google.android.exoplayer2.source.TrackGroupArray;
|
||||||
import com.google.android.exoplayer2.trackselection.DefaultTrackSelector;
|
import com.google.android.exoplayer2.trackselection.DefaultTrackSelector;
|
||||||
import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
|
import com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue