commit | c50d8b6d94a392b38079ed0b696dabed18bfa35b | [log] [tgz] |
---|---|---|
author | lucaslin <lucaslin@google.com> | Fri Oct 16 19:13:48 2020 +0800 |
committer | lucaslin <lucaslin@google.com> | Fri Oct 16 19:13:48 2020 +0800 |
tree | 27eb1d173ab98301c4f5957ca67794a0e7b0dd77 | |
parent | 074990596701553b8b51ff22290453de522f0d15 [diff] |
Use public API of Settings.Secure to get/put secure settings Get/put secure settings by using public API of Settings.Secure to prevent using hidden API. Bug: 171033200 Test: atest FrameworksNetTests Test: Install 3rd-party VPN app and create multiple users, then change the VPN always-on setting in one of users and check if the VPN always-on setting of the others is not changed. (i.e. Make sure they won't influence each other.) Change-Id: Icd455df3fa6eac52cdab1b162556f429da99e8f7