Merge changes from topic "ims_cc" am: a08cc8306f
am: 9d0769f8a6
Change-Id: Ia79d7886ad64194491cb2e3236f1e987b8b3f01b
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user