am b01e10c5: There is no @note javadoc tag.
Merge commit 'b01e10c5bc0a29d1b0da96783b6d1582baeb2af2' into gingerbread-plus-aosp * commit 'b01e10c5bc0a29d1b0da96783b6d1582baeb2af2': There is no @note javadoc tag.
This commit is contained in:
@@ -213,12 +213,12 @@ public class DrmManagerClient {
|
||||
* Save DRM rights to specified rights path
|
||||
* and make association with content path.
|
||||
*
|
||||
* <p class="note">In case of OMA or WM-DRM, rightsPath and contentPath could be null.</p>
|
||||
*
|
||||
* @param drmRights DrmRights to be saved
|
||||
* @param rightsPath File path where rights to be saved
|
||||
* @param contentPath File path where content was saved
|
||||
* @throws IOException if failed to save rights information in the given path
|
||||
*
|
||||
* @note In case of OMA or WM-DRM, rightsPath and contentPath could be null
|
||||
*/
|
||||
public void saveRights(
|
||||
DrmRights drmRights, String rightsPath, String contentPath) throws IOException {
|
||||
@@ -256,9 +256,9 @@ public class DrmManagerClient {
|
||||
* @param path Path of the content to be handled
|
||||
* @param mimeType Mimetype of the object to be handled
|
||||
* @return
|
||||
* true - if the given mimeType or path can be handled
|
||||
* false - cannot be handled.
|
||||
* @note false will be return in case the state is uninitialized
|
||||
* true - if the given mimeType or path can be handled.
|
||||
* false - cannot be handled. false will be returned in case
|
||||
* the state is uninitialized
|
||||
*/
|
||||
public boolean canHandle(String path, String mimeType) {
|
||||
if ((null == path || path.equals("")) && (null == mimeType || mimeType.equals(""))) {
|
||||
|
||||
Reference in New Issue
Block a user