summaryrefslogtreecommitdiff
path: root/telephony/java/com
diff options
context:
space:
mode:
authorSooraj Sasindran <sasindran@google.com>2020-07-15 01:27:47 -0700
committerSooraj Sasindran <sasindran@google.com>2020-10-31 16:22:53 +0000
commit64db0761f7438820945c84d966d0679e2d8de9fe (patch)
treed9484744c572f1afbd6a8b016276e52653d5e4fb /telephony/java/com
parentdfaf434b2080323b1b131b17bc0a0622c2349186 (diff)
Rename setDataEnabledWithReason
1. Rename setDataEnabledWithReason to setDataEnabledForReasn 2. Allow isDataConnectionAllowed to be accessed by same apps as isDataEnabledForReason 3. Make these apis public Bug: 156332911 Test: cts and build Change-Id: I8672ab8861fdec1854427ee9ce5ad8eec8774608 Merged-In: I8672ab8861fdec1854427ee9ce5ad8eec8774608
Diffstat (limited to 'telephony/java/com')
-rw-r--r--telephony/java/com/android/internal/telephony/ITelephony.aidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl
index db3c1b637893..79456360c377 100644
--- a/telephony/java/com/android/internal/telephony/ITelephony.aidl
+++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl
@@ -1008,7 +1008,7 @@ interface ITelephony {
* @param reason the reason the data enable change is taking place
* @param enable true to turn on, else false
*/
- void setDataEnabledWithReason(int subId, int reason, boolean enable);
+ void setDataEnabledForReason(int subId, int reason, boolean enable);
/**
* Return whether data is enabled for certain reason
@@ -1016,7 +1016,7 @@ interface ITelephony {
* @param reason the reason the data enable change is taking place
* @return true on enabled
*/
- boolean isDataEnabledWithReason(int subId, int reason);
+ boolean isDataEnabledForReason(int subId, int reason);
/**
* Checks if manual network selection is allowed.