diff options
author | Jeff Tinker <jtinker@google.com> | 2018-12-12 08:43:07 -0800 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2019-01-10 10:02:42 +0000 |
commit | b09a054f48adfe2b396f4331c0bd07aa58c0bab8 (patch) | |
tree | b064db17ddb0d8a636f8860b3da7a2700d342a46 /headers | |
parent | 01fc0b7ff807013d2834ce632ef6833b28aec36a (diff) |
Add additional error conditions to MediaDrm
New codes are being added to handle resource
contention, lost session state, frame size too
large and insufficient security level for
decryption. Also cleans up inconsistent use of
tamper detected error where invalid state error
should have been used.
bug:111504510
bug:111505796
test:cts and gts media test cases
Change-Id: I395099dc053a9e4f40c0b38ca4bac401a424f7ed
Diffstat (limited to 'headers')
-rw-r--r-- | headers/media_plugin/media/drm/DrmAPI.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/headers/media_plugin/media/drm/DrmAPI.h b/headers/media_plugin/media/drm/DrmAPI.h index aa8bd3d06c..2ed1cca6a9 100644 --- a/headers/media_plugin/media/drm/DrmAPI.h +++ b/headers/media_plugin/media/drm/DrmAPI.h @@ -84,6 +84,7 @@ namespace android { kDrmPluginEventSessionReclaimed, kDrmPluginEventExpirationUpdate, kDrmPluginEventKeysChange, + kDrmPluginEventSessionLostState, }; // Drm keys can be for offline content or for online streaming. |