mirror of
https://github.com/samsonjs/media.git
synced 2026-04-03 10:55:48 +00:00
Expose isTrusted property of ControllerInfo.
PiperOrigin-RevId: 585052580
This commit is contained in:
parent
c0ef5f6de4
commit
bc36553e81
1 changed files with 4 additions and 3 deletions
|
|
@ -554,10 +554,11 @@ public class MediaSession {
|
|||
|
||||
/**
|
||||
* Returns if the controller has been granted {@code android.permission.MEDIA_CONTENT_CONTROL}
|
||||
* or has a enabled notification listener so it can be trusted to accept connection and incoming
|
||||
* command request.
|
||||
* or has an enabled notification listener so it can be trusted to accept connection and
|
||||
* incoming command requests.
|
||||
*/
|
||||
/* package */ boolean isTrusted() {
|
||||
@UnstableApi
|
||||
public boolean isTrusted() {
|
||||
return isTrusted;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue