mirror of
https://github.com/samsonjs/media.git
synced 2026-06-29 05:39:31 +00:00
Restrict the visibility of some DefaultDrmSession methods
These are only used from within the package, so demote them from public to package-private. PiperOrigin-RevId: 515029018
This commit is contained in:
parent
42aaba1f17
commit
bfad60e661
1 changed files with 4 additions and 4 deletions
|
|
@ -216,7 +216,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||
return Arrays.equals(this.sessionId, sessionId);
|
||||
}
|
||||
|
||||
public void onMediaDrmEvent(int what) {
|
||||
/* package */ void onMediaDrmEvent(int what) {
|
||||
switch (what) {
|
||||
case ExoMediaDrm.EVENT_KEY_REQUIRED:
|
||||
onKeysRequired();
|
||||
|
|
@ -228,7 +228,7 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||
|
||||
// Provisioning implementation.
|
||||
|
||||
public void provision() {
|
||||
/* package */ void provision() {
|
||||
currentProvisionRequest = mediaDrm.getProvisionRequest();
|
||||
Util.castNonNull(requestHandler)
|
||||
.post(
|
||||
|
|
@ -237,13 +237,13 @@ import org.checkerframework.checker.nullness.qual.RequiresNonNull;
|
|||
/* allowRetry= */ true);
|
||||
}
|
||||
|
||||
public void onProvisionCompleted() {
|
||||
/* package */ void onProvisionCompleted() {
|
||||
if (openInternal()) {
|
||||
doLicense(true);
|
||||
}
|
||||
}
|
||||
|
||||
public void onProvisionError(Exception error, boolean thrownByExoMediaDrm) {
|
||||
/* package */ void onProvisionError(Exception error, boolean thrownByExoMediaDrm) {
|
||||
onError(
|
||||
error,
|
||||
thrownByExoMediaDrm
|
||||
|
|
|
|||
Loading…
Reference in a new issue