Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit d8aedfc7 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Add play-services-oss-licenses library

parent f40df95f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -125,6 +125,7 @@ public enum GmsService {
    FIDO2_ZEROPARTY(180, "com.google.android.gms.fido.fido2.zeroparty.START"),
    G1_RESTORE(181, "com.google.android.gms.backup.G1_RESTORE"),
    G1_BACKUP(182, "com.google.android.gms.backup.G1_BACKUP"),
    OSS_LICENSES(185, "com.google.android.gms.oss.licenses.service.START"),
    PAYSE(188, "com.google.android.gms.payse.service.BIND"),
    RCS(189, "com.google.android.gms.rcs.START"),
    CARRIER_AUTH(191, "com.google.android.gms.carrierauth.service.START"),
+3 −13
Original line number Diff line number Diff line
/*
 * Copyright 2013-2019 microG Project Team
 *
 * 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.
 * SPDX-FileCopyrightText: 2013 microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

apply plugin: 'com.android.application'
@@ -50,6 +39,7 @@ dependencies {
    withNearbyImplementation project(':play-services-nearby-core')
    withNearbyImplementation project(':play-services-nearby-core-ui')
    implementation project(':play-services-safetynet-core')
    implementation project(':play-services-oss-licenses-core')
    implementation project(':play-services-safetynet-core-ui')
    implementation project(':play-services-tapandpay-core')
    implementation project(':play-services-vision-core')
+33 −0
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2020, microG Project Team
 * SPDX-License-Identifier: Apache-2.0
 */

apply plugin: 'com.android.library'
apply plugin: 'maven-publish'
apply plugin: 'signing'

android {
    compileSdkVersion androidCompileSdk
    buildToolsVersion "$androidBuildVersionTools"

    defaultConfig {
        versionName version
        minSdkVersion androidMinSdk
        targetSdkVersion androidTargetSdk
    }

    compileOptions {
        sourceCompatibility = 1.8
        targetCompatibility = 1.8
    }
}

apply from: '../gradle/publish-android.gradle'

description = 'microG API for play-services-oss-licenses'

dependencies {
    api project(':play-services-basement')
    api project(':play-services-base-api')
}
+6 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ SPDX-FileCopyrightText: 2022 microG Project Team
  ~ SPDX-License-Identifier: Apache-2.0
  -->
<manifest package="org.microg.gms.oss.licenses.api" />
+10 −0
Original line number Diff line number Diff line
package com.google.android.gms.oss.licenses;

import com.google.android.gms.oss.licenses.License;

interface IOSSLicenseService {
    String getListLayoutPackage(String packageName) = 1;
    String getLicenseLayoutPackage(String packageName) = 2;
    String getLicenseDetail(String license) = 3;
    List<License> getLicenseList(in List<License> list) = 4;
}
Loading