Loading services/core/java/com/android/server/connectivity/PacProxyService.java +8 −1 Original line number Diff line number Diff line Loading @@ -344,11 +344,18 @@ public class PacProxyService extends IPacProxyManager.Stub { mProxyService = IProxyService.Stub.asInterface(binder); if (mProxyService == null) { Log.e(TAG, "No proxy service"); } else { // If mCurrentPac is not null, then the PacService might have // crashed and restarted. The download task will not actually // call setCurrentProxyScript, so call setCurrentProxyScript here. if (mCurrentPac != null) { setCurrentProxyScript(mCurrentPac); } else { mNetThreadHandler.post(mPacDownloader); } } } } }; mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND | Context.BIND_NOT_VISIBLE); Loading Loading
services/core/java/com/android/server/connectivity/PacProxyService.java +8 −1 Original line number Diff line number Diff line Loading @@ -344,11 +344,18 @@ public class PacProxyService extends IPacProxyManager.Stub { mProxyService = IProxyService.Stub.asInterface(binder); if (mProxyService == null) { Log.e(TAG, "No proxy service"); } else { // If mCurrentPac is not null, then the PacService might have // crashed and restarted. The download task will not actually // call setCurrentProxyScript, so call setCurrentProxyScript here. if (mCurrentPac != null) { setCurrentProxyScript(mCurrentPac); } else { mNetThreadHandler.post(mPacDownloader); } } } } }; mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND | Context.BIND_NOT_VISIBLE); Loading