Remove hidden deprecated getActiveNetworkQuotaInfo
getActiveNetworkQuotaInfo has never been in API surface since it was introduced. It became essentially functionless since android O, so there should be no usage dependency upon the hidden method, In order to support ConnectivityService mainline, remove the useless function to prevent necessary dependency. Bug: 172183305 Test: atest FrameworksNetTests Change-Id: Ia685b3260256d465ef614b2f577d13344074c787
This commit is contained in:
parent
984653607c
commit
7fe67c1961
1 changed files with 0 additions and 22 deletions
|
|
@ -2108,17 +2108,6 @@ public class ConnectivityManager {
|
|||
// ignored
|
||||
}
|
||||
|
||||
/** {@hide} */
|
||||
@Deprecated
|
||||
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
|
||||
public NetworkQuotaInfo getActiveNetworkQuotaInfo() {
|
||||
try {
|
||||
return mService.getActiveNetworkQuotaInfo();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @hide
|
||||
* @deprecated Talk to TelephonyManager directly
|
||||
|
|
|
|||
Loading…
Reference in a new issue