Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a18fb83 authored by Brandon Dayauon's avatar Brandon Dayauon Committed by Android (Google) Code Review
Browse files

Merge "Adding logs to baseAllAppsAdapter to investigate private space icon alpha issue." into main

parents 07acdf10 4dd29070
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -26,6 +26,7 @@ import static com.android.launcher3.allapps.UserProfileManager.STATE_DISABLED;
import static com.android.launcher3.allapps.UserProfileManager.STATE_ENABLED;
import static com.android.launcher3.allapps.UserProfileManager.STATE_ENABLED;


import android.content.Context;
import android.content.Context;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.View.OnClickListener;
@@ -278,6 +279,13 @@ public abstract class BaseAllAppsAdapter<T extends Context & ActivityContext> ex
                                    privateProfileManager.getReadyToAnimate())
                                    privateProfileManager.getReadyToAnimate())
                                && privateProfileManager.getCurrentState() == STATE_ENABLED
                                && privateProfileManager.getCurrentState() == STATE_ENABLED
                                ? 0 : 1);
                                ? 0 : 1);
                        Log.d(TAG, "onBindViewHolder: "
                                + "isPrivateSpaceItem: " + isPrivateSpaceItem
                        + " isStateTransitioning: " + privateProfileManager.isStateTransitioning()
                        + " isScrolling: " + privateProfileManager.isScrolling()
                        + " readyToAnimate: " + privateProfileManager.getReadyToAnimate()
                        + " currentState: " + privateProfileManager.getCurrentState()
                        + " currentAlpha: " + icon.getAlpha());
                    }
                    }
                    // Views can still be bounded before the app list is updated hence showing icons
                    // Views can still be bounded before the app list is updated hence showing icons
                    // after collapsing.
                    // after collapsing.