Skip to content

Commit

Permalink
AodClock: no need to updateClockView if aod clock disabled
Browse files Browse the repository at this point in the history
Signed-off-by: DHD2280 <[email protected]>
  • Loading branch information
DHD2280 committed Nov 29, 2024
1 parent 3b90970 commit 095c253
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
hookAllMethods(AodClockLayout, "performTimeUpdate", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
if (!mAodClockEnabled) return;
updateClockView();
}
});
Expand Down

0 comments on commit 095c253

Please sign in to comment.