Skip to content

Commit

Permalink
XPLauncher: reverted OOS15 edit for better performance on OOS14
Browse files Browse the repository at this point in the history
Signed-off-by: DHD2280 <[email protected]>
  • Loading branch information
DHD2280 committed Dec 11, 2024
1 parent 4d6c3b3 commit c9c73de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
try {
if (mContext == null) { //telecom service launches as a secondary process in framework, but has its own package name. context is not null when it loads
if (mContext == null || lpparam.packageName.equals(Constants.Packages.TELECOM_SERVER_PACKAGE)) { //telecom service launches as a secondary process in framework, but has its own package name. context is not null when it loads
if (Build.VERSION.SDK_INT >= 35 && lpparam.packageName.equals(Constants.Packages.TELECOM_SERVER_PACKAGE)) return;
if (param.args[2] == null) return;
if (!(param.args[2] instanceof Context)) return;
Expand Down

0 comments on commit c9c73de

Please sign in to comment.