Merge "Adding new API to ISms to check if default SMS SIM needs to be chosen by user." into lmp-mr1-dev
This commit is contained in:
@@ -453,10 +453,6 @@ interface ISms {
|
||||
*/
|
||||
void setPremiumSmsPermission(String packageName, int permission);
|
||||
|
||||
/**
|
||||
* Set the SMS send permission for the specified package.
|
||||
* Requires system permission.
|
||||
*/
|
||||
/**
|
||||
* Set the SMS send permission for the specified package.
|
||||
* Requires system permission.
|
||||
@@ -483,6 +479,14 @@ interface ISms {
|
||||
*/
|
||||
boolean isImsSmsSupportedForSubscriber(int subId);
|
||||
|
||||
/**
|
||||
* User needs to pick SIM for SMS if multiple SIMs present and if current subId passed in is not
|
||||
* active/valid.
|
||||
* @param subId current subId for sending SMS
|
||||
* @return true if SIM for SMS sending needs to be chosen
|
||||
*/
|
||||
boolean isSmsSimPickActivityNeeded(int subId);
|
||||
|
||||
/*
|
||||
* get user prefered SMS subId
|
||||
* @return subId id
|
||||
|
||||
Reference in New Issue
Block a user