commit | fb211e75a2f887e884f74a63621c65a563ec24a7 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Thu Jul 08 15:53:54 2021 -0700 |
committer | Songchun Fan <schfan@google.com> | Thu Aug 05 10:01:12 2021 -0700 |
tree | ad5cd2484de03fda19d80ed23b8b1edef2754296 | |
parent | 6e336465120fa66b65905fa74834fd4f28648f95 [diff] |
[SettingsProvider] lint checks for non-user getter calls from system server Detect method calls like Settings.Secure.getInt(). System server code should always use get*ForUser() instead of get*() methods. BUG: 166312046 Test: atest com.google.android.lint.CallingSettingsNonUserGetterMethodsIssueDetectorTest Change-Id: If54c867f58ffd92a1dd1759f806a280e5b5c04c6