master
harvey186 2024-02-25 13:04:57 +01:00
commit 79e55bdc61
369 changed files with 18937 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
*.iml
.gradle
/local.properties
/.idea
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties

16
.reuse/dep5 Normal file
View File

@ -0,0 +1,16 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Aperture
Upstream-Contact: The LineageOS Project
Source: https://github.com/LineageOS/android_packages_apps_Aperture
Files: .github/workflows/* .gitignore app/.gitignore lens_launcher/.gitignore
Copyright: 2023 The LineageOS Project
License: Apache-2.0
Files: gradle/wrapper/*
Copyright: 2007-2023 Gradle, Inc.
License: Apache-2.0
Files: gradlew*
Copyright: 2007-2023 Gradle, Inc.
License: Apache-2.0

73
LICENSES/Apache-2.0.txt Normal file
View File

@ -0,0 +1,73 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.

8
LICENSES/CC-PDDC.txt Normal file
View File

@ -0,0 +1,8 @@
The person or persons who have associated work with this document (the "Dedicator" or "Certifier") hereby either (a) certifies that, to the best of his knowledge, the work of authorship identified is in the public domain of the country from which the work is published, or (b) hereby dedicates whatever copyright the dedicators holds in the work of authorship identified below (the "Work") to the public domain. A certifier, moreover, dedicates any copyright interest he may have in the associated work, and for these purposes, is described as a "dedicator" below.
A certifier has taken reasonable steps to verify the copyright status of this work. Certifier recognizes that his good faith efforts may not shield him from liability if in fact the work certified is not in the public domain.
Dedicator makes this dedication for the benefit of the public at large and to the detriment of the Dedicator's heirs and successors. Dedicator intends this dedication to be an overt act of relinquishment in perpetuity of all present and future rights under copyright law, whether vested or contingent, in the Work. Dedicator understands that such relinquishment of all rights includes the relinquishment of all rights to enforce (by lawsuit or otherwise) those copyrights in the Work.
Dedicator recognizes that, once placed in the public domain, the Work may be freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by anyone for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.

1
app/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/build

57
app/Android.bp Normal file
View File

@ -0,0 +1,57 @@
//
// SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_app {
name: "Aperture",
defaults: ["aapt_version_code_defaults"],
srcs: ["src/main/java/**/*.kt"],
resource_dirs: ["src/main/res"],
manifest: "src/main/AndroidManifest.xml",
sdk_version: "33",
product_specific: true,
required: [
"ApertureFrameworksBaseOverlay",
"ApertureLensLauncher",
],
static_libs: [
// DO NOT EDIT THIS SECTION MANUALLY
"androidx.core_core-ktx",
"androidx.activity_activity-ktx",
"androidx.appcompat_appcompat",
"androidx-constraintlayout_constraintlayout",
"androidx.exifinterface_exifinterface",
"androidx.lifecycle_lifecycle-viewmodel-ktx",
"androidx.preference_preference",
"Aperture_com.google.android.material_material",
"Aperture_androidx.camera_camera-core",
"Aperture_androidx.camera_camera-camera2",
"Aperture_androidx.camera_camera-lifecycle",
"Aperture_androidx.camera_camera-video",
"Aperture_androidx.camera_camera-view",
"Aperture_androidx.camera_camera-extensions",
"Aperture_androidx.media3_media3-exoplayer",
"Aperture_androidx.media3_media3-ui",
"Aperture_com.google.zxing_core",
"Aperture_io.coil-kt_coil",
"Aperture_io.coil-kt_coil-video",
],
optional_uses_libs: [
"androidx.camera.extensions.impl"
],
optimize: {
proguard_flags_files: ["proguard-rules.pro"],
},
}

133
app/build.gradle.kts Normal file
View File

