mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
Revert "Log split button visibility to debug spacing issue"
This reverts commit 2d55c9c679.
Reason for revert: Logs not helpful in figuring out the issue and is too spammy
Bug: 321291049
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a5d55fe5efad4db1678dfe7960f82df68b664b7d)
Merged-In: I88a4350277ea3e965493da6386cf4c83c5c564e4
Change-Id: I88a4350277ea3e965493da6386cf4c83c5c564e4
This commit is contained in:
committed by
Cherrypicker Worker
parent
d6b0dc8970
commit
2165ad7b0e
@@ -20,7 +20,6 @@ import android.content.Context;
|
||||
import android.content.res.Configuration;
|
||||
import android.graphics.Rect;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.Log;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.widget.Button;
|
||||
@@ -43,8 +42,6 @@ import com.android.quickstep.util.LayoutUtils;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.Arrays;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* View for showing action buttons in Overview
|
||||
@@ -297,17 +294,6 @@ public class OverviewActionsView<T extends OverlayUICallbacks> extends FrameLayo
|
||||
int desiredVisibility = mSplitButtonHiddenFlags == 0 ? VISIBLE : GONE;
|
||||
mSplitButton.setVisibility(desiredVisibility);
|
||||
findViewById(R.id.action_split_space).setVisibility(desiredVisibility);
|
||||
|
||||
String callStack = Arrays.stream(
|
||||
Log.getStackTraceString(new Exception("thread stacktrace"))
|
||||
.split("\\n"))
|
||||
.limit(5)
|
||||
.skip(1) // Removes the line "java.lang.Exception: thread stacktrace"
|
||||
.collect(Collectors.joining("\n"));
|
||||
Log.d("b/321291049", "updateSplitButtonHiddenFlags called with flag: " + flag
|
||||
+ " enabled: " + enable
|
||||
+ " visibility: " + desiredVisibility
|
||||
+ " partial trace: \n" + callStack);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user