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

Commit 1991c72b authored by Nazanin Bakhshi's avatar Nazanin Bakhshi Committed by android-build-merger
Browse files

Merge "make onActiveDataSubId in PhoneStateListener public API"

am: eb5db7d7

Change-Id: I85a99e8803b61d0212d65813f5947d37bd5c2472
parents fdc74838 eb5db7d7
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */
package com.android.internal.telephony;

import static android.telephony.PhoneStateListener.LISTEN_ACTIVE_DATA_SUBID_CHANGE;
import static android.telephony.PhoneStateListener.LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE;
import static android.telephony.PhoneStateListener.LISTEN_PHONE_CAPABILITY_CHANGE;
import static android.telephony.PhoneStateListener.LISTEN_SRVCC_STATE_CHANGED;

@@ -60,7 +60,7 @@ public class TelephonyRegistryTest extends TelephonyTest {
            setReady(true);
        }
        @Override
        public void onActiveDataSubIdChanged(int activeSubId) {
        public void onActiveDataSubscriptionIdChanged(int activeSubId) {
            mActiveSubId = activeSubId;
            setReady(true);
        }
@@ -128,7 +128,7 @@ public class TelephonyRegistryTest extends TelephonyTest {
        mTelephonyRegistry.notifyActiveDataSubIdChanged(activeSubId);
        mTelephonyRegistry.listen(mContext.getOpPackageName(),
                mPhoneStateListener.callback,
                LISTEN_ACTIVE_DATA_SUBID_CHANGE, true);
                LISTEN_ACTIVE_DATA_SUBSCRIPTION_ID_CHANGE, true);
        waitUntilReady();
        assertEquals(activeSubId, mActiveSubId);