Merge "Only update Carrier Merged WiFi state if it is default" into sc-dev am: 0732d74669

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14909852

Change-Id: I83747a9353950a4546b7dada0f7d5259a82dc440
This commit is contained in:
Ying Xu
2021-06-09 18:44:44 +00:00
committed by Automerger Merge Worker

View File

@@ -86,7 +86,9 @@ public class WifiSignalController extends
@Override
public void notifyListeners(SignalCallback callback) {
if (mCurrentState.isCarrierMerged) {
notifyListenersForCarrierWifi(callback);
if (mCurrentState.isDefault) {
notifyListenersForCarrierWifi(callback);
}
} else {
notifyListenersForNonCarrierWifi(callback);
}