diff options
author | 2023-08-31 10:01:09 +0000 | |
---|---|---|
committer | 2023-08-31 10:01:09 +0000 | |
commit | ce312cfcc09bd85154b216d3d01ef61f7952969e (patch) | |
tree | e239681e685394f4defd85785f49d1ae5d97fce2 | |
parent | a8b9c913fbc0edda9d8c86e9c9363e2077b6a7e5 (diff) | |
parent | 22f1191130fe6917f963eb0ce7756967f034bb05 (diff) |
Merge "Created empty framework-location non-updatable module" into main am: 22f1191130
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2729073
Change-Id: Ie4f06747c79feabd11b0d17427a5cd8f7a08c826
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r-- | location/Android.bp | 24 | ||||
-rw-r--r-- | location/placeholder_java/android/location/Placeholder.java | 27 |
2 files changed, 51 insertions, 0 deletions
diff --git a/location/Android.bp b/location/Android.bp new file mode 100644 index 000000000000..ead46e9b28d9 --- /dev/null +++ b/location/Android.bp @@ -0,0 +1,24 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "frameworks_base_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: ["frameworks_base_license"], +} + +//location sources that will populate the new module +filegroup { + name: "framework-location-nonupdatable-sources", + srcs: [ + "placeholder_java/android/location/Placeholder.java", + ], +} + +java_library { + name: "framework-location.stubs.module_lib", + srcs: [ + ":framework-location-nonupdatable-sources", + ], + sdk_version: "core_platform", +} diff --git a/location/placeholder_java/android/location/Placeholder.java b/location/placeholder_java/android/location/Placeholder.java new file mode 100644 index 000000000000..f0dbce829174 --- /dev/null +++ b/location/placeholder_java/android/location/Placeholder.java @@ -0,0 +1,27 @@ +/* + * Copyright (C) 2023 The Android Open Source 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. + */ + +package android.location; + +/** + * Placeholder class so new frameworks-location module isn't empty, will be removed once module is + * populated. + * + * @hide + * + */ +public class Placeholder { +} |