Merge pull request #32 from relan/aosp

Make it possible to integrate the app into AOSP
This commit is contained in:
Lukas Pieper 2021-05-08 20:12:56 +02:00 committed by GitHub
commit c5993ecaff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 3 deletions

12
Android.bp Normal file
View file

@ -0,0 +1,12 @@
android_app {
name: "GcamServicesProvider",
srcs: [
"app/src/main/java/**/*.kt",
],
resource_dirs: [
"app/src/main/res",
],
manifest: "app/src/main/AndroidManifest.xml",
sdk_version: "current",
product_specific: true,
}

View file

@ -5,7 +5,6 @@ android {
compileSdkVersion 30 compileSdkVersion 30
defaultConfig { defaultConfig {
applicationId "de.lukaspieper.gcam.services"
minSdkVersion 19 minSdkVersion 19
targetSdkVersion 30 targetSdkVersion 30
versionCode 2 versionCode 2

View file

@ -1,6 +1,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
package="com.google.android.gms"> package="de.lukaspieper.gcam.services">
<application <application
android:forceQueryable="true" android:forceQueryable="true"
@ -12,7 +12,7 @@
tools:targetApi="30"> tools:targetApi="30">
<provider <provider
android:name=".GServicesProvider" android:name="com.google.android.gms.GServicesProvider"
android:authorities="com.google.android.gsf.gservices" android:authorities="com.google.android.gsf.gservices"
android:exported="true" android:exported="true"
tools:ignore="ExportedContentProvider" /> tools:ignore="ExportedContentProvider" />