app: remove interactive su request components

Following the removal of reactive interactive su prompting in magiskd,
remove the corresponding request activity and obsolete settings from
the app.

- Remove SuRequestActivity, SuRequestScreen, SuRequestViewModel, and
  SuRequestHandler.
- Remove tapjack protection, auto response, and request timeout
  settings and resources.
- Update Stub.kt manifest generator to drop the unexported activity
  placeholder.
- Simplify DynLoad activity mapping now that both stub and app declare
  a single activity.
- Bump magisk.stubVersion to 41.

Assisted-by: Gemini 3.8 Flash
This commit is contained in:
topjohnwu
2026-10-05 01:38:20 -07:00
committed by John Wu
parent a1cf051ac7
commit f093f847bb
18 changed files with 6 additions and 814 deletions
+2 -15
View File
@@ -137,29 +137,16 @@ private abstract class ManifestUpdater: DefaultTask() {
|</activity>""".ind(2)
)
cmpList.add("""
|<activity
| android:name="x.COMPONENT_PLACEHOLDER_3"
| android:directBootAware="true"
| android:exported="false"
| android:taskAffinity="">
| <intent-filter>
| <action android:name="android.intent.action.VIEW"/>
| <category android:name="android.intent.category.DEFAULT"/>
| </intent-filter>
|</activity>""".ind(2)
)
cmpList.add("""
|<service
| android:name="x.COMPONENT_PLACEHOLDER_4"
| android:name="x.COMPONENT_PLACEHOLDER_3"
| android:exported="false"
| android:foregroundServiceType="dataSync" />""".ind(2)
)
cmpList.add("""
|<service
| android:name="x.COMPONENT_PLACEHOLDER_5"
| android:name="x.COMPONENT_PLACEHOLDER_4"
| android:exported="false"
| android:permission="android.permission.BIND_JOB_SERVICE" />""".ind(2)
)