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:
committed by
Automerger Merge Worker
commit
78f6d40ee1
@@ -288,9 +288,12 @@ public class OffloadHalHidlImpl implements IOffloadHal {
|
|||||||
IOffloadConfig config = null;
|
IOffloadConfig config = null;
|
||||||
try {
|
try {
|
||||||
config = IOffloadConfig.getService(true /*retry*/);
|
config = IOffloadConfig.getService(true /*retry*/);
|
||||||
} catch (RemoteException | NoSuchElementException e) {
|
} catch (RemoteException e) {
|
||||||
log.e("getIOffloadConfig error " + e);
|
log.e("getIOffloadConfig error " + e);
|
||||||
return null;
|
return null;
|
||||||
|
} catch (NoSuchElementException e) {
|
||||||
|
log.i("getIOffloadConfig Tether Offload HAL not present/implemented");
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
IOffloadControl control = null;
|
IOffloadControl control = null;
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ public class OffloadHardwareInterface {
|
|||||||
if (mIOffload == null) {
|
if (mIOffload == null) {
|
||||||
mIOffload = mDeps.getOffload();
|
mIOffload = mDeps.getOffload();
|
||||||
if (mIOffload == null) {
|
if (mIOffload == null) {
|
||||||
mLog.e("No tethering offload HAL service found.");
|
mLog.i("No tethering offload HAL service found.");
|
||||||
return OFFLOAD_HAL_VERSION_NONE;
|
return OFFLOAD_HAL_VERSION_NONE;
|
||||||
}
|
}
|
||||||
mLog.i("Tethering offload version "
|
mLog.i("Tethering offload version "
|
||||||
|
|||||||
Reference in New Issue
Block a user