Descriptionmedia: Refactor MediaCrypto creation and notification.
In Java MediaDrmBridge, when MediaCrypto creation failed, always release
everything and notify native code with a null MediaCrypto.
Remove Java GetMediaCrypto() function. MediaCrypto will always be notified to
native code immediately after creation succeeded or failed.
BUG=564246
TEST=Tested MediaCrypto creation success and failure cases.
Committed: https://crrev.com/6815c88392493ddbc7db1afa9babd6a3cca338ff
Cr-Commit-Position: refs/heads/master@{#364825}
Patch Set 1 #
Total comments: 12
Patch Set 2 : rebase only #
Total comments: 1
Patch Set 3 : comments addressed #Patch Set 4 : #Patch Set 5 : fire pending callback in dtor #
Total comments: 8
Patch Set 6 : comments addressed #Patch Set 7 : update TODO comments #Messages
Total messages: 17 (4 generated)
|