Merge "Framework did not notifyDisplayInfoChanged"

This commit is contained in:
Treehugger Robot
2020-03-23 16:05:47 +00:00
committed by Gerrit Code Review

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();
} }
} }