From e73739375254034740353a320ef471f29e330566 Mon Sep 17 00:00:00 2001 From: XDA-Dante63 Date: Sat, 13 May 2023 13:57:42 +0300 Subject: [PATCH] Update PackageInstallerUtils.java Replacing SMT with custom installer --- .../SMT/lang/smtshellwatch/shizuku/PackageInstallerUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smtshellwatch/app/src/main/java/com/samsung/SMT/lang/smtshellwatch/shizuku/PackageInstallerUtils.java b/smtshellwatch/app/src/main/java/com/samsung/SMT/lang/smtshellwatch/shizuku/PackageInstallerUtils.java index 7f4b7c8..c8d86de 100644 --- a/smtshellwatch/app/src/main/java/com/samsung/SMT/lang/smtshellwatch/shizuku/PackageInstallerUtils.java +++ b/smtshellwatch/app/src/main/java/com/samsung/SMT/lang/smtshellwatch/shizuku/PackageInstallerUtils.java @@ -64,7 +64,7 @@ public static boolean installApkFromAssets(Context context, String apkName) { installerAttributionTag = context.getAttributionTag(); } PackageInstaller packageInstaller = PackageInstallerUtils.createPackageInstaller( - appContext, _packageInstaller, "com.android.shell", installerAttributionTag, 0); + appContext, _packageInstaller, "com.sec.android.preloadinstaller", installerAttributionTag, 0); PackageInstaller.SessionParams params = new PackageInstaller.SessionParams(PackageInstaller.SessionParams.MODE_FULL_INSTALL); int installFlags = PackageInstallerUtils.getInstallFlags(params);