From b22c673d6bc5dfdde9bc4c600f4fe9a8c9ef64cc Mon Sep 17 00:00:00 2001 From: Anton Hansson Date: Mon, 4 May 2020 20:20:43 +0100 Subject: [PATCH] Explicitly disable api lint for graphics It needs a baseline or checked in prior API in order not to produce errors, but it's holding up an upstream CL that turns API lint on everywhere from submitting right now. Bug: 144149403 Test: m Change-Id: I558be69e7cf8deac31e612ab393f1979984933b9 --- libs/hwui/Android.bp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 769afc58f50df..eb63ba036624d 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp @@ -197,6 +197,13 @@ droidstubs { "framework-graphics-stubs-srcs-defaults", "framework-module-api-defaults-module_libs_api", ], + check_api: { + // Disable api_lint that the defaults enable + // TODO: enable this + api_lint: { + enabled: false, + }, + }, } droidstubs { @@ -213,6 +220,13 @@ droidstubs { "framework-graphics-stubs-srcs-defaults", "framework-module-stubs-defaults-publicapi", ], + check_api: { + // Disable api_lint that the defaults enable + // TODO: enable this + api_lint: { + enabled: false, + }, + }, } droidstubs { @@ -221,6 +235,13 @@ droidstubs { "framework-graphics-stubs-srcs-defaults", "framework-module-stubs-defaults-systemapi", ], + check_api: { + // Disable api_lint that the defaults enable + // TODO: enable this + api_lint: { + enabled: false, + }, + }, } java_library {