Fix NPE cause by demo app adding null listener to drm manager
Also added an assertion to the DRM event dispatcher to cause immediate failure when this happens. This is consistent with the assertion in the equivalent MediaSource class. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=191892735
Showing
with
15 additions
and
11 deletions
Please
register
or
sign in
to comment