Skip to content

Commit

Permalink
Add missing TAG to log call in MediaDrmBridge.java
Browse files Browse the repository at this point in the history
Introduced by http://crrev.com/c/1532984, likely because the presubmit
check fails to fire in cases where the "tag" argument to a log call
contains a space (see bug).

Bug: 1063573
Change-Id: I1e9b53a80faa45c422b9536fd8d7ac06a7f99b5d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2113491
Auto-Submit: Tomasz Śniatowski <tsniatowski@vewd.com>
Commit-Queue: John Rummell <jrummell@chromium.org>
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Reviewed-by: John Rummell <jrummell@chromium.org>
Reviewed-by: Xiaohan Wang <xhwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#752504}
  • Loading branch information
ilor authored and Commit Bot committed Mar 23, 2020
1 parent 00156a2 commit e23ac5e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ private static int getFirstApiLevel() {
final Method getInt = systemProperties.getMethod("getInt", String.class, int.class);
firstApiLevel = (Integer) getInt.invoke(null, FIRST_API_LEVEL, 0);
} catch (Exception e) {
Log.e("Exception while getting system property %s. Using default.", FIRST_API_LEVEL, e);
Log.e(TAG, "Exception while getting system property %s. Using default.",
FIRST_API_LEVEL, e);
firstApiLevel = 0;
}
return firstApiLevel;
Expand Down

0 comments on commit e23ac5e

Please sign in to comment.