mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
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:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user