Add CDM dependency in Tethering

This change introduces a limited library for dependencies on
framework-connectivity from Tethering,
connectivity-internal-api-util, where all classes are annotated with
@RequiresApi(S) to ensure proper API checks are done before usage.

Bug: 245972418

Change-Id: I82bafd9063341adc71d07f0858e6d68283d081f0
This commit is contained in:
Igor Chernyshev
2022-12-13 19:28:32 -08:00
parent 551082a8ff
commit 9dac660bf0
13 changed files with 248 additions and 19 deletions

View File

@@ -5992,4 +5992,13 @@ public class ConnectivityManager {
throw e.rethrowFromSystemServer();
}
}
/** @hide */
public IBinder getCompanionDeviceManagerProxyService() {
try {
return mService.getCompanionDeviceManagerProxyService();
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
}
}