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:
@@ -5992,4 +5992,13 @@ public class ConnectivityManager {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
public IBinder getCompanionDeviceManagerProxyService() {
|
||||
try {
|
||||
return mService.getCompanionDeviceManagerProxyService();
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user