Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
700ec939
authored
Aug 09, 2021
by
olly
Committed by
Oliver Woodman
Aug 09, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Move DeviceInfo into root package
PiperOrigin-RevId: 389681733
parent
7e8ba031
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
6 additions
and
28 deletions
RELEASENOTES.md
extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/CastPlayer.java
library/common/src/main/java/com/google/android/exoplayer2/device/DeviceInfo.java → library/common/src/main/java/com/google/android/exoplayer2/DeviceInfo.java
library/common/src/main/java/com/google/android/exoplayer2/ForwardingPlayer.java
library/common/src/main/java/com/google/android/exoplayer2/Player.java
library/common/src/main/java/com/google/android/exoplayer2/device/package-info.java
library/common/src/test/java/com/google/android/exoplayer2/device/DeviceInfoTest.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImpl.java
library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java
testutils/src/main/java/com/google/android/exoplayer2/testutil/StubExoPlayer.java
RELEASENOTES.md
View file @
700ec939
...
...
@@ -54,6 +54,8 @@
listing audio offload encodings as supported for passthrough mode on
mobile devices
(
[
#9239
](
https://github.com/google/ExoPlayer/issues/9239
)
).
*
Move
`com.google.android.exoplayer2.device.DeviceInfo`
to
`com.google.android.exoplayer2.DeviceInfo`
.
*
Android 12 compatibility:
*
Disable platform transcoding when playing content URIs on Android 12.
*
Add
`ExoPlayer.setVideoChangeFrameRateStrategy`
to allow disabling of
...
...
extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/CastPlayer.java
View file @
700ec939
...
...
@@ -28,6 +28,7 @@ import androidx.annotation.Nullable;
import
androidx.annotation.VisibleForTesting
;
import
com.google.android.exoplayer2.BasePlayer
;
import
com.google.android.exoplayer2.C
;
import
com.google.android.exoplayer2.DeviceInfo
;
import
com.google.android.exoplayer2.ExoPlayerLibraryInfo
;
import
com.google.android.exoplayer2.MediaItem
;
import
com.google.android.exoplayer2.MediaMetadata
;
...
...
@@ -36,7 +37,6 @@ import com.google.android.exoplayer2.PlaybackParameters;
import
com.google.android.exoplayer2.Player
;
import
com.google.android.exoplayer2.Timeline
;
import
com.google.android.exoplayer2.audio.AudioAttributes
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.source.TrackGroup
;
import
com.google.android.exoplayer2.source.TrackGroupArray
;
...
...
library/common/src/main/java/com/google/android/exoplayer2/
device/
DeviceInfo.java
→
library/common/src/main/java/com/google/android/exoplayer2/DeviceInfo.java
View file @
700ec939
...
...
@@ -13,12 +13,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
google
.
android
.
exoplayer2
.
device
;
package
com
.
google
.
android
.
exoplayer2
;
import
android.os.Bundle
;
import
androidx.annotation.IntDef
;
import
androidx.annotation.Nullable
;
import
com.google.android.exoplayer2.Bundleable
;
import
java.lang.annotation.Documented
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.Retention
;
...
...
library/common/src/main/java/com/google/android/exoplayer2/ForwardingPlayer.java
View file @
700ec939
...
...
@@ -22,7 +22,6 @@ import android.view.SurfaceView;
import
android.view.TextureView
;
import
androidx.annotation.Nullable
;
import
com.google.android.exoplayer2.audio.AudioAttributes
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.source.TrackGroupArray
;
import
com.google.android.exoplayer2.text.Cue
;
...
...
library/common/src/main/java/com/google/android/exoplayer2/Player.java
View file @
700ec939
...
...
@@ -25,7 +25,6 @@ import androidx.annotation.IntDef;
import
androidx.annotation.Nullable
;
import
com.google.android.exoplayer2.audio.AudioAttributes
;
import
com.google.android.exoplayer2.audio.AudioListener
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.metadata.MetadataOutput
;
import
com.google.android.exoplayer2.source.TrackGroupArray
;
...
...
library/common/src/main/java/com/google/android/exoplayer2/device/package-info.java
deleted
100644 → 0
View file @
7e8ba031
/*
* Copyright 2020 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@NonNullApi
package
com
.
google
.
android
.
exoplayer2
.
device
;
import
com.google.android.exoplayer2.util.NonNullApi
;
library/common/src/test/java/com/google/android/exoplayer2/device/DeviceInfoTest.java
View file @
700ec939
...
...
@@ -18,6 +18,7 @@ package com.google.android.exoplayer2.device;
import
static
com
.
google
.
common
.
truth
.
Truth
.
assertThat
;
import
androidx.test.ext.junit.runners.AndroidJUnit4
;
import
com.google.android.exoplayer2.DeviceInfo
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
...
...
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayer.java
View file @
700ec939
...
...
@@ -33,7 +33,6 @@ import com.google.android.exoplayer2.audio.AudioSink;
import
com.google.android.exoplayer2.audio.AuxEffectInfo
;
import
com.google.android.exoplayer2.audio.DefaultAudioSink
;
import
com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.metadata.MetadataOutput
;
import
com.google.android.exoplayer2.metadata.MetadataRenderer
;
import
com.google.android.exoplayer2.source.DefaultMediaSourceFactory
;
...
...
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImpl.java
View file @
700ec939
...
...
@@ -33,7 +33,6 @@ import androidx.annotation.Nullable;
import
com.google.android.exoplayer2.PlayerMessage.Target
;
import
com.google.android.exoplayer2.analytics.AnalyticsCollector
;
import
com.google.android.exoplayer2.audio.AudioAttributes
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.source.MediaSource
;
import
com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
;
...
...
library/core/src/main/java/com/google/android/exoplayer2/SimpleExoPlayer.java
View file @
700ec939
...
...
@@ -54,7 +54,6 @@ import com.google.android.exoplayer2.audio.AudioRendererEventListener;
import
com.google.android.exoplayer2.audio.AuxEffectInfo
;
import
com.google.android.exoplayer2.decoder.DecoderCounters
;
import
com.google.android.exoplayer2.decoder.DecoderReuseEvaluation
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
;
import
com.google.android.exoplayer2.extractor.ExtractorsFactory
;
import
com.google.android.exoplayer2.metadata.Metadata
;
...
...
testutils/src/main/java/com/google/android/exoplayer2/testutil/StubExoPlayer.java
View file @
700ec939
...
...
@@ -22,6 +22,7 @@ import android.view.SurfaceView;
import
android.view.TextureView
;
import
androidx.annotation.Nullable
;
import
com.google.android.exoplayer2.BasePlayer
;
import
com.google.android.exoplayer2.DeviceInfo
;
import
com.google.android.exoplayer2.ExoPlaybackException
;
import
com.google.android.exoplayer2.ExoPlayer
;
import
com.google.android.exoplayer2.MediaItem
;
...
...
@@ -32,7 +33,6 @@ import com.google.android.exoplayer2.PlayerMessage;
import
com.google.android.exoplayer2.SeekParameters
;
import
com.google.android.exoplayer2.Timeline
;
import
com.google.android.exoplayer2.audio.AudioAttributes
;
import
com.google.android.exoplayer2.device.DeviceInfo
;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.source.MediaSource
;
import
com.google.android.exoplayer2.source.ShuffleOrder
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment