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:
@@ -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;
|
||||
|
||||
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user