Remove @TestApi from @SystemApi symbols
I ran these commands:
cd frameworks/base
grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \
's/\@SystemApi[\s\n]+(\@\w+[\s\n]+)?\@TestApi/\@SystemApi\1/gs'
grep -rl '@TestApi' --include '*.java' | xargs perl -i -p0e \
's/\@TestApi[\s\n]+(\@\w+[\s\n]+)?\@SystemApi/\1\@SystemApi/gs'
Bug: 171179806
Test: m checkapi
Change-Id: I772790b783b0a8730b8bf680c9e569a886b8d789
Merged-In: I772790b783b0a8730b8bf680c9e569a886b8d789
This commit is contained in:
parent
644a034eed
commit
f4d863eb95
1 changed files with 0 additions and 74 deletions
|
|
@ -269,7 +269,6 @@ public class ConnectivityManager {
|
|||
* {@hide}
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final String EXTRA_CAPTIVE_PORTAL_PROBE_SPEC =
|
||||
"android.net.extra.CAPTIVE_PORTAL_PROBE_SPEC";
|
||||
|
||||
|
|
@ -278,7 +277,6 @@ public class ConnectivityManager {
|
|||
* {@hide}
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
public static final String EXTRA_CAPTIVE_PORTAL_USER_AGENT =
|
||||
"android.net.extra.CAPTIVE_PORTAL_USER_AGENT";
|
||||
|
||||
|
|
@ -4401,7 +4399,6 @@ public class ConnectivityManager {
|
|||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
@TestApi
|
||||
@RequiresPermission(NetworkStack.PERMISSION_MAINLINE_NETWORK_STACK)
|
||||
public void startCaptivePortalApp(@NonNull Network network, @NonNull Bundle appExtras) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue