Skip to content

Commit

Permalink
Fix hiding QS carrier group on A14
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmud0808 committed Sep 14, 2023
1 parent 3ba0c53 commit c29c9ae
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ protected void afterHookedMethod(MethodHookParam param) {
((ViewGroup) qsCarrierGroup.getParent()).removeView(qsCarrierGroup);
} catch (Throwable ignored) {
}

try {
LinearLayout mShadeCarrierGroup = (LinearLayout) getObjectField(param.thisObject, "mShadeCarrierGroup");
((ViewGroup) mShadeCarrierGroup.getParent()).removeView(mShadeCarrierGroup);
} catch (Throwable ignored) {
}
}
}
});
Expand Down

0 comments on commit c29c9ae

Please sign in to comment.