Commit 04a7d729 authored by kinaba's avatar kinaba Committed by Commit bot

Remove bogus format specifier "%s" in logging in BuildInfo.java.

android.util.Log does not take formatted string (the third argument is
a fixed overload taking a Throwable object), so currently the bare "%s"
is emit to the log. Let's drop it.

BUG=none

Review-Url: https://codereview.chromium.org/2620843003
Cr-Commit-Position: refs/heads/master@{#442788}
parent e42a5efa
......@@ -71,7 +71,7 @@ public class BuildInfo {
PackageInfo packageInfo = packageManager.getPackageInfo("com.google.android.gms", 0);
msg = Integer.toString(packageInfo.versionCode);
} catch (NameNotFoundException e) {
Log.d(TAG, "GMS package is not found: %s", e);
Log.d(TAG, "GMS package is not found.", e);
}
return msg;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment