mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Merge "Revert "Revert "Add debug logs for hotseat disapperaed bug""" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba73400fe1
@@ -161,6 +161,7 @@ import java.util.StringJoiner;
|
||||
|
||||
mIconAlignment.finishAnimation();
|
||||
|
||||
Log.d("b/260135164", "onDestroy - updateIconAlphaForHome(1)");
|
||||
mLauncher.getHotseat().setIconsAlpha(1f);
|
||||
mLauncher.getStateManager().removeStateListener(mStateListener);
|
||||
|
||||
@@ -411,6 +412,8 @@ import java.util.StringJoiner;
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
if (isInStashedState && committed) {
|
||||
// Reset hotseat alpha to default
|
||||
Log.d("b/260135164",
|
||||
"playStateTransitionAnim#onAnimationEnd - setIconsAlpha(1)");
|
||||
mLauncher.getHotseat().setIconsAlpha(1);
|
||||
}
|
||||
}
|
||||
@@ -459,6 +462,9 @@ import java.util.StringJoiner;
|
||||
* Hide Launcher Hotseat icons when Taskbar icons have opacity. Both icon sets
|
||||
* should not be visible at the same time.
|
||||
*/
|
||||
Log.d("b/260135164",
|
||||
"updateIconAlphaForHome - setIconsAlpha(" + (hotseatVisible ? 1 : 0)
|
||||
+ "), isTaskbarPresent: " + mLauncher.getDeviceProfile().isTaskbarPresent);
|
||||
mLauncher.getHotseat().setIconsAlpha(hotseatVisible ? 1 : 0);
|
||||
mLauncher.getHotseat().setQsbAlpha(
|
||||
mLauncher.getDeviceProfile().isQsbInline && !hotseatVisible ? 0 : 1);
|
||||
|
||||
Reference in New Issue
Block a user