[Passpoint] Add API to check if Passpoint T&C is supported
Add API to check if Passpoint T&C is supported, to allow
provisioning apps to avoid suggesting networks that are gated by
T&Cs acceptance, in devices that do not support this feature and
could never connect.
Bug: 181581415
Test: atest WifiManagerTest
Change-Id: Ic764edb39007e05b371f37296f619a0f003690d8
diff --git a/framework/api/current.txt b/framework/api/current.txt
index 980a89c..0f4b1ea 100644
--- a/framework/api/current.txt
+++ b/framework/api/current.txt
@@ -360,6 +360,7 @@
method public boolean isEnhancedPowerReportingSupported();
method public boolean isMakeBeforeBreakWifiSwitchingSupported();
method public boolean isP2pSupported();
+ method public boolean isPasspointTermsAndConditionsSupported();
method public boolean isPreferredNetworkOffloadSupported();
method @Deprecated public boolean isScanAlwaysAvailable();
method @RequiresPermission(android.Manifest.permission.ACCESS_WIFI_STATE) public boolean isScanThrottleEnabled();