Fix release build

This commit is contained in:
Nullptr 2023-01-11 12:08:21 +08:00
parent 369b820ac8
commit fd3e495e41
No known key found for this signature in database
6 changed files with 7 additions and 8 deletions

View File

@ -1 +1,2 @@
android.enableR8.fullMode=true
android.useAndroidX=true

View File

@ -15,8 +15,8 @@ android {
}
buildFeatures {
androidResources = false
buildConfig = false
resValues = false
}
compileOptions {

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest />

View File

@ -15,8 +15,8 @@ android {
}
buildFeatures {
androidResources = false
buildConfig = false
resValues = false
}
buildTypes {

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest />

View File

@ -3,6 +3,8 @@ package io.github.libxposed.service;
import android.os.IBinder;
import android.util.Log;
import androidx.annotation.NonNull;
import java.util.HashSet;
import java.util.Set;
@ -16,12 +18,12 @@ public final class XposedServiceHelper {
*
* @param service Service instance
*/
void onServiceBind(XposedService service);
void onServiceBind(@NonNull XposedService service);
/**
* Callback when the service is dead
*/
void onServiceDied(XposedService service);
void onServiceDied(@NonNull XposedService service);
}
private static final String TAG = "XposedServiceHelper";