Framework did not notifyDisplayInfoChanged

Bug: 150648297
Test: adb shell am broadcast -a com.android.internal.telephony.TestServiceState \
--ei data_rat 14 --ei nr_state 3 --ei nr_frequency_range 4
Change-Id: I151833df7652b58d4bd599938e84b88e112cc0d7
This commit is contained in:
SongFerngWang
2020-03-03 21:21:32 +08:00
committed by SongFerng Wang
parent e339218972
commit f64b4f2b24

View File

@@ -1538,7 +1538,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
} }
synchronized (mRecords) { synchronized (mRecords) {
if (validatePhoneId(phoneId)) { if (validatePhoneId(phoneId)) {
if (mDisplayInfos[phoneId] != null) {
mDisplayInfos[phoneId] = displayInfo; mDisplayInfos[phoneId] = displayInfo;
for (Record r : mRecords) { for (Record r : mRecords) {
if (r.matchPhoneStateListenerEvent( if (r.matchPhoneStateListenerEvent(
@@ -1552,7 +1551,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
} }
} }
} }
}
handleRemoveListLocked(); handleRemoveListLocked();
} }
} }