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

Commit 455de725 authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk
Browse files

Add unit testing hook for TelephonyManager ISms

Bug: 365800992
Test: atest com.android.internal.telephony.SmsMessageBodyTest
Flag: TEST_ONLY
Change-Id: I0b02f6a8602b009dd689f035653257e153f56e93
parent 12910ec3
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -17277,6 +17277,18 @@ public class TelephonyManager {
        }
    }
    /**
     * Setup sISms for testing.
     *
     * @hide
     */
    @VisibleForTesting
    public static void setupISmsForTest(ISms iSms) {
        synchronized (sCacheLock) {
            sISms = iSms;
        }
    }
    /**
     * Whether device can connect to 5G network when two SIMs are active.
     *