diff options
| author | 2017-07-06 08:02:44 +0000 | |
|---|---|---|
| committer | 2017-07-06 08:02:44 +0000 | |
| commit | aa9d12fa56ad19c7eded04668ed576aecff51ea5 (patch) | |
| tree | 9f9cb4786ea7a97731f16e3332174fb492e4e71f | |
| parent | e62a5fc7d3896336f7ce906c1b691d6eec8f5b18 (diff) | |
| parent | b171a46d193db3eee0ad837aa94c47d7752587a6 (diff) | |
Merge "Clearly log tether_offload_disabled setting status in start()"
am: b171a46d19
Change-Id: I999926bf0b67b12caadeea2d3766d8f69913bafe
| -rw-r--r-- | services/core/java/com/android/server/connectivity/tethering/OffloadController.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/connectivity/tethering/OffloadController.java b/services/core/java/com/android/server/connectivity/tethering/OffloadController.java index 78487b713f2e..20ec20681ce2 100644 --- a/services/core/java/com/android/server/connectivity/tethering/OffloadController.java +++ b/services/core/java/com/android/server/connectivity/tethering/OffloadController.java @@ -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(); |