Merge "Comment reason for simulateDataStall structure." am: f79e9c87aa am: f67675fb76
Change-Id: Ie236cb45cb2192702df4ce9aaa4e3db7fa1e007c
This commit is contained in:
@@ -8192,6 +8192,11 @@ public class ConnectivityService extends IConnectivityManager.Stub
|
|||||||
+ "creators");
|
+ "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();
|
final DataStallReportParcelable p = new DataStallReportParcelable();
|
||||||
p.timestampMillis = timestampMillis;
|
p.timestampMillis = timestampMillis;
|
||||||
p.detectionMethod = detectionMethod;
|
p.detectionMethod = detectionMethod;
|
||||||
|
|||||||
Reference in New Issue
Block a user