Complete rewrite from KernelSU shell scripts to LSPosed module using modern libxposed API. Hooks Android's hidden Wi-Fi Display framework to enable native Miracast support on Android 12+ devices. - Framework resource hooks (config_enableWifiDisplay) - WifiDisplayStatus feature state override - System feature and permission injection - Settings Cast UI integration - Quick Settings tile - Settings activity with device-specific options
35 lines
764 B
Kotlin
35 lines
764 B
Kotlin
plugins {
|
|
id("com.android.application")
|
|
}
|
|
|
|
android {
|
|
namespace = "com.miracast.enabler"
|
|
compileSdk = 34
|
|
|
|
defaultConfig {
|
|
applicationId = "com.miracast.enabler"
|
|
minSdk = 31
|
|
targetSdk = 34
|
|
versionCode = 200
|
|
versionName = "2.0.0"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
isMinifyEnabled = false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly("io.github.libxposed:api:101.0.1")
|
|
implementation("androidx.preference:preference:1.2.1")
|
|
implementation("androidx.appcompat:appcompat:1.6.1")
|
|
implementation("com.google.android.material:material:1.11.0")
|
|
}
|