allow service to run with screen off
This commit is contained in:
@@ -37,6 +37,14 @@ android {
|
||||
isRenderscriptDebuggable = false
|
||||
signingConfig = signingConfigs.getByName("release")
|
||||
}
|
||||
create("private") {
|
||||
isDebuggable = false
|
||||
proguardFiles(
|
||||
getDefaultProguardFile("proguard-android-optimize.txt"),
|
||||
"proguard-rules.pro"
|
||||
)
|
||||
signingConfig = signingConfigs.getByName("debug")
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
|
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<host-apdu-service xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:description="@string/servicedesc"
|
||||
android:requireDeviceScreenOn="false"
|
||||
android:requireDeviceUnlock="false">
|
||||
<aid-group android:description="@string/aiddescription"
|
||||
android:category="other">
|
||||
|
Reference in New Issue
Block a user