No Tethering Offload HAL is not really an error

Bug: 278660842
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I978de7fe33b77b432df183b4c7a1966849f17389
This commit is contained in:
Maciej Żenczykowski
2023-04-18 10:00:09 +00:00
parent 4402d99296
commit b68f73cc17
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 "