Merge "Comment reason for simulateDataStall structure." into rvc-dev am: 84ad118843

Change-Id: I6b27cbb174090936f8dfcbe0d82dcdbe387683ee
This commit is contained in:
Cody Kesting
2020-05-29 16:40:40 +00:00
committed by Automerger Merge Worker

View File

@@ -8187,6 +8187,11 @@ public class ConnectivityService extends IConnectivityManager.Stub
+ "creators");
}
// Instead of passing the data stall directly to the ConnectivityDiagnostics handler, treat
// this as a Data Stall received directly from NetworkMonitor. This requires wrapping the
// Data Stall information as a DataStallReportParcelable and passing to
// #notifyDataStallSuspected. This ensures that unknown Data Stall detection methods are
// still passed to ConnectivityDiagnostics (with new detection methods masked).
final DataStallReportParcelable p = new DataStallReportParcelable();
p.timestampMillis = timestampMillis;
p.detectionMethod = detectionMethod;