Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f64b4f2b authored by SongFerngWang's avatar SongFerngWang Committed by SongFerng Wang
Browse files

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
parent e3392189
Loading
Loading
Loading
Loading
+9 −11
Original line number Diff line number Diff line
@@ -1538,7 +1538,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
        }
        synchronized (mRecords) {
            if (validatePhoneId(phoneId)) {
                if (mDisplayInfos[phoneId] != null) {
                mDisplayInfos[phoneId] = displayInfo;
                for (Record r : mRecords) {
                    if (r.matchPhoneStateListenerEvent(
@@ -1552,7 +1551,6 @@ public class TelephonyRegistry extends ITelephonyRegistry.Stub {
                    }
                }
            }
            }
            handleRemoveListLocked();
        }
    }