commit | 511a67f767586581c5c6d053e594d4993c607da0 | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Fri Mar 19 09:43:21 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Mar 19 09:43:21 2021 +0000 |
tree | 7fff2130f405913e18285bc8882466101895e7f8 | |
parent | c5f2fd7fb7754b6e374fc456269274e069133d9b [diff] | |
parent | 330ba163d9262359f79f54400b3a5d6b98e06bd1 [diff] |
Merge "Remove hidden API usage from ProxyTracker" am: ed15b01b0d am: 2f04604df2 am: 330ba163d9 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1646966 Change-Id: I4c5e91ae575c5cd79198a47572a7403e12d64dfa
diff --git a/services/core/java/com/android/server/connectivity/ProxyTracker.java b/services/core/java/com/android/server/connectivity/ProxyTracker.java index f883307..f572b46 100644 --- a/services/core/java/com/android/server/connectivity/ProxyTracker.java +++ b/services/core/java/com/android/server/connectivity/ProxyTracker.java
@@ -34,7 +34,6 @@ import android.net.Uri; import android.os.Binder; import android.os.Handler; -import android.os.HandlerExecutor; import android.os.UserHandle; import android.provider.Settings; import android.text.TextUtils; @@ -105,7 +104,7 @@ PacProxyInstalledListener listener = new PacProxyInstalledListener(pacChangedEvent); mPacProxyManager.addPacProxyInstalledListener( - new HandlerExecutor(mConnectivityServiceHandler), listener); + mConnectivityServiceHandler::post, listener); } // Convert empty ProxyInfo's to null as null-checks are used to determine if proxies are present