passpoint: add a condition for checking target SDK version against Q.
As part of deprecatinng WifiManager#removePasspointConfiguration,
the flow of this api is changed based on SDK verson and permission.
- For targetSDK < Q: return false if no permission
- For targetSDK >= Q: normal failure on lack of permission - SecurityException
- Go through normal flow otherwise.
Bug: 124301934
Test: ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: Ib1e4dff05d5c26490ff5848d6bbe70ce9ee63f09
Signed-off-by: Ecco Park <eccopark@google.com>
2 files changed