diff options
author | Jeff Tinker <jtinker@google.com> | 2015-06-15 17:45:43 -0700 |
---|---|---|
committer | Jeff Tinker <jtinker@google.com> | 2015-06-17 09:32:58 -0700 |
commit | 314b7f3af3b253593f45778ba67a519e74829aa4 (patch) | |
tree | 6131e6a3a099dfaf80bcd86d91da7f22d1f5ef8b /api/current.txt | |
parent | 2d4dc8db64d0f75e530451acb2c0bea97b9264ff (diff) | |
download | frameworks_base-314b7f3af3b253593f45778ba67a519e74829aa4.zip frameworks_base-314b7f3af3b253593f45778ba67a519e74829aa4.tar.gz frameworks_base-314b7f3af3b253593f45778ba67a519e74829aa4.tar.bz2 |
Improve robustness of MediaDrm after mediaserver crash
If DEAD_OBJECT is returned from binder calls due to
mediaserver crash, throw new MediaDrmResetException.
This allows the app to detect the condition and handle
it properly.
bug: 20614102
Change-Id: Id08b08fb612672fd94383f0470f5fa3f267b944f
Diffstat (limited to 'api/current.txt')
-rw-r--r-- | api/current.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt index 72b5ca4..5f99439 100644 --- a/api/current.txt +++ b/api/current.txt @@ -15859,6 +15859,10 @@ package android.media { ctor public MediaDrmException(java.lang.String); } + public class MediaDrmResetException extends java.lang.IllegalStateException { + ctor public MediaDrmResetException(java.lang.String); + } + public final class MediaExtractor { ctor public MediaExtractor(); method public boolean advance(); |