Commit 779872cd authored by Simeon Anfinrud's avatar Simeon Anfinrud Committed by Commit Bot

Make CastSysInfoAndroid.getSerialNumber() public.

Bug: 142062297
Test: With internal patch, view Cast settings UI on emulator
Merge-With: eureka-internal/322486

Change-Id: I91ab48f651c998bcdc0456d8c4a2bd6911bf1d55
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1846017Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
Commit-Queue: Simeon Anfinrud <sanfin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703560}
parent 751fde5d
......@@ -19,7 +19,7 @@ public final class CastSysInfoAndroid {
@SuppressLint("HardwareIds")
@CalledByNative
private static String getSerialNumber() {
public static String getSerialNumber() {
if (!Build.SERIAL.equals(Build.UNKNOWN)) return Build.SERIAL;
return CastSerialGenerator.getGeneratedSerial();
}
......
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