Reason: Revisit and redesign in S
Bug: 147390517
Test: make
Change-Id: I0749492a5648dfa2fb83271f349a8370972f7032
Merged-In: I0749492a5648dfa2fb83271f349a8370972f7032
(cherry picked from commit 2d280f1bb4)
Removing api status to several apis created during telephony mainline in R.
Bug: 147465477
Test: make
Change-Id: I6d394fae478ef62769147beaeb944771a67aca70
1. enableClientControlByUser should be renamed
to setClientControlByUserEnabled.
2. setShutdownTimeoutMillis(int) should take a long,
same for getter. Millisecond durations are always long.
3. Separate setClientList into two methods
Bug: 150855680
Test: atest frameworks/base/wifi/tests/
Change-Id: Ib065993748e186790290d3e50f4f28a09146fd65
This is already effectively an API the way it is documented.
Updating all the references of the hard-coded constant.
Test: make update-api && make
Bug: 151112929
Change-Id: Iadeb03c516215cfc51bc8604b67250348d5a4375
The permission annotation is stale. Only the
CONFIGURE_WIFI_DISPLAY permission is checked.
Bug: 151091657
Test: compiles
Change-Id: I6f7cbf8910e5f9e6830d3cb8ba686ca17616fb19
Remove support for SAE Password identifier from API surface due to
privacy vulnerabilities that exist in the protocol.
Bug: 150897608
Test: atest WifiConfigurationTest
Test: Manually connect to SAE network without password id
Change-Id: I40ebf7720ee51ddf264d4f256a1a75b03f1a6ca6
Starting in R, there is a new public API overload that delivers a
flags argument. Some apps may be relying on a previous hidden API
that delivered a userId argument, and this change is used to control
delivery of the new flags argument in its place.
There are dozens of these hidden API users are in the system UID,
either in the system process or the Settings app, so we hard-code
giving them the legacy behavior, since refactoring would be messy
between internal and AOSP branches.
Also adjust incoming and outgoing method signatures to use slightly
more flexible Collection<Uri>, which has handy methods like
contains() and isEmpty().
Bug: 150939131
Test: atest --test-mapping packages/providers/MediaProvider
Test: atest FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest
Exempt-From-Owner-Approval: trivial refactoring
Change-Id: If6a77449e19215cf1c60d4217e62fc04b0959bfc
CONNECTIVITY_INTERNAL permission is not checked,
instead NETWORK_SETTINGS is checked.
Updated the annotation accordingly.
Bug: 151091657
Test: compiles
Change-Id: I20b73d695feefdd666be4e6894db981c39ad6b06
Undid carrier constants as @SystemApis. Also had to move
constants out of annotation.java because any references in
that specific file need to be to public APIs.
Bug: 148170690
Test: make, flash
Change-Id: Ie4b827563dbc373c58ec805bc5400e0950b5b81e