From 12b972168f825008795c01ba58e91580372f96ed Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Tue, 10 Dec 2019 15:31:57 +0000 Subject: [PATCH] Whitelist new lint errors These typedefs were incorrectly made public since the linter wasn't catching the errors. Bug: 145982314 Test: m Change-Id: Id89b15ba34df01584d3d5afe9d4112fad9613dbc Merged-In: Id89b15ba34df01584d3d5afe9d4112fad9613dbc (cherry picked from commit 3e8f84f82f09c20b01a254d75c7d16f163c91d4e) --- api/system-lint-baseline.txt | 10 ++++++++++ api/test-lint-baseline.txt | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/api/system-lint-baseline.txt b/api/system-lint-baseline.txt index c64e3d884a70c..432a5fd8efec7 100644 --- a/api/system-lint-baseline.txt +++ b/api/system-lint-baseline.txt @@ -144,6 +144,16 @@ ProtectedMember: android.service.contentcapture.ContentCaptureService#dump(java. ProtectedMember: android.service.notification.NotificationAssistantService#attachBaseContext(android.content.Context): +PublicTypedef: android.content.integrity.AtomicFormula.Key: Don't expose @IntDef: @Key must be hidden. + +PublicTypedef: android.content.integrity.AtomicFormula.Operator: Don't expose @IntDef: @Operator must be hidden. + +PublicTypedef: android.content.integrity.CompoundFormula.Connector: Don't expose @IntDef: @Connector must be hidden. + +PublicTypedef: android.content.integrity.Formula.Tag: Don't expose @IntDef: @Tag must be hidden. + +PublicTypedef: android.content.integrity.Rule.Effect: Don't expose @IntDef: @Effect must be hidden. + SamShouldBeLast: android.accounts.AccountManager#addAccount(String, String, String[], android.os.Bundle, android.app.Activity, android.accounts.AccountManagerCallback, android.os.Handler): diff --git a/api/test-lint-baseline.txt b/api/test-lint-baseline.txt index bf21ce71c9a43..3af392c05c8ff 100644 --- a/api/test-lint-baseline.txt +++ b/api/test-lint-baseline.txt @@ -2444,6 +2444,12 @@ ProtectedMember: android.view.View#resetResolvedDrawables(): ProtectedMember: android.view.ViewGroup#resetResolvedDrawables(): +PublicTypedef: android.os.HwParcel.Status: Don't expose @IntDef: @Status must be hidden. + +PublicTypedef: android.telephony.ims.feature.MmTelFeature.MmTelCapabilities.MmTelCapability: Don't expose @IntDef: @MmTelCapability must be hidden. + +PublicTypedef: android.telephony.ims.feature.MmTelFeature.ProcessCallResult: Don't expose @IntDef: @ProcessCallResult must be hidden. + RawAidl: android.telephony.mbms.vendor.MbmsDownloadServiceBase: