Skip to content

Commit

Permalink
DepthWallpaper: removed useless logs
Browse files Browse the repository at this point in the history
Signed-off-by: DHD2280 <[email protected]>
  • Loading branch information
DHD2280 committed Dec 10, 2024
1 parent cce5c13 commit 129d61a
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
scrimName = (String) getObjectField(param.thisObject, "name");
}

log("ScrimViewExImp setViewAlpha " + scrimName + " " + param.args[0]);

if (mLayersCreated) {
if (mLayersCreated && DWallpaperEnabled) {
if (scrimName.toLowerCase().contains("notification")) {
log("ScrimViewExImp Notification Scrim Alpha: " + param.args[0]);
float notificationAlpha = (float) param.args[0];
Expand Down Expand Up @@ -324,9 +322,7 @@ protected void afterHookedMethod(MethodHookParam param) throws Throwable {
hookAllMethods(ScrimControllerClass, "applyAndDispatchState", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
log("ScrimController applyAndDispatchState");
setDepthWallpaper();

}
});

Expand Down

0 comments on commit 129d61a

Please sign in to comment.