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
252ae4c7
authored
Jun 14, 2022
by
bachinger
Committed by
Marc Baechinger
Jun 15, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Suppress lint errors `RestrictedApis` in lib-session
PiperOrigin-RevId: 454943102
parent
118d689a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
libraries/session/src/main/java/androidx/media3/session/MediaLibraryServiceLegacyStub.java
libraries/session/src/main/java/androidx/media3/session/MediaLibraryServiceLegacyStub.java
View file @
252ae4c7
...
...
@@ -24,6 +24,7 @@ import static androidx.media3.common.util.Util.postOrRun;
import
static
androidx
.
media3
.
session
.
LibraryResult
.
RESULT_SUCCESS
;
import
static
androidx
.
media3
.
session
.
MediaUtils
.
TRANSACTION_SIZE_LIMIT_IN_BYTES
;
import
android.annotation.SuppressLint
;
import
android.os.BadParcelableException
;
import
android.os.Bundle
;
import
android.os.RemoteException
;
...
...
@@ -116,6 +117,7 @@ import java.util.concurrent.atomic.AtomicReference;
// TODO(b/192455639): Optimize potential multiple calls of
// MediaBrowserCompat.SubscriptionCallback#onChildrenLoaded() with the same
// content.
@SuppressLint
(
"RestrictedApi"
)
@Override
public
void
onSubscribe
(
String
id
,
Bundle
option
)
{
@Nullable
ControllerInfo
controller
=
getCurrentController
();
...
...
@@ -141,6 +143,7 @@ import java.util.concurrent.atomic.AtomicReference;
});
}
@SuppressLint
(
"RestrictedApi"
)
@Override
public
void
onUnsubscribe
(
String
id
)
{
@Nullable
ControllerInfo
controller
=
getCurrentController
();
...
...
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