summaryrefslogtreecommitdiff
path: root/location/java/com
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2024-07-09 16:43:43 +0100
committer Paul Duffin <paulduffin@google.com> 2024-07-09 16:43:43 +0100
commite8271e50c1e4db1ae317c55ee4e9fee959e7ba89 (patch)
treef5f3ff9213e24e5b9ebae66b90a72dead9be3d3c /location/java/com
parent2439db1cf8639b4f70b3e46a34a777d2bdb7ae10 (diff)
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
Diffstat (limited to 'location/java/com')
-rw-r--r--location/java/com/android/internal/location/package-info.java22
1 files changed, 22 insertions, 0 deletions
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;