diff options
| author | Chiachang Wang <chiachangwang@google.com> | 2020-12-18 18:55:30 +0800 |
|---|---|---|
| committer | Chiachang Wang <chiachangwang@google.com> | 2021-01-07 06:46:40 +0000 |
| commit | 454497b7df5991cbcf47fc033ea27c96520e400b (patch) | |
| tree | a75c1e7e499ce1675dbb1ae391d2b4ebd3bfc4f2 /core/java/android/net/ConnectivityManager.java | |
| parent | 8196aaaaee2c796707f03a199304941bda18dd9e (diff) | |
Remove mobile provision design out from connectivity service
In order to support ConnectivityService mainline, module should
not use hidden APIs. The logic to get mobile provision is moved
to telephony surface since it's only used by telephony.
Hence, remove the design out from Connectivity.
Bug: 175177794
Test: atest FrameworksNetTests
Change-Id: Ic3082fc1c4d7ac998f4e4cff1351e6829d500924
Diffstat (limited to 'core/java/android/net/ConnectivityManager.java')
| -rw-r--r-- | core/java/android/net/ConnectivityManager.java | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/core/java/android/net/ConnectivityManager.java b/core/java/android/net/ConnectivityManager.java index 540ea5c159cc..b358df995c58 100644 --- a/core/java/android/net/ConnectivityManager.java +++ b/core/java/android/net/ConnectivityManager.java @@ -3119,39 +3119,6 @@ public class ConnectivityManager { } /** - * Check mobile provisioning. - * - * @param suggestedTimeOutMs, timeout in milliseconds - * - * @return time out that will be used, maybe less that suggestedTimeOutMs - * -1 if an error. - * - * {@hide} - */ - public int checkMobileProvisioning(int suggestedTimeOutMs) { - int timeOutMs = -1; - try { - timeOutMs = mService.checkMobileProvisioning(suggestedTimeOutMs); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - return timeOutMs; - } - - /** - * Get the mobile provisioning url. - * {@hide} - */ - @RequiresPermission(android.Manifest.permission.NETWORK_SETTINGS) - public String getMobileProvisioningUrl() { - try { - return mService.getMobileProvisioningUrl(); - } catch (RemoteException e) { - throw e.rethrowFromSystemServer(); - } - } - - /** * Set sign in error notification to visible or invisible * * @hide |
