Skip to content
Commit fb211e75 authored by Songchun Fan's avatar Songchun Fan
Browse files

[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
parent 6e336465
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment