Commit 903ea274 authored by Paul Jensen's avatar Paul Jensen
Browse files

Update CTS ConnectivityManager permissions tests to work with L release.

Removed getNetworkPreference() and setNetworkPreference() tests as
these functions are now fully deprecated and do nothing, including
performing no permissions checks.
Adjusted the arguments used to test startUsingNetworkFeature() to
make them more realistic as this function now performs some basic
argument checking before testing permissions.
Removed stopUsingNetworkFeature() test as this function can't
encounter permissions failures anymore.  It will only fail to find
a record of a matching startUsingNetworkFeature() call and return -1.

bug:17187446
bug:17187549
Change-Id: I14c310890c6905a9464d61113c2bfd789f290937
parent 7dab75cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment