Loading telephony/java/android/telephony/TelephonyManager.java +5 −0 Original line number Diff line number Diff line Loading @@ -14574,6 +14574,11 @@ public class TelephonyManager { */ public void registerTelephonyCallback(@NonNull @CallbackExecutor Executor executor, @NonNull TelephonyCallback callback) { if (mContext == null) { throw new IllegalStateException("telephony service is null."); } if (executor == null || callback == null) { throw new IllegalArgumentException("TelephonyCallback and executor must be non-null"); } Loading
telephony/java/android/telephony/TelephonyManager.java +5 −0 Original line number Diff line number Diff line Loading @@ -14574,6 +14574,11 @@ public class TelephonyManager { */ public void registerTelephonyCallback(@NonNull @CallbackExecutor Executor executor, @NonNull TelephonyCallback callback) { if (mContext == null) { throw new IllegalStateException("telephony service is null."); } if (executor == null || callback == null) { throw new IllegalArgumentException("TelephonyCallback and executor must be non-null"); }