From e8271e50c1e4db1ae317c55ee4e9fee959e7ba89 Mon Sep 17 00:00:00 2001 From: Paul Duffin Date: Tue, 9 Jul 2024 16:43:43 +0100 Subject: Replace hidden_api_packages with package-info.java and @hide The `hidden_api_packages` is being removed from Soong so this replaces it with a `package-info.java` containing `@hide` for each hidden package. Hiding the `com.android.nfc` had no effect so no `package-info.java` file was created for that. Bug: 351991463 Test: m checkapi Change-Id: I67043afb34f10d4e9e910bd7e6d671c39414e0f7 --- .../android/internal/location/package-info.java | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 location/java/com/android/internal/location/package-info.java (limited to 'location/java/com') diff --git a/location/java/com/android/internal/location/package-info.java b/location/java/com/android/internal/location/package-info.java new file mode 100644 index 000000000000..25573c15ce59 --- /dev/null +++ b/location/java/com/android/internal/location/package-info.java @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2024 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. + */ + +/** + * Exclude from API surfaces + * + * @hide + */ +package com.android.internal.location; -- cgit v1.2.3-59-g8ed1b