Checkin: Use null serial instead of empty ae607f1665

This commit is contained in:
inotia00 2023-12-25 21:22:17 +09:00 • committed by Cuynu
commit 09a1bbc165

View file

@ -137,7 +137,7 @@ public class CheckinClient {
.loggingId(new Random().nextLong()) // TODO: static
.meid(deviceIdent.meid)
.otaCert(Collections.singletonList("71Q6Rn2DDZl1zPDVaaeEHItd"))
.serial(Build.SERIAL)
.serial(Build.SERIAL != null && !Build.SERIAL.isEmpty() ? Build.SERIAL : null)
.timeZone(TimeZone.getDefault().getID())
.userName((String) TODO)
.userSerialNumber((Integer) TODO)