Merge "Rename BpfNetMapsReader to NetworkStackBpfNetMaps" into main

This commit is contained in:
Motomu Utsumi 2024-03-19 04:13:17 +00:00 • committed by Gerrit Code Review
commit 7bfcd30e89

View file

@ -6287,7 +6287,7 @@ public class ConnectivityManager {
throw new IllegalStateException(
"isUidNetworkingBlocked is not supported on pre-U devices");
}
final BpfNetMapsReader reader = BpfNetMapsReader.getInstance();
final NetworkStackBpfNetMaps reader = NetworkStackBpfNetMaps.getInstance();
// Note that before V, the data saver status in bpf is written by ConnectivityService
// when receiving {@link #ACTION_RESTRICT_BACKGROUND_CHANGED}. Thus,
// the status is not synchronized.