From dfbc7f2b38edd62e8f5bcd1f6b50b96c3b1e9701 Mon Sep 17 00:00:00 2001 From: Songchun Fan Date: Thu, 3 Feb 2022 14:44:35 -0800 Subject: [PATCH] [lint] exempt Bluetooth from using non-*forUser Settings methods Test: manual with steps in b/195968932#comment6 Test: m out/soong/.intermediates/frameworks/base/services/core/services.core.unboosted/android_common/lint/lint-report.html BUG: 217722828 Change-Id: Iad6d780edce3a350a9676bf93fbea10b40f8b2dc --- services/core/lint-baseline.xml | 148 ++++++++++++++------------------ 1 file changed, 65 insertions(+), 83 deletions(-) diff --git a/services/core/lint-baseline.xml b/services/core/lint-baseline.xml index c5b054949bc59..69e13b38873aa 100644 --- a/services/core/lint-baseline.xml +++ b/services/core/lint-baseline.xml @@ -1,158 +1,140 @@ - + + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="1122"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="1127"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + + + + + + + + + + + + + + + + + + + + + line="73"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="1072"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="260"/> + message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "> + line="928"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="1902"/> - - - - - - - - + message="`android.provider.Settings.Secure#getString()` called from system process. Please call `android.provider.Settings.Secure#getStringForUser()` instead. "> + line="2069"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="2076"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="984"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="1446"/> + message="`android.provider.Settings.Secure#getInt()` called from system process. Please call `android.provider.Settings.Secure#getIntForUser()` instead. "> + line="1448"/>