LSPosed module: Miracast Enabler v2.0.0
Rewrite from KernelSU shell scripts to LSPosed/Xposed module. Hooks Android's hidden Wi-Fi Display framework to enable native Miracast. - FrameworkResourceHook: force config_enableWifiDisplay = true - SystemServerHook: grant WFD permissions, force wifi_display feature - DisplayManagerHook: ensure WifiDisplayAdapter initializes, force FEATURE_STATE_ON - MediaRouterHook: unhide WFD routes in Settings Cast UI - MiracastTileService: Quick Settings tile for scan/connect/disconnect - SettingsActivity: resolution, HDCP, display source, GPU composition - WfdManager: reflection wrapper for hidden DisplayManager WFD APIs
This commit is contained in:
34
app/build.gradle.kts
Normal file
34
app/build.gradle.kts
Normal file
@@ -0,0 +1,34 @@
|
||||
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("de.robv.android.xposed:api:82")
|
||||
implementation("androidx.preference:preference:1.2.1")
|
||||
implementation("androidx.appcompat:appcompat:1.6.1")
|
||||
implementation("com.google.android.material:material:1.11.0")
|
||||
}
|
||||
Reference in New Issue
Block a user