Merge changes from topic "ims_cc"

am: a08cc8306f

Change-Id: I481a681784df325066a9087c0a82d0f15268ba7f
This commit is contained in:
Dheeraj Shetty
2019-07-31 21:57:40 -07:00
committed by android-build-merger
2 changed files with 16 additions and 0 deletions

View File

@@ -17,6 +17,8 @@
package android.telephony.ims.aidl;
import android.os.PersistableBundle;
import android.telephony.ims.aidl.IImsConfigCallback;
import com.android.ims.ImsConfigListener;
@@ -37,4 +39,5 @@ interface IImsConfig {
int setConfigInt(int item, int value);
// Return result code defined in ImsConfig#OperationStatusConstants
int setConfigString(int item, String value);
void updateImsCarrierConfigs(in PersistableBundle bundle);
}

View File

@@ -19,6 +19,7 @@ package android.telephony.ims.stub;
import android.annotation.IntDef;
import android.annotation.SystemApi;
import android.content.Context;
import android.os.PersistableBundle;
import android.os.RemoteCallbackList;
import android.os.RemoteException;
import android.telephony.ims.aidl.IImsConfig;
@@ -182,6 +183,11 @@ public class ImsConfigImplBase {
return retVal;
}
@Override
public void updateImsCarrierConfigs(PersistableBundle bundle) throws RemoteException {
getImsConfigImpl().updateImsCarrierConfigs(bundle);
}
private ImsConfigImplBase getImsConfigImpl() throws RemoteException {
ImsConfigImplBase ref = mImsConfigImplBaseWeakReference.get();
if (ref == null) {
@@ -398,4 +404,11 @@ public class ImsConfigImplBase {
// Base Implementation - To be overridden.
return null;
}
/**
* @hide
*/
public void updateImsCarrierConfigs(PersistableBundle bundle) {
// Base Implementation - Should be overridden
}
}