Skip to content

Commit 361186c

Browse files
committed
Debug info: merge pot to web info
1 parent cea76e5 commit 361186c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,10 @@ private void updateAndPost() {
204204
appendVersion();
205205
appendDeviceNameSDKCache();
206206
appendMemoryInfo();
207-
appendWebViewInfo();
208-
appendWebClientInfo();
207+
//appendWebViewInfo();
209208
//appendClientType();
210209
//appendPlayerVersion();
210+
appendWebClientInfo();
211211
appendAccountInfo();
212212

213213
// Schedule next update
@@ -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() {
@@ -409,8 +409,9 @@ private void appendPlayerVersion() {
409409
private void appendWebClientInfo() {
410410
String clientType = getClientType();
411411
CharSequence playerVersion = getPlayerVersion();
412+
boolean potSupported = MediaServiceData.instance().isPotSupported();
412413

413-
appendRow("Web client/Web player", TextUtils.concat(clientType, "/", playerVersion));
414+
appendRow("Web info", TextUtils.concat("client=", clientType, ";player=", playerVersion, ";pot=" + potSupported));
414415
}
415416

416417
private void appendAccountInfo() {

0 commit comments

Comments
 (0)