Files
lineage-sdk/packages/LineageSettingsProvider/Android.bp
Sam Mortimer 93abc79d05 lineage-sdk: use platform_apis for LineageSettingsProvider
* Fixes compile error:
  lineage-sdk/packages/LineageSettingsProvider/Android.bp:17:1: module "LineageSettingsProvider" variant "android_common": platform_apis: platform_apis must be true when sdk_version is empty.

Change-Id: I3024ef46e729fea6f85ed9e84acf8ab5a9f05cb1
2020-09-14 22:07:11 +02:00

41 lines
1.1 KiB
Plaintext

//
// Copyright (C) 2018-2020 The LineageOS Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
android_app {
name: "LineageSettingsProvider",
srcs: ["src/**/*.java"],
resource_dirs: ["res"],
certificate: "platform",
privileged: true,
platform_apis: true,
static_libs: [
"org.lineageos.platform.internal",
],
required: [
"privapp_whitelist_org.lineageos.lineagesettings"
],
}
prebuilt_etc {
name: "privapp_whitelist_org.lineageos.lineagesettings",
sub_dir: "permissions",
src: "privapp_whitelist_org.lineageos.lineagesettings.xml",
filename_from_src: true,
}