Loading telephony/java/android/telephony/SubscriptionManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); } /** Loading Loading
telephony/java/android/telephony/SubscriptionManager.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); } /** Loading