Remove exposing of ImsManager and RcsMessageManager in system service registery
Since these are hidden it cannot be accessed by system service registery Removing it for now and can be added later when these becomes SystemApi Bug: 140768340 Test: Build & basic sanity Change-Id: Ibb007f0a761bcbd006ebffbb552d0da82b586d03
This commit is contained in:
committed by
Jayachandran Chinnakkannu
parent
af35741307
commit
c01f4eda35
@@ -173,8 +173,6 @@ import android.telephony.SubscriptionManager;
|
||||
import android.telephony.TelephonyManager;
|
||||
import android.telephony.euicc.EuiccCardManager;
|
||||
import android.telephony.euicc.EuiccManager;
|
||||
import android.telephony.ims.ImsManager;
|
||||
import android.telephony.ims.RcsMessageManager;
|
||||
import android.util.ArrayMap;
|
||||
import android.util.Log;
|
||||
import android.view.ContextThemeWrapper;
|
||||
@@ -623,22 +621,6 @@ final class SystemServiceRegistry {
|
||||
return new SubscriptionManager(ctx.getOuterContext());
|
||||
}});
|
||||
|
||||
registerService(Context.TELEPHONY_RCS_MESSAGE_SERVICE, RcsMessageManager.class,
|
||||
new CachedServiceFetcher<RcsMessageManager>() {
|
||||
@Override
|
||||
public RcsMessageManager createService(ContextImpl ctx) {
|
||||
return new RcsMessageManager(ctx.getOuterContext());
|
||||
}
|
||||
});
|
||||
|
||||
registerService(Context.TELEPHONY_IMS_SERVICE, ImsManager.class,
|
||||
new CachedServiceFetcher<ImsManager>() {
|
||||
@Override
|
||||
public ImsManager createService(ContextImpl ctx) {
|
||||
return new ImsManager(ctx.getOuterContext());
|
||||
}
|
||||
});
|
||||
|
||||
registerService(Context.CARRIER_CONFIG_SERVICE, CarrierConfigManager.class,
|
||||
new CachedServiceFetcher<CarrierConfigManager>() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user