diff options
author | Pavel Grafov <pgrafov@google.com> | 2020-05-01 00:26:14 +0100 |
---|---|---|
committer | Pavel Grafov <pgrafov@google.com> | 2020-06-17 00:18:34 +0100 |
commit | c66a30c4bf5177fa6ec5cd8630fcb77c62326a6f (patch) | |
tree | 7b5aabcf0ab86a5ebff26d60eaf197fbce922ce7 /packages/services | |
parent | b86d989fce1997e4901aad3b45eec2b15383bd6d (diff) |
Connectivity: start PAC global proxy after reboot.
Previously, we read the global proxy settings from Settings.Global
database after reboot. This works for manual proxies, but not for
proxies based on PAC rules, as PacManager is never invoked when
ConnectivityService starts up. As a consequence, services required for
PAC-based proxies (PacService and ProxyService) are never started.
In this CL, we make sure PacManager is called during boot, so that PAC
rules will take effect.
Bug: 35943997
Test: set a PAC proxy and observe it still works after reboot
Change-Id: I69edb5fcd3e84663d338ff4b93c40fd5ee2c8c51
Diffstat (limited to 'packages/services')
-rw-r--r-- | packages/services/PacProcessor/AndroidManifest.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/services/PacProcessor/AndroidManifest.xml b/packages/services/PacProcessor/AndroidManifest.xml index 6740c169ff21..ad1326194a4d 100644 --- a/packages/services/PacProcessor/AndroidManifest.xml +++ b/packages/services/PacProcessor/AndroidManifest.xml @@ -5,7 +5,9 @@ <uses-permission android:name="android.permission.INTERNET" /> <application - android:label="@string/app_name"> + android:label="@string/app_name" + android:defaultToDeviceProtectedStorage="true" + android:directBootAware="true"> <service android:name=".PacService" android:exported="true"> |