Merge "Call invalidate() during updateView() for updating the header." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
8cc4cd1d86
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user