Skip to content

Commit cea76e5

Browse files
committed
Debug info: small refactor
1 parent bbdcd0f commit cea76e5

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

common/src/main/java/com/liskovsoft/smartyoutubetv2/common/exoplayer/other/DebugInfoManager.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ private void updateDisplayModeId() {
338338
//mDisplayModeId.add(new Pair<>("Display modes length", supportedModes != null ? String.valueOf(supportedModes.length) : NOT_AVAILABLE));
339339
String modeId = currentMode != null ? String.valueOf(currentMode.getModeId()) : NOT_AVAILABLE;
340340
String modeLength = supportedModes != null ? String.valueOf(supportedModes.length) : NOT_AVAILABLE;
341-
mDisplayModeId.add(new Pair<>("Display mode ID/length", modeId + "/" + modeLength));
341+
mDisplayModeId.add(new Pair<>("Display mode ID/Length", modeId + "/" + modeLength));
342342
}
343343

344344
private void appendDisplayInfo() {
@@ -369,9 +369,8 @@ private void appendVersion() {
369369
}
370370

371371
private void appendDeviceNameSDKCache() {
372-
//appendRow("Device name", Helpers.getDeviceName());
373-
//appendRow("Android SDK", VERSION.SDK_INT);
374-
appendRow("Device name/SDK", Helpers.getDeviceName() + "/" + VERSION.SDK_INT);
372+
appendRow("Device name", Helpers.getDeviceName());
373+
appendRow("Android SDK", VERSION.SDK_INT);
375374
appendRow("Disk cache size (MB)", String.valueOf(
376375
(FileHelpers.getDirSize(FileHelpers.getInternalCacheDir(mContext)) + FileHelpers.getDirSize(FileHelpers.getExternalCacheDir(mContext)))
377376
/ 1024 / 1024
@@ -411,7 +410,7 @@ private void appendWebClientInfo() {
411410
String clientType = getClientType();
412411
CharSequence playerVersion = getPlayerVersion();
413412

414-
appendRow("Web client/Web player version", TextUtils.concat(clientType, "/", playerVersion));
413+
appendRow("Web client/Web player", TextUtils.concat(clientType, "/", playerVersion));
415414
}
416415

417416
private void appendAccountInfo() {

0 commit comments

Comments
 (0)