Merge "[Telephony Mainline] Make ServiceRegisterer static"

This commit is contained in:
Peter Wang
2020-01-28 00:02:14 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -8856,7 +8856,7 @@ package android.os {
ctor public TelephonyServiceManager.ServiceNotFoundException(@NonNull String);
}
public final class TelephonyServiceManager.ServiceRegisterer {
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);

View File

@@ -39,7 +39,7 @@ public class TelephonyServiceManager {
/**
* A class that exposes the methods to register and obtain each system service.
*/
public final class ServiceRegisterer {
public static final class ServiceRegisterer {
private final String mServiceName;
/**