1// 2// Copyright (C) 2021 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17// APK to hold all the Safety Center overlayable resources. 18package { 19 default_team: "trendy_team_android_permissions", 20 default_applicable_licenses: ["Android-Apache-2.0"], 21} 22 23android_library { 24 name: "SafetyCenterResourcesShared", 25 sdk_version: "system_current", 26 min_sdk_version: "30", 27 apex_available: ["com.android.permission"], 28 resource_dirs: [ 29 "shared_res", 30 ], 31 manifest: "AndroidManifestLibrary.xml", 32 visibility: [ 33 "//packages/modules/Permission:__subpackages__", 34 "//vendor:__subpackages__", 35 ], 36} 37 38android_app { 39 name: "SafetyCenterResources", 40 privileged: true, 41 sdk_version: "system_current", 42 min_sdk_version: "30", 43 apex_available: ["com.android.permission"], 44 certificate: ":com.android.safetycenter.resources.certificate", 45 // TODO(b/322944911): Reconsider enabling linter checker 46 //lint: { 47 // extra_check_modules: ["ConfigLintChecker"], 48 //}, 49 static_libs: [ 50 "SafetyCenterResourcesShared", 51 ], 52} 53 54android_app_certificate { 55 name: "com.android.safetycenter.resources.certificate", 56 certificate: "com.android.safetycenter.resources", 57} 58