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

Commit 33902557 authored by Brandon Dayauon's avatar Brandon Dayauon
Browse files

Set psDivider to gone in collapse due to updateAdapterItem suppression in test.

Set PSDivider to gone during collapse animation. This is to help with https://android-build.corp.google.com/test_hub/search/?filter=&invfilter=unhealthyInvocations&invfilter=staleInvocations&query=test%3Acom.android.quickstep.TaplPrivateSpaceTest%23testPrivateSpaceLockingBehaviour&tab=clusterView&clusterId=12644122704855694316 tapl issue saying divider is there. This is because we suppress updateAdapterItem call and ps container contents aren't completely refreshed.
This change is safe to do so anyways since floatingMaskView and decorator takes care of how the end result looks like.

bug: 373427348
test: presubmit/tapl/manually
Flag: NONE bugfixing for test flakiness
Change-Id: Ia422096e022ab8de6745071707620192f03661a5
parent e710e70b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -473,7 +473,8 @@ public class PrivateProfileManager extends UserProfileManager {
                break;
            }
            // Make the private space apps gone to "collapse".
            if (mFloatingMaskView == null && isPrivateSpaceItem(currentItem)) {
            if ((mFloatingMaskView == null && isPrivateSpaceItem(currentItem)) ||
                    currentItem.viewType == VIEW_TYPE_PRIVATE_SPACE_SYS_APPS_DIVIDER) {
                RecyclerView.ViewHolder viewHolder =
                        allAppsRecyclerView.findViewHolderForAdapterPosition(i);
                if (viewHolder != null) {