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

Commit 656ec362 authored by Shuo Qian's avatar Shuo Qian
Browse files

Add TelephonyManager test hidden API for testing

Test: atest
Bug: 172507765

Change-Id: I30a5b695770509dc803ab5623c75e653d40f4d11
Merged-In: I30a5b695770509dc803ab5623c75e653d40f4d11
(cherry picked from commit 53cfc4a8)
parent 81856803
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -13782,6 +13782,15 @@ public class TelephonyManager {
        sServiceHandleCacheEnabled = true;
    }
    /**
     * Setup sITelephony for testing.
     * @hide
     */
    @VisibleForTesting
    public static void setupITelephonyForTest(ITelephony telephony) {
        sITelephony = telephony;
    }
    /**
     * Whether device can connect to 5G network when two SIMs are active.
     * @hide