mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-04 19:10:47 -05:00
app: Remove app repackaging and signing
Remove app hiding repackaging, key generation, AXML patching, and in-app APK signing components along with BouncyCastle (bcpkix). - Delete AppMigration, Keygen, AXML, and signing package classes. - Remove bcpkix dependency and build-logic packaging exclude. - Remove suManager, keyStoreRaw, StringDao, and strings DB table. - Simplify DownloadProcessor app update and SplashScreen init. - Remove AppMigrationTest, setupAppHide/Restore, and test scripts references to repackaged test packages. - Remove unused hide_app_title string across all locales. Assisted-by: Gemini 4 Argon
This commit is contained in:
@@ -298,7 +298,6 @@ live_test_main() {
|
||||
for apk in "${apks[@]}"; do
|
||||
# Cleanup
|
||||
adb shell pm uninstall com.topjohnwu.magisk || true
|
||||
adb shell pm uninstall repackaged.com.topjohnwu.magisk.test || true
|
||||
adb shell /system/xbin/su 0 rm -rf /data/adb/modules
|
||||
|
||||
# "Install" Magisk
|
||||
|
||||
@@ -81,22 +81,8 @@ print_apks() {
|
||||
|
||||
run_tests() {
|
||||
local pkg='com.topjohnwu.magisk.test'
|
||||
local self="$pkg/$pkg.TestRunner"
|
||||
local app="$pkg/$pkg.AppTestRunner"
|
||||
local stub="repackaged.$pkg/$pkg.AppTestRunner"
|
||||
|
||||
# Run app tests
|
||||
am_instrument '.SmokeTest,.IntegrationTest' $app
|
||||
|
||||
# Test app hiding
|
||||
am_instrument '.AppMigrationTest#testAppHide' $self
|
||||
|
||||
# Make sure it still works
|
||||
am_instrument '.SmokeTest' $stub
|
||||
|
||||
# Test app restore
|
||||
am_instrument '.AppMigrationTest#testAppRestore' $self
|
||||
|
||||
# Make sure it still works
|
||||
am_instrument '.SmokeTest' $app
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user