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

Commit ddf21644 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Sigh, people wrote tests with weird assumptions.

They're mocking a mock.  Nelson called.

Test: bit FrameworksTelephonyTests:com.android.internal.telephony.ServiceStateTrackerTest
Bug: 71707742
Change-Id: I30db29808fb22ade2247446782ee1ec3d4b947cb
parent edfc6f98
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -548,7 +548,8 @@ public class SubscriptionManager {
     */
    @Deprecated
    public static SubscriptionManager from(Context context) {
        return context.getSystemService(SubscriptionManager.class);
        return (SubscriptionManager) context
                .getSystemService(Context.TELEPHONY_SUBSCRIPTION_SERVICE);
    }

    /**