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

Commit 39951550 authored by Nathan Harold's avatar Nathan Harold Committed by Gerrit Code Review
Browse files

Merge "Rename CellInfo Functions for Clarity"

parents fe1fdf59 1fab908b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ public class LocaleTracker extends Handler {
    public void handleMessage(Message msg) {
        switch (msg.what) {
            case EVENT_REQUEST_CELL_INFO:
                mPhone.getAllCellInfo(null, obtainMessage(EVENT_RESPONSE_CELL_INFO));
                mPhone.requestCellInfoUpdate(null, obtainMessage(EVENT_RESPONSE_CELL_INFO));
                break;

            case EVENT_UNSOL_CELL_INFO:
+1 −1
Original line number Diff line number Diff line
@@ -1723,7 +1723,7 @@ public abstract class Phone extends Handler implements PhoneInternalInterface {
     * @param workSource calling WorkSource
     * @param rspMsg the response message containing the cell info
     */
    public void getAllCellInfo(WorkSource workSource, Message rspMsg) {
    public void requestCellInfoUpdate(WorkSource workSource, Message rspMsg) {
        getServiceStateTracker().requestAllCellInfo(workSource, rspMsg);
    }

+1 −1
Original line number Diff line number Diff line
@@ -89,7 +89,7 @@ public class LocaleTrackerTest extends TelephonyTest {
            Message m = invocation.getArgument(1);
            AsyncResult.forMessage(m, Arrays.asList(mCellInfo), null);
            m.sendToTarget();
            return null; }).when(mPhone).getAllCellInfo(any(), any());
            return null; }).when(mPhone).requestCellInfoUpdate(any(), any());

        logd("LocaleTrackerTest -Setup!");
    }