@ -0,0 +1,133 @@
/*
* SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
import org.lineageos.generatebp.GenerateBpPlugin
import org.lineageos.generatebp.GenerateBpPluginExtension
import org.lineageos.generatebp.models.Module
plugins {
id("com.android.application")
id("kotlin-android")
}
apply {
plugin<GenerateBpPlugin>()
}
buildscript {
repositories {
maven("https://raw.githubusercontent.com/lineage-next/gradle-generatebp/v1.6/.m2")
}
dependencies {
classpath("org.lineageos:gradle-generatebp:+")
}
}
android {
compileSdk = 33
namespace = "org.leos.aperture"
defaultConfig {
applicationId = "org.leos.aperture"
minSdk = 26
targetSdk = 33
versionCode = 2
versionName = "1.6"
}
buildTypes {
getByName("release") {
// Enables code shrinking, obfuscation, and optimization.
isMinifyEnabled = true
// Enables resource shrinking.
isShrinkResources = true
// Includes the default ProGuard rules files.
setProguardFiles(
listOf(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
)
}
getByName("debug") {
// Append .dev to package name so we won't conflict with AOSP build.
applicationIdSuffix = ".dev"
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
}
dependencies {
// Align versions of all Kotlin components
implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0"))
implementation("androidx.core:core-ktx:1.10.1")
implementation("androidx.activity:activity-ktx:1.7.2")
implementation("androidx.appcompat:appcompat:1.6.1")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.exifinterface:exifinterface:1.3.7")
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.2")
implementation("androidx.preference:preference:1.2.1")
implementation("com.google.android.material:material:1.9.0")
// CameraX core library using the camera2 implementation
val cameraxVersion = "1.4.0-alpha04"
// The following line is optional, as the core library is included indirectly by camera-camera2
implementation("androidx.camera:camera-core:${cameraxVersion}")
implementation("androidx.camera:camera-camera2:${cameraxVersion}")
// If you want to additionally use the CameraX Lifecycle library
implementation("androidx.camera:camera-lifecycle:${cameraxVersion}")
// If you want to additionally use the CameraX VideoCapture library
implementation("androidx.camera:camera-video:${cameraxVersion}")
// If you want to additionally use the CameraX View class
implementation("androidx.camera:camera-view:${cameraxVersion}")
// If you want to additionally use the CameraX Extensions library
implementation("androidx.camera:camera-extensions:${cameraxVersion}")
// Media3
val media3Version = "1.1.1"
// For media playback using ExoPlayer
implementation("androidx.media3:media3-exoplayer:$media3Version")
// For building media playback UIs
implementation("androidx.media3:media3-ui:$media3Version")
// ZXing
implementation("com.google.zxing:core:3.5.2")
// Coil
implementation("io.coil-kt:coil:2.4.0")
implementation("io.coil-kt:coil-video:2.4.0")
}
configure<GenerateBpPluginExtension> {
targetSdk.set(android.defaultConfig.targetSdk!!)
availableInAOSP.set { module: Module ->
when {
module.group.startsWith("androidx") -> {
// We provide our own androidx.{camera,media3} & lifecycle-common
!module.group.startsWith("androidx.camera") &&
!module.group.startsWith("androidx.media3") &&
module.name != "lifecycle-common"
}
module.group.startsWith("org.jetbrains") -> true
module.group == "com.google.auto.value" -> true
module.group == "com.google.errorprone" -> true
module.group == "com.google.guava" -> true
module.group == "junit" -> true
else -> false
}
}
}

837
app/libs/Android.bp Normal file
View File

@ -0,0 +1,837 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
// DO NOT EDIT THIS FILE MANUALLY
android_library_import {
name: "Aperture_androidx.camera_camera-camera2-nodeps",
aars: ["androidx/camera/camera-camera2/1.4.0-alpha04/camera-camera2-1.4.0-alpha04.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.camera_camera-core",
"androidx.annotation_annotation",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
}
android_library {
name: "Aperture_androidx.camera_camera-camera2",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/camera/camera-camera2/1.4.0-alpha04/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.camera_camera-camera2-nodeps",
"Aperture_androidx.camera_camera-core",
"androidx.annotation_annotation",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.camera_camera-core-nodeps",
aars: ["androidx/camera/camera-core/1.4.0-alpha04/camera-core-1.4.0-alpha04.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.lifecycle_lifecycle-common",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"androidx.exifinterface_exifinterface",
"androidx.lifecycle_lifecycle-livedata",
"auto_value_annotations",
"guava",
"kotlin-stdlib",
],
}
android_library {
name: "Aperture_androidx.camera_camera-core",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/camera/camera-core/1.4.0-alpha04/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.camera_camera-core-nodeps",
"Aperture_androidx.lifecycle_lifecycle-common",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"androidx.exifinterface_exifinterface",
"androidx.lifecycle_lifecycle-livedata",
"auto_value_annotations",
"guava",
"kotlin-stdlib",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.camera_camera-extensions-nodeps",
aars: ["androidx/camera/camera-extensions/1.4.0-alpha04/camera-extensions-1.4.0-alpha04.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.camera_camera-core",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
}
android_library {
name: "Aperture_androidx.camera_camera-extensions",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/camera/camera-extensions/1.4.0-alpha04/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.camera_camera-extensions-nodeps",
"Aperture_androidx.camera_camera-core",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.camera_camera-lifecycle-nodeps",
aars: ["androidx/camera/camera-lifecycle/1.4.0-alpha04/camera-lifecycle-1.4.0-alpha04.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.camera_camera-core",
"Aperture_androidx.lifecycle_lifecycle-common",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
}
android_library {
name: "Aperture_androidx.camera_camera-lifecycle",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/camera/camera-lifecycle/1.4.0-alpha04/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.camera_camera-lifecycle-nodeps",
"Aperture_androidx.camera_camera-core",
"Aperture_androidx.lifecycle_lifecycle-common",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.camera_camera-video-nodeps",
aars: ["androidx/camera/camera-video/1.4.0-alpha04/camera-video-1.4.0-alpha04.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.camera_camera-core",
"androidx.annotation_annotation",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
],
}
android_library {
name: "Aperture_androidx.camera_camera-video",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/camera/camera-video/1.4.0-alpha04/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.camera_camera-video-nodeps",
"Aperture_androidx.camera_camera-core",
"androidx.annotation_annotation",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.camera_camera-view-nodeps",
aars: ["androidx/camera/camera-view/1.4.0-alpha04/camera-view-1.4.0-alpha04.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.camera_camera-core",
"Aperture_androidx.camera_camera-lifecycle",
"Aperture_androidx.camera_camera-video",
"Aperture_androidx.lifecycle_lifecycle-common",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"androidx.appcompat_appcompat",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
}
android_library {
name: "Aperture_androidx.camera_camera-view",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/camera/camera-view/1.4.0-alpha04/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.camera_camera-view-nodeps",
"Aperture_androidx.camera_camera-core",
"Aperture_androidx.camera_camera-lifecycle",
"Aperture_androidx.camera_camera-video",
"Aperture_androidx.lifecycle_lifecycle-common",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"androidx.appcompat_appcompat",
"androidx.concurrent_concurrent-futures",
"androidx.core_core",
"auto_value_annotations",
"guava",
],
java_version: "1.7",
}
java_import {
name: "Aperture_androidx.lifecycle_lifecycle-common-nodeps",
jars: ["androidx/lifecycle/lifecycle-common/2.6.2/lifecycle-common-2.6.2.jar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
java_library_static {
name: "Aperture_androidx.lifecycle_lifecycle-common",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.lifecycle_lifecycle-common-nodeps",
"androidx.annotation_annotation",
"kotlin-stdlib",
"kotlinx-coroutines-android",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-common-nodeps",
aars: ["androidx/media3/media3-common/1.1.1/media3-common-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"guava",
],
}
android_library {
name: "Aperture_androidx.media3_media3-common",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-common/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-common-nodeps",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"guava",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-container-nodeps",
aars: ["androidx/media3/media3-container/1.1.1/media3-container-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
],
}
android_library {
name: "Aperture_androidx.media3_media3-container",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-container/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-container-nodeps",
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-database-nodeps",
aars: ["androidx/media3/media3-database/1.1.1/media3-database-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
],
}
android_library {
name: "Aperture_androidx.media3_media3-database",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-database/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-database-nodeps",
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-datasource-nodeps",
aars: ["androidx/media3/media3-datasource/1.1.1/media3-datasource-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"Aperture_androidx.media3_media3-database",
"androidx.annotation_annotation",
],
}
android_library {
name: "Aperture_androidx.media3_media3-datasource",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-datasource/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-datasource-nodeps",
"Aperture_androidx.media3_media3-common",
"Aperture_androidx.media3_media3-database",
"androidx.annotation_annotation",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-decoder-nodeps",
aars: ["androidx/media3/media3-decoder/1.1.1/media3-decoder-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
],
}
android_library {
name: "Aperture_androidx.media3_media3-decoder",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-decoder/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-decoder-nodeps",
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-exoplayer-nodeps",
aars: ["androidx/media3/media3-exoplayer/1.1.1/media3-exoplayer-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"Aperture_androidx.media3_media3-container",
"Aperture_androidx.media3_media3-database",
"Aperture_androidx.media3_media3-datasource",
"Aperture_androidx.media3_media3-decoder",
"Aperture_androidx.media3_media3-extractor",
"androidx.annotation_annotation",
"androidx.core_core",
],
}
android_library {
name: "Aperture_androidx.media3_media3-exoplayer",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-exoplayer/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-exoplayer-nodeps",
"Aperture_androidx.media3_media3-common",
"Aperture_androidx.media3_media3-container",
"Aperture_androidx.media3_media3-database",
"Aperture_androidx.media3_media3-datasource",
"Aperture_androidx.media3_media3-decoder",
"Aperture_androidx.media3_media3-extractor",
"androidx.annotation_annotation",
"androidx.core_core",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-extractor-nodeps",
aars: ["androidx/media3/media3-extractor/1.1.1/media3-extractor-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"Aperture_androidx.media3_media3-container",
"Aperture_androidx.media3_media3-decoder",
"androidx.annotation_annotation",
],
}
android_library {
name: "Aperture_androidx.media3_media3-extractor",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-extractor/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-extractor-nodeps",
"Aperture_androidx.media3_media3-common",
"Aperture_androidx.media3_media3-container",
"Aperture_androidx.media3_media3-decoder",
"androidx.annotation_annotation",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_androidx.media3_media3-ui-nodeps",
aars: ["androidx/media3/media3-ui/1.1.1/media3-ui-1.1.1.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
"androidx.media_media",
"androidx.recyclerview_recyclerview",
],
}
android_library {
name: "Aperture_androidx.media3_media3-ui",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "androidx/media3/media3-ui/1.1.1/AndroidManifest.xml",
static_libs: [
"Aperture_androidx.media3_media3-ui-nodeps",
"Aperture_androidx.media3_media3-common",
"androidx.annotation_annotation",
"androidx.media_media",
"androidx.recyclerview_recyclerview",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_com.google.android.material_material-nodeps",
aars: ["com/google/android/material/material/1.9.0/material-1.9.0.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"androidx-constraintlayout_constraintlayout",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"androidx.appcompat_appcompat",
"androidx.cardview_cardview",
"androidx.coordinatorlayout_coordinatorlayout",
"androidx.core_core",
"androidx.drawerlayout_drawerlayout",
"androidx.dynamicanimation_dynamicanimation",
"androidx.fragment_fragment",
"androidx.lifecycle_lifecycle-runtime",
"androidx.recyclerview_recyclerview",
"androidx.transition_transition",
"androidx.vectordrawable_vectordrawable",
"androidx.viewpager2_viewpager2",
"error_prone_annotations",
],
}
android_library {
name: "Aperture_com.google.android.material_material",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "com/google/android/material/material/1.9.0/AndroidManifest.xml",
static_libs: [
"Aperture_com.google.android.material_material-nodeps",
"androidx-constraintlayout_constraintlayout",
"androidx.annotation_annotation",
"androidx.annotation_annotation-experimental",
"androidx.appcompat_appcompat",
"androidx.cardview_cardview",
"androidx.coordinatorlayout_coordinatorlayout",
"androidx.core_core",
"androidx.drawerlayout_drawerlayout",
"androidx.dynamicanimation_dynamicanimation",
"androidx.fragment_fragment",
"androidx.lifecycle_lifecycle-runtime",
"androidx.recyclerview_recyclerview",
"androidx.transition_transition",
"androidx.vectordrawable_vectordrawable",
"androidx.viewpager2_viewpager2",
"error_prone_annotations",
],
java_version: "1.7",
}
java_import {
name: "Aperture_com.google.zxing_core-nodeps",
jars: ["com/google/zxing/core/3.5.2/core-3.5.2.jar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
java_library_static {
name: "Aperture_com.google.zxing_core",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_com.google.zxing_core-nodeps",
],
java_version: "1.7",
}
java_import {
name: "Aperture_com.squareup.okhttp3_okhttp-nodeps",
jars: ["com/squareup/okhttp3/okhttp/4.11.0/okhttp-4.11.0.jar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
java_library_static {
name: "Aperture_com.squareup.okhttp3_okhttp",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_com.squareup.okhttp3_okhttp-nodeps",
"Aperture_com.squareup.okio_okio",
"kotlin-stdlib",
"kotlin-stdlib-jdk8",
],
java_version: "1.7",
}
java_library_static {
name: "Aperture_com.squareup.okio_okio",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_com.squareup.okio_okio-jvm",
],
java_version: "1.7",
}
java_import {
name: "Aperture_com.squareup.okio_okio-jvm-nodeps",
jars: ["com/squareup/okio/okio-jvm/3.3.0/okio-jvm-3.3.0.jar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
}
java_library_static {
name: "Aperture_com.squareup.okio_okio-jvm",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_com.squareup.okio_okio-jvm-nodeps",
"kotlin-stdlib-jdk8",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_io.coil-kt_coil-nodeps",
aars: ["io/coil-kt/coil/2.4.0/coil-2.4.0.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_io.coil-kt_coil-base",
"kotlin-stdlib-jdk8",
],
}
android_library {
name: "Aperture_io.coil-kt_coil",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "io/coil-kt/coil/2.4.0/AndroidManifest.xml",
static_libs: [
"Aperture_io.coil-kt_coil-nodeps",
"Aperture_io.coil-kt_coil-base",
"kotlin-stdlib-jdk8",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_io.coil-kt_coil-base-nodeps",
aars: ["io/coil-kt/coil-base/2.4.0/coil-base-2.4.0.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_com.squareup.okhttp3_okhttp",
"Aperture_com.squareup.okio_okio",
"androidx.annotation_annotation",
"androidx.appcompat_appcompat-resources",
"androidx.collection_collection",
"androidx.core_core-ktx",
"androidx.exifinterface_exifinterface",
"androidx.lifecycle_lifecycle-runtime",
"androidx.profileinstaller_profileinstaller",
"kotlin-stdlib",
"kotlinx-coroutines-android",
],
}
android_library {
name: "Aperture_io.coil-kt_coil-base",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "io/coil-kt/coil-base/2.4.0/AndroidManifest.xml",
static_libs: [
"Aperture_io.coil-kt_coil-base-nodeps",
"Aperture_com.squareup.okhttp3_okhttp",
"Aperture_com.squareup.okio_okio",
"androidx.annotation_annotation",
"androidx.appcompat_appcompat-resources",
"androidx.collection_collection",
"androidx.core_core-ktx",
"androidx.exifinterface_exifinterface",
"androidx.lifecycle_lifecycle-runtime",
"androidx.profileinstaller_profileinstaller",
"kotlin-stdlib",
"kotlinx-coroutines-android",
],
java_version: "1.7",
}
android_library_import {
name: "Aperture_io.coil-kt_coil-video-nodeps",
aars: ["io/coil-kt/coil-video/2.4.0/coil-video-2.4.0.aar"],
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
static_libs: [
"Aperture_io.coil-kt_coil-base",
"androidx.core_core-ktx",
"kotlin-stdlib-jdk8",
],
}
android_library {
name: "Aperture_io.coil-kt_coil-video",
sdk_version: "33",
min_sdk_version: "14",
apex_available: [
"//apex_available:platform",
"//apex_available:anyapex",
],
manifest: "io/coil-kt/coil-video/2.4.0/AndroidManifest.xml",
static_libs: [
"Aperture_io.coil-kt_coil-video-nodeps",
"Aperture_io.coil-kt_coil-base",
"androidx.core_core-ktx",
"kotlin-stdlib-jdk8",
],
java_version: "1.7",
}

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="androidx.camera.camera2" >
<uses-sdk android:minSdkVersion="19" />
<application>
<service
android:name="androidx.camera.core.impl.MetadataHolderService"
android:enabled="false"
android:exported="false"
tools:ignore="Instantiatable,MissingServiceExportedEqualsTrue"
tools:node="merge" >
<meta-data
android:name="androidx.camera.core.impl.MetadataHolderService.DEFAULT_CONFIG_PROVIDER"
android:value="androidx.camera.camera2.Camera2Config$DefaultProvider" />
</service>
</application>
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="androidx.camera.core" >
<uses-sdk android:minSdkVersion="19" />
<application>
<!--
Service for holding metadata. Cannot be instantiated.
Metadata will be merged from other manifests.
-->
<service
android:name="androidx.camera.core.impl.MetadataHolderService"
android:enabled="false"
android:exported="false"
tools:ignore="Instantiatable,MissingServiceExportedEqualsTrue" />
</application>
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2019 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.camera.extensions" >
<uses-sdk android:minSdkVersion="19" />
<queries>
<intent>
<action android:name="androidx.camera.extensions.action.VENDOR_ACTION" />
</intent>
</queries>
<application>
<uses-library
android:name="androidx.camera.extensions.impl"
android:required="false" />
</application>
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.camera.lifecycle" >
<uses-sdk android:minSdkVersion="19" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.camera.video" >
<uses-sdk android:minSdkVersion="19" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2020-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2020-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.camera.view" >
<uses-sdk android:minSdkVersion="19" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2017-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.common" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.container" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.database" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.datasource" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2021 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.decoder" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.exoplayer" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.extractor" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2016 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="androidx.media3.ui" >
<uses-sdk
android:minSdkVersion="16"
android:targetSdkVersion="30" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.material" >
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="33" />
<application />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2015-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2015-2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0

Binary file not shown.

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2007-2024 ZXing Authors
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Square, Inc.
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Square, Inc.
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="coil.base" >
<uses-sdk android:minSdkVersion="21" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 Coil Contributors
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 Coil Contributors
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="coil.video" >
<uses-sdk android:minSdkVersion="21" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 Coil Contributors
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 Coil Contributors
SPDX-License-Identifier: Apache-2.0

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="coil.singleton" >
<uses-sdk android:minSdkVersion="21" />
</manifest>

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 Coil Contributors
SPDX-License-Identifier: Apache-2.0

Binary file not shown.

View File

@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2019-2024 Coil Contributors
SPDX-License-Identifier: Apache-2.0

27
app/proguard-rules.pro vendored Normal file
View File

@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: 2022-2023 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
# Any class extending SettingsFragment can be referenced in XML.
-keep class ** extends org.leos.aperture.SettingsActivity$SettingsFragment

BIN
app/release/LeOS-Cam.apk Normal file

Binary file not shown.

View File

@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "org.leos.aperture",
"variantName": "release",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 2,
"versionName": "1.6",
"outputFile": "app-release.apk"
}
],
"elementType": "File"
}

View File

@ -0,0 +1,146 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2022-2023 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.leos.aperture">
<uses-feature android:name="android.hardware.camera.any" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.CAMERA"
tools:ignore="PermissionImpliesUnsupportedChromeOsHardware" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:maxSdkVersion="28" />
<queries>
<package android:name="com.google.android.apps.googlecamera.fishfood" />
<package android:name="com.google.android.googlequicksearchbox" />
<package android:name="org.leos.aperture.auto_generated_rro_product__" />
<package android:name="org.leos.aperture.auto_generated_rro_vendor__" />
</queries>
<application
android:name=".ApertureApplication"
android:icon="@mipmap/ic_launcher"
android:label="LeOS-Cam"
android:supportsRtl="true"
android:theme="@style/Theme.Aperture">
<uses-library
android:name="androidx.camera.extensions.impl"
android:required="false" />
<activity
android:name=".CameraActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="nosensor"
android:taskAffinity=".CameraActivity"
android:theme="@style/Theme.Aperture.Camera"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
<intent-filter>
<action android:name="android.media.action.STILL_IMAGE_CAMERA" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity-alias
android:name=".CameraLauncher"
android:exported="true"
android:label="LeOS-Cam"
android:targetActivity=".CameraActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity
android:name=".CaptureActivity"
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
android:exported="true"
android:screenOrientation="nosensor"
android:theme="@style/Theme.Aperture.Camera"
android:visibleToInstantApps="true"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
<intent-filter>
<action android:name="android.media.action.IMAGE_CAPTURE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE" />
</intent-filter>
</activity>
<activity
android:name=".QrScannerActivity"
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
android:exported="true"
android:screenOrientation="nosensor"
android:theme="@style/Theme.Aperture.Camera"
android:visibleToInstantApps="true"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan" />
<!-- Video camera and capture use the Camcorder label and icon. -->
<activity-alias
android:name=".VideoCamera"
android:exported="true"
android:label="@string/video_camera_label"
android:targetActivity=".CaptureActivity">
<intent-filter>
<action android:name="android.media.action.VIDEO_CAMERA" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE" />
</intent-filter>
<intent-filter>
<action android:name="android.media.action.VIDEO_CAPTURE" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.VOICE" />
</intent-filter>
</activity-alias>
<activity
android:name=".SecureCameraActivity"
android:clearTaskOnLaunch="true"
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
android:excludeFromRecents="true"
android:exported="true"
android:taskAffinity=".SecureCameraActivity"
android:theme="@style/Theme.Aperture.Camera"
android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
<intent-filter>
<action android:name="android.media.action.STILL_IMAGE_CAMERA_SECURE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<intent-filter>
<action android:name="android.media.action.IMAGE_CAPTURE_SECURE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<activity
android:name=".SettingsActivity"
android:configChanges="orientation|screenLayout|screenSize|smallestScreenSize|keyboardHidden"
android:exported="false"
android:label="@string/title_activity_settings"
android:theme="@style/Theme.Aperture.Settings" />
</application>
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View File

@ -0,0 +1,36 @@
/*
* SPDX-FileCopyrightText: 2023 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package androidx.camera.video
import androidx.camera.video.internal.audio.AudioSource
import androidx.camera.video.internal.audio.muted
/**
* Get the [Recording]'s [AudioSource]. Returns null if the recording started with muted mic.
*/
val Recording.audioSource: AudioSource?
get() = (Recording::class.java.getDeclaredField("mRecorder").apply {
isAccessible = true
}.get(this) as Recorder).mAudioSource
/**
* Get the [AudioSource] status
* @see Recording.audioSource
*/
val Recording.isAudioSourceConfigured
get() = audioSource != null
/**
* [Recording] muted property. Changing this property will also affect running recordings.
* If the [Recording]'s [AudioSource] is null, getting this value will
* return true and setting it is a no-op.
*/
var Recording.muted
get() = audioSource?.muted != false
@Suppress("RestrictedApi")
set(value) {
audioSource?.mute(value)
}

View File

@ -0,0 +1,10 @@
/*
* SPDX-FileCopyrightText: 2023 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package androidx.camera.video.internal.audio
val AudioSource.muted
@Suppress("RestrictedApi")
get() = mMuted

View File

@ -0,0 +1,8 @@
/*
* SPDX-FileCopyrightText: 2022 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package androidx.camera.view
fun CameraController.onPinchToZoom(pinchToZoomScale: Float) = onPinchToZoom(pinchToZoomScale)

View File

@ -0,0 +1,18 @@
/*
* SPDX-FileCopyrightText: 2023 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.leos.aperture
import android.app.Application
import com.google.android.material.color.DynamicColors
class ApertureApplication : Application() {
override fun onCreate() {
super.onCreate()
// Observe dynamic colors changes
DynamicColors.applyToActivitiesIfAvailable(this)
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
/*
* SPDX-FileCopyrightText: 2022 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.leos.aperture
// Use a different activity for capture intents, so it can have a different
// task affinity from others. This makes sure the regular camera activity is not
// reused for IMAGE_CAPTURE or VIDEO_CAPTURE intents from other activities.
@androidx.camera.camera2.interop.ExperimentalCamera2Interop
class CaptureActivity : CameraActivity()

View File

@ -0,0 +1,14 @@
/*
* SPDX-FileCopyrightText: 2022 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package org.leos.aperture
import org.leos.aperture.models.CameraMode
@androidx.camera.camera2.interop.ExperimentalCamera2Interop
@androidx.camera.core.ExperimentalZeroShutterLag
class QrScannerActivity : CameraActivity() {
override fun overrideInitialCameraMode() = CameraMode.QR
}

Some files were not shown because too many files have changed in this diff Show More