diff options
author | David Jia <davidjia@google.com> | 2024-04-22 18:25:30 +0000 |
---|---|---|
committer | David Jia <davidjia@google.com> | 2024-05-03 19:44:06 +0000 |
commit | 98b401c4e5e6303c3dcb25d375ad28e4aad8b0f8 (patch) | |
tree | 19f737056af2591bd98e1bfbf18b1a54257ca9f0 | |
parent | 10a2c565f6dac44709b9f2b77dd06d8b9d1fafcb (diff) | |
download | accompanist-98b401c4e5e6303c3dcb25d375ad28e4aad8b0f8.tar.gz |
Third-Party Import of: https://github.com/google/accompanistupstream
Request Document: go/android3p
For CL Reviewers: go/android3p#reviewing-a-cl
For Build Team: go/ab-third-party-imports
Test: Locally compiled successfully and used in tested being used in
jetpack-camera-app successfully
Bug: http://b/324277532
Original import of the code can be found at: https://googleplex-android.googlesource.com/platform/external/accompanist/+/refs/heads/third-party-review.
Security Questionnaire: http://b/324277532#comment1
Change-Id: I4f62245cedb7387d2f76a4760222997ae0ce42dc
-rw-r--r-- | Android.bp | 10 | ||||
-rw-r--r-- | METADATA | 16 | ||||
-rw-r--r-- | MODULE_LICENSE_APACHE2 | 0 | ||||
-rw-r--r-- | OWNERS | 1 | ||||
-rw-r--r-- | permissions/Android.bp | 22 | ||||
-rw-r--r-- | permissions/AndroidManifest.xml | 21 |
6 files changed, 70 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 00000000..874e9aa0 --- /dev/null +++ b/Android.bp @@ -0,0 +1,10 @@ +package { + default_applicable_licenses: [ + "Android-Apache-2.0", + ], + default_team: "trendy_team_camerax", +} + +subdirs = [ + "permissions", +] diff --git a/METADATA b/METADATA new file mode 100644 index 00000000..37d7c5c2 --- /dev/null +++ b/METADATA @@ -0,0 +1,16 @@ +name: "accompanist" +description: + "Accompanist is a group of libraries that aim to supplement Jetpack Compose with features that are commonly required by developers but not yet available. Accompanist is a labs like environment for new Compose APIs. We use it to help fill known gaps in the Compose toolkit, experiment with new APIs and to gather insight into the development experience of developing a Compose library. The goal of these libraries is to upstream them into the official toolkit, at which point they will be deprecated and removed from Accompanist." + +third_party { + identifier { + type: "Git" + value: "https://github.com/google/accompanist" + version: "10a2c565f6dac44709b9f2b77dd06d8b9d1fafcb" + primary_source: true + } + version: "10a2c565f6dac44709b9f2b77dd06d8b9d1fafcb" + last_upgrade_date { year: 2024 month: 3 day: 4 } + license_type: NOTICE +} + diff --git a/MODULE_LICENSE_APACHE2 b/MODULE_LICENSE_APACHE2 new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/MODULE_LICENSE_APACHE2 @@ -0,0 +1 @@ +include platform/system/core:main:/janitors/OWNERS diff --git a/permissions/Android.bp b/permissions/Android.bp new file mode 100644 index 00000000..e432b372 --- /dev/null +++ b/permissions/Android.bp @@ -0,0 +1,22 @@ +package { + default_applicable_licenses: [ + "Android-Apache-2.0", + ], +} + +android_library { + name: "accompanist-permissions", + srcs: ["src/main/**/*.kt"], + static_libs: [ + "androidx.activity_activity-compose", + "androidx.compose.runtime_runtime", + "androidx.compose.foundation_foundation", + "kotlinx-coroutines-android", + + ], + sdk_version: "33", + min_sdk_version: "21", + visibility: [ + "//external/jetpack-camera-app:__subpackages__", + ], +} diff --git a/permissions/AndroidManifest.xml b/permissions/AndroidManifest.xml new file mode 100644 index 00000000..324b8a79 --- /dev/null +++ b/permissions/AndroidManifest.xml @@ -0,0 +1,21 @@ +<!-- + ~ Copyright 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 + ~ + ~ https://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. + --> + +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:tools="http://schemas.android.com/tools" + package="com.google.accompanist.permissions"> + <uses-sdk android:minSdkVersion="21" /> +</manifest> |