Commit f82a3317 by Oliver Woodman

Fix StreamingDrmSessionmanager.

Use locally bound variable instead of class variable.
parent 1ed048db
......@@ -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);
}
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment