Fix StreamingDrmSessionmanager.
Use locally bound variable instead of class variable.
This commit is contained in:
parent
1ed048dba8
commit
f82a331728
@ -284,13 +284,13 @@ public class StreamingDrmSessionManager implements DrmSessionManager {
|
||||
}
|
||||
}
|
||||
|
||||
private void onError(Exception e) {
|
||||
private void onError(final Exception e) {
|
||||
lastException = e;
|
||||
if (eventHandler != null && eventListener != null) {
|
||||
eventHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
eventListener.onDrmSessionManagerError(lastException);
|
||||
eventListener.onDrmSessionManagerError(e);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user