Add dns signal count into validation log for debugging
Dns signal may need to reevaluate the threshold if force reevaluation is triggered and actually a stall. Provide dns signal count while force reevaluation is triggered to help debugging. Bug: 113916551 Test: atest NetworkStackTests Change-Id: Ia762752a41a4bb78ba9844917cbede7aeb2f0fc2
This commit is contained in:
@@ -545,7 +545,9 @@ public class NetworkMonitor extends StateMachine {
|
||||
return HANDLED;
|
||||
case CMD_FORCE_REEVALUATION:
|
||||
case CMD_CAPTIVE_PORTAL_RECHECK:
|
||||
log("Forcing reevaluation for UID " + message.arg1);
|
||||
final int dnsCount = mDnsStallDetector.getConsecutiveTimeoutCount();
|
||||
validationLog("Forcing reevaluation for UID " + message.arg1
|
||||
+ ". Dns signal count: " + dnsCount);
|
||||
mUidResponsibleForReeval = message.arg1;
|
||||
transitionTo(mEvaluatingState);
|
||||
return HANDLED;
|
||||
|
||||
Reference in New Issue
Block a user