mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
Minor tweaks/fixes.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=113868179
This commit is contained in:
parent
43e1e7e83a
commit
6bc52262db
2 changed files with 7 additions and 4 deletions
|
|
@ -70,8 +70,8 @@ public class ContentProtection {
|
|||
@Override
|
||||
public int hashCode() {
|
||||
int hashCode = schemeUriId.hashCode();
|
||||
hashCode = (37 * hashCode) + (uuid != null ? uuid.hashCode() : 0);
|
||||
hashCode = (37 * hashCode) + (data != null ? data.hashCode() : 0);
|
||||
hashCode = (31 * hashCode) + (uuid != null ? uuid.hashCode() : 0);
|
||||
hashCode = (31 * hashCode) + (data != null ? data.hashCode() : 0);
|
||||
return hashCode;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -206,8 +206,11 @@ public final class Loader {
|
|||
executorThread = Thread.currentThread();
|
||||
if (!loadable.isLoadCanceled()) {
|
||||
TraceUtil.beginSection(loadable.getClass().getSimpleName() + ".load()");
|
||||
loadable.load();
|
||||
TraceUtil.endSection();
|
||||
try {
|
||||
loadable.load();
|
||||
} finally {
|
||||
TraceUtil.endSection();
|
||||
}
|
||||
}
|
||||
sendEmptyMessage(MSG_END_OF_SOURCE);
|
||||
} catch (IOException e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue