c21bf59665de6156433630d4e97fc1c0da31b0d1 |
|
29-Mar-2018 |
Hall Liu <hallliu@google.com> |
Make changes to MBMS API following recs * Change all error handling logic to return an error code via the async callback * Add an UNKNOWN code for errors for future backwards compatibility, and prohibit the middleware from sending this code. * Add IntDef for errors through the async callback * Amend documentation for download() * Implement support for arranging downloaded files into a hierarchy following that of the server. Change-Id: I4d5c8f6229b216d9aa84397e628e62279033cc74 Fixes: 76449215 Test: CTS
/frameworks/base/telephony/java/android/telephony/mbms/MbmsStreamingSessionCallback.java
|
5b844876ba5226941e9426409f2dab0f52bb5ae8 |
|
06-Feb-2018 |
Hall Liu <hallliu@google.com> |
EMBMS API tweaks Make changes per API council recommendations Also clean up the download flow -- provide option for app to specify a destination as long as it's on the same filesystem. Bug: 72837388 Fixes: 72231372 Test: CTS and testapp Change-Id: Ia2a68a73e6d61f426b55068542a66995afc20407
/frameworks/base/telephony/java/android/telephony/mbms/MbmsStreamingSessionCallback.java
|
e373ee5d5ce38a7570471ae269e4b7a41052a1be |
|
09-Sep-2017 |
Hall Liu <hallliu@google.com> |
API council suggested edits, part 3 * MbmsException no longer thrown from the common methods, and the error codes are now containined in MbmsError. * In order to avoid ANRs while processing download-done broadcasts, don't perform arbitrary moves when a download is done. Instead, move into a staging directory and let the app handle it. Bug: 30981736 Test: testapps Change-Id: I9416f28b4f24f89af1da6f56a93ea0f0e4ea3878
/frameworks/base/telephony/java/android/telephony/mbms/MbmsStreamingSessionCallback.java
|
d666a8916346ed760e809d708c63bf36f8b12aed |
|
28-Aug-2017 |
Hall Liu <hallliu@google.com> |
Make changes to MBMS Streaming APIs per recommendations * Rename MbmsStreamingManager -> MbmsStreamingSession * MbmsStreamingSession now implements AutoClosable instead of using dispose() * No longer throw checked MbmsExceptions from any methods. All such errors will be reported via the async callback. * null arguments no longer accepted for Handlers * Guarantee that no further callbacks will get enqueued after closing. Test: run testapps Bug: 30981736 Change-Id: I85e98850759c6c7fe7b883ffffa5b1f4e362770d
/frameworks/base/telephony/java/android/telephony/mbms/MbmsStreamingSessionCallback.java
|