Skip to content

Commit c1ba7f4

Browse files
Treehugger RobotGerrit Code Review
Treehugger Robot
authored and
Gerrit Code Review
committed
Merge "Replace hidden_api_packages with package-info.java and @hide" into main
2 parents 1b10472 + c31d33f commit c1ba7f4

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

location/Android.bp

-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ java_sdk_library {
3030
"app-compat-annotations",
3131
"unsupportedappusage", // for android.compat.annotation.UnsupportedAppUsage
3232
],
33-
hidden_api_packages: [
34-
"com.android.internal.location",
35-
],
3633
aidl: {
3734
include_dirs: [
3835
"frameworks/base/location/java",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/*
2+
* Copyright (C) 2024 The Android Open Source Project
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
/**
18+
* Exclude from API surfaces
19+
*
20+
* @hide
21+
*/
22+
package com.android.internal.location;

nfc/Android.bp

-3
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ java_sdk_library {
5959
"android.nfc",
6060
"com.android.nfc",
6161
],
62-
hidden_api_packages: [
63-
"com.android.nfc",
64-
],
6562
impl_library_visibility: [
6663
"//frameworks/base:__subpackages__",
6764
"//cts/tests/tests/nfc",

0 commit comments

Comments
 (0)