summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mark White <anothermark@google.com> 2023-08-30 15:24:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-08-30 15:24:42 +0000
commit22f1191130fe6917f963eb0ce7756967f034bb05 (patch)
tree6303eb8c8d1a7b6feafeaa1d75a1c712292bb58c
parentdc715436018bad27ab3b5e6d851a52ff3b719670 (diff)
parent48edf3a7065cced8bd15a5a08140a9ac796e24d2 (diff)
Merge "Created empty framework-location non-updatable module" into main
-rw-r--r--location/Android.bp24
-rw-r--r--location/placeholder_java/android/location/Placeholder.java27
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 {
+}