mirror of
https://github.com/samsonjs/media.git
synced 2026-04-10 12:05:47 +00:00
Convergence: Continue decoupling UI from Core
Move CaptionStyleCompat to the UI module, where it's used PiperOrigin-RevId: 367223891
This commit is contained in:
parent
2434d4e6d4
commit
d853379b8b
6 changed files with 6 additions and 5 deletions
|
|
@ -15,6 +15,11 @@
|
|||
[#4768](https://github.com/google/ExoPlayer/issues/4768)).
|
||||
* Add `isCommandAvailable` method and `onAvailableCommandsChanged`
|
||||
listener to query the commands that can be executed on the player.
|
||||
* `AdsLoader.AdViewProvider` and `AdsLoader.OverlayInfo` have been renamed
|
||||
`com.google.android.exoplayer2.ui.AdViewProvider` and
|
||||
`com.google.android.exoplayer2.ui.AdOverlayInfo` respectively.
|
||||
* `CaptionStyleCompat` has been moved to the
|
||||
`com.google.android.exoplayer2.ui` package.
|
||||
* UI:
|
||||
* Add builder for `PlayerNotificationManager`.
|
||||
* Add group setting to `PlayerNotificationManager`.
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@ import android.graphics.Canvas;
|
|||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.google.android.exoplayer2.text.CaptionStyleCompat;
|
||||
import com.google.android.exoplayer2.text.Cue;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
package com.google.android.exoplayer2.text;
|
||||
package com.google.android.exoplayer2.ui;
|
||||
|
||||
import android.graphics.Color;
|
||||
import android.graphics.Typeface;
|
||||
|
|
@ -36,7 +36,6 @@ import android.text.style.BackgroundColorSpan;
|
|||
import android.text.style.ForegroundColorSpan;
|
||||
import android.util.DisplayMetrics;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.google.android.exoplayer2.text.CaptionStyleCompat;
|
||||
import com.google.android.exoplayer2.text.Cue;
|
||||
import com.google.android.exoplayer2.util.Assertions;
|
||||
import com.google.android.exoplayer2.util.Log;
|
||||
|
|
|
|||
|
|
@ -34,7 +34,6 @@ import android.widget.FrameLayout;
|
|||
import androidx.annotation.Dimension;
|
||||
import androidx.annotation.IntDef;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.google.android.exoplayer2.text.CaptionStyleCompat;
|
||||
import com.google.android.exoplayer2.text.Cue;
|
||||
import com.google.android.exoplayer2.text.TextOutput;
|
||||
import com.google.android.exoplayer2.util.Util;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,6 @@ import android.view.MotionEvent;
|
|||
import android.webkit.WebView;
|
||||
import android.widget.FrameLayout;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.google.android.exoplayer2.text.CaptionStyleCompat;
|
||||
import com.google.android.exoplayer2.text.Cue;
|
||||
import com.google.android.exoplayer2.util.Assertions;
|
||||
import com.google.android.exoplayer2.util.Util;
|
||||
|
|
|
|||
Loading…
Reference in a new issue