diff options
| author | 2023-08-30 04:56:45 +0000 | |
|---|---|---|
| committer | 2023-08-30 08:25:50 +0000 | |
| commit | 031684a9f6134c05e6c4c382dfb1a8f1b51a5ed9 (patch) | |
| tree | 9702ed5aabb7d336d44a8a98c375fa59fa1a210c | |
| parent | 1b4c50be58aa6597690a5a9eab6ad3b2558397f0 (diff) | |
Created empty framework-location non-updatable module
Bug: 289776578
Test: presubmit
Change-Id: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2
Merged-In: Id077cff3825cea0da2ea9fad06c53eeb4f8655a2
| -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 { +}  |