Merge "Merge "Remove unneeded notify AIDL API" am: 991f8b0c34 am: b54c058bb6" into pi-dev-plus-aosp

This commit is contained in:
Android Build Merger (Role)
2018-03-13 18:27:11 +00:00
committed by Android (Google) Code Review
2 changed files with 0 additions and 26 deletions

View File

@@ -160,11 +160,6 @@ public class ImsService extends Service {
ImsService.this.readyForFeatureCreation(); ImsService.this.readyForFeatureCreation();
} }
@Override
public void notifyImsFeatureReady(int slotId, int featureType) {
ImsService.this.notifyImsFeatureReady(slotId, featureType);
}
@Override @Override
public IImsConfig getConfig(int slotId) { public IImsConfig getConfig(int slotId) {
ImsConfigImplBase c = ImsService.this.getConfig(slotId); ImsConfigImplBase c = ImsService.this.getConfig(slotId);
@@ -274,25 +269,6 @@ public class ImsService extends Service {
} }
} }
private void notifyImsFeatureReady(int slotId, int featureType) {
synchronized (mFeaturesBySlot) {
// get ImsFeature associated with the slot/feature
SparseArray<ImsFeature> features = mFeaturesBySlot.get(slotId);
if (features == null) {
Log.w(LOG_TAG, "Can not notify ImsFeature ready. No ImsFeatures exist on " +
"slot " + slotId);
return;
}
ImsFeature f = features.get(featureType);
if (f == null) {
Log.w(LOG_TAG, "Can not notify ImsFeature ready. No feature with type "
+ featureType + " exists on slot " + slotId);
return;
}
f.onFeatureReady();
}
}
/** /**
* When called, provide the {@link ImsFeatureConfiguration} that this {@link ImsService} * When called, provide the {@link ImsFeatureConfiguration} that this {@link ImsService}
* currently supports. This will trigger the framework to set up the {@link ImsFeature}s that * currently supports. This will trigger the framework to set up the {@link ImsFeature}s that

View File

@@ -36,8 +36,6 @@ interface IImsServiceController {
ImsFeatureConfiguration querySupportedImsFeatures(); ImsFeatureConfiguration querySupportedImsFeatures();
// Synchronous call to ensure the ImsService is ready before continuing with feature creation. // Synchronous call to ensure the ImsService is ready before continuing with feature creation.
void notifyImsServiceReadyForFeatureCreation(); void notifyImsServiceReadyForFeatureCreation();
// Synchronous call to ensure the new ImsFeature is ready before using the Feature.
void notifyImsFeatureReady(int slotId, int featureType);
void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c); void removeImsFeature(int slotId, int featureType, in IImsFeatureStatusCallback c);
IImsConfig getConfig(int slotId); IImsConfig getConfig(int slotId);
IImsRegistration getRegistration(int slotId); IImsRegistration getRegistration(int slotId);