summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wang <tpwang@google.com>2020-03-20 16:33:35 -0700
committerPeter Wang <tpwang@google.com>2020-03-20 17:34:49 -0700
commit23cf98eaa894b479593b0d208461aaf9c979b56a (patch)
tree2eb4e4bd0a7d33443469fad5c1f7fa782b3471d6
parentafb5aa530bc00f9658adf2d122ca866a963e45f9 (diff)
[Telephony Mainline] Hide TelephonyServiceManager and TelephonyFrameworkInitializer
Bug: 151455139 Fix: 151455139 Test: Build Change-Id: I067c821239585d3d4e8dcf39798b1d0014ba077b
-rwxr-xr-xapi/system-current.txt30
-rw-r--r--core/java/android/os/TelephonyServiceManager.java3
-rw-r--r--telephony/api/system-current.txt5
-rw-r--r--telephony/java/android/telephony/TelephonyFrameworkInitializer.java2
4 files changed, 0 insertions, 40 deletions
diff --git a/api/system-current.txt b/api/system-current.txt
index 753c841c7b6e..a6a71375b387 100755
--- a/api/system-current.txt
+++ b/api/system-current.txt
@@ -8546,31 +8546,6 @@ package android.os {
field public static final int STATUS_WAITING_REBOOT = 5; // 0x5
}
- public class TelephonyServiceManager {
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getCarrierConfigServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getEuiccCardControllerServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getEuiccControllerService();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getIccPhoneBookServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getOpportunisticNetworkServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getPhoneSubServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getSmsServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getSubscriptionServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getTelephonyImsServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getTelephonyRcsMessageServiceRegisterer();
- method @NonNull public android.os.TelephonyServiceManager.ServiceRegisterer getTelephonyServiceRegisterer();
- }
-
- public static class TelephonyServiceManager.ServiceNotFoundException extends java.lang.Exception {
- ctor public TelephonyServiceManager.ServiceNotFoundException(@NonNull String);
- }
-
- public static final class TelephonyServiceManager.ServiceRegisterer {
- method @Nullable public android.os.IBinder get();
- method @NonNull public android.os.IBinder getOrThrow() throws android.os.TelephonyServiceManager.ServiceNotFoundException;
- method public void register(@NonNull android.os.IBinder);
- method @Nullable public android.os.IBinder tryGet();
- }
-
public class UpdateEngine {
ctor public UpdateEngine();
method @NonNull @WorkerThread public android.os.UpdateEngine.AllocateSpaceResult allocateSpace(@NonNull String, @NonNull String[]);
@@ -11341,11 +11316,6 @@ package android.telephony {
method @Deprecated public static android.telephony.SubscriptionPlan.Builder createRecurringWeekly(java.time.ZonedDateTime);
}
- public class TelephonyFrameworkInitializer {
- method public static void registerServiceWrappers();
- method public static void setTelephonyServiceManager(@NonNull android.os.TelephonyServiceManager);
- }
-
public final class TelephonyHistogram implements android.os.Parcelable {
ctor public TelephonyHistogram(int, int, int);
ctor public TelephonyHistogram(android.telephony.TelephonyHistogram);
diff --git a/core/java/android/os/TelephonyServiceManager.java b/core/java/android/os/TelephonyServiceManager.java
index 1128f4cb538c..6993671edf52 100644
--- a/core/java/android/os/TelephonyServiceManager.java
+++ b/core/java/android/os/TelephonyServiceManager.java
@@ -17,7 +17,6 @@ package android.os;
import android.annotation.NonNull;
import android.annotation.Nullable;
-import android.annotation.SystemApi;
import android.content.Context;
/**
@@ -28,7 +27,6 @@ import android.content.Context;
*
* @hide
*/
-@SystemApi
public class TelephonyServiceManager {
/**
* @hide
@@ -97,7 +95,6 @@ public class TelephonyServiceManager {
*
* @hide
*/
- @SystemApi
public static class ServiceNotFoundException extends ServiceManager.ServiceNotFoundException {
/**
* Constructor.
diff --git a/telephony/api/system-current.txt b/telephony/api/system-current.txt
index 959d1092d111..ef4979dbba87 100644
--- a/telephony/api/system-current.txt
+++ b/telephony/api/system-current.txt
@@ -717,11 +717,6 @@ package android.telephony {
field @NonNull public static final android.net.Uri WFC_ROAMING_MODE_CONTENT_URI;
}
- public class TelephonyFrameworkInitializer {
- method public static void registerServiceWrappers();
- method public static void setTelephonyServiceManager(@NonNull android.os.TelephonyServiceManager);
- }
-
public final class TelephonyHistogram implements android.os.Parcelable {
ctor public TelephonyHistogram(int, int, int);
ctor public TelephonyHistogram(android.telephony.TelephonyHistogram);
diff --git a/telephony/java/android/telephony/TelephonyFrameworkInitializer.java b/telephony/java/android/telephony/TelephonyFrameworkInitializer.java
index 0d2a8bc14bcb..c9540fb5f467 100644
--- a/telephony/java/android/telephony/TelephonyFrameworkInitializer.java
+++ b/telephony/java/android/telephony/TelephonyFrameworkInitializer.java
@@ -17,7 +17,6 @@
package android.telephony;
import android.annotation.NonNull;
-import android.annotation.SystemApi;
import android.app.SystemServiceRegistry;
import android.content.Context;
import android.os.TelephonyServiceManager;
@@ -33,7 +32,6 @@ import com.android.internal.util.Preconditions;
*
* @hide
*/
-@SystemApi
public class TelephonyFrameworkInitializer {
private TelephonyFrameworkInitializer() {