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

Commit e648fb94 authored by Hyein Yu's avatar Hyein Yu Committed by Android (Google) Code Review
Browse files

Merge "Hide unintentionally exposed TelephonyFrameworkInitializer apis" into main

parents 44161a70 e83ff4d8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -638,8 +638,6 @@ package android.telephony {

  @FlaggedApi("com.android.internal.telephony.flags.enable_phone_number_parsing_api") public class TelephonyFrameworkInitializer {
    method @Nullable public static android.os.TelephonyServiceManager getTelephonyServiceManager();
    method public static void registerServiceWrappers();
    method public static void setTelephonyServiceManager(@NonNull android.os.TelephonyServiceManager);
  }

  public class TelephonyManager {
+4 −0
Original line number Diff line number Diff line
@@ -70,6 +70,8 @@ public class TelephonyFrameworkInitializer {
     *
     * @param telephonyServiceManager instance of {@link TelephonyServiceManager} that allows
     * the telephony mainline module to register/obtain telephony binder services.
     *
     * @hide
     */
    public static void setTelephonyServiceManager(
            @NonNull TelephonyServiceManager telephonyServiceManager) {
@@ -101,6 +103,8 @@ public class TelephonyFrameworkInitializer {
     *
     * @throws IllegalStateException if this is called from anywhere besides
     * {@link SystemServiceRegistry}
     *
     * @hide
     */
    public static void registerServiceWrappers() {
        SystemServiceRegistry.registerContextAwareService(