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

Commit 526417fe authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Implement SplitInstallService

Some applications which are using GMS can install some features
at runtime with a SplitInstallManager:
https://developer.android.com/guide/playcore/feature-delivery/on-demand

Implemented AppLoungeSplitInstaller which connects to AppLounge
to send install requests.
parent 60abc9da
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -3,3 +3,4 @@ build/
user.gradle
local.properties
*.iml
.idea/*
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ def androidCompileSdk() { return 30 }

def androidTargetSdk() { return 24 }

def androidMinSdk() { return 9 }
def androidMinSdk() { return 14 }

def versionCode() {
    def stdout = new ByteArrayOutputStream()
+4 −0
Original line number Diff line number Diff line
@@ -60,4 +60,8 @@ repositories {
}
dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation "com.squareup.okhttp3:okhttp:4.9.2"
    implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0"
    implementation "com.google.code.gson:gson:2.8.9"
    implementation "androidx.core:core-ktx:1.6.0"
}
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@

    <permission android:name="com.android.vending.CHECK_LICENSE" android:protectionLevel="normal"/>
    <uses-permission android:name="android.permission.FAKE_PACKAGE_SIGNATURE"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <application
        android:forceQueryable="true"
        android:icon="@drawable/icon"
+21 −0
Original line number Diff line number Diff line
/*
 * Copyright 2013-2022 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.
 */

package foundation.e.apps;

interface ISplitInstallerService {
    void installSplitModule(String packageName, String moduleName);
}
 No newline at end of file
Loading