Merge "Call invalidate() during updateView() for updating the header." into main

This commit is contained in:
Brandon Dayauon
2024-10-23 15:27:49 +00:00
committed by Android (Google) Code Review
@@ -220,7 +220,7 @@ public class PrivateProfileManager extends UserProfileManager {
* when animation is not running.
*/
public void reset() {
// Ensure the state of the header views is what it should be before animating.
// Ensure the state of the header view is what it should be before animating.
updateView();
getMainRecyclerView().setChildAttachedConsumer(null);
int previousState = getCurrentState();
@@ -435,6 +435,7 @@ public class PrivateProfileManager extends UserProfileManager {
lockPill.setVisibility(GONE);
}
}
mPSHeader.invalidate();
}
/** Sets the enablement of the profile when header or button is clicked. */