Clearly log tether_offload_disabled setting status in start()
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
Bug: 29337859
Bug: 32163131
Change-Id: I312a9309d6934bcec7fc0245cad12b97f1a22521
This commit is contained in:
@@ -58,7 +58,12 @@ public class OffloadController {
|
||||
}
|
||||
|
||||
public void start() {
|
||||
if (isOffloadDisabled() || started()) return;
|
||||
if (started()) return;
|
||||
|
||||
if (isOffloadDisabled()) {
|
||||
mLog.i("tethering offload disabled");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mConfigInitialized) {
|
||||
mConfigInitialized = mHwInterface.initOffloadConfig();
|
||||
|
||||
Reference in New Issue
Block a user