No Tethering Offload HAL is not really an error am: b68f73cc17

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2543091

Change-Id: I0d224ee1640c85e6a233edd6276657225676b3a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski
2023-04-18 17:15:59 +00:00
committed by Automerger Merge Worker
2 changed files with 5 additions and 2 deletions

View File

@@ -288,9 +288,12 @@ public class OffloadHalHidlImpl implements IOffloadHal {
IOffloadConfig config = null;
try {
config = IOffloadConfig.getService(true /*retry*/);
} catch (RemoteException | NoSuchElementException e) {
} catch (RemoteException e) {
log.e("getIOffloadConfig error " + e);
return null;
} catch (NoSuchElementException e) {
log.i("getIOffloadConfig Tether Offload HAL not present/implemented");
return null;
}
IOffloadControl control = null;

View File

@@ -307,7 +307,7 @@ public class OffloadHardwareInterface {
if (mIOffload == null) {
mIOffload = mDeps.getOffload();
if (mIOffload == null) {
mLog.e("No tethering offload HAL service found.");
mLog.i("No tethering offload HAL service found.");
return OFFLOAD_HAL_VERSION_NONE;
}
mLog.i("Tethering offload version "