Set state to CLOSED when unfolding with a HUN visible
Unfortunately, HUNs set the state to OPENING, so if the user unfolds with a HUN showing, some necessary state updates will be skipped when the user pulls down the shade, because it does not switch to the OPENING state. Most notably, QS will never be set to visible, causing b/324642496. The least disruptive fix is to tweak the state only when unfolding, because there are cases in NPVC that specifically define the HUN state as the shade being expanded, implying that the bad state could be load bearing and too risky to repair more broadly, especially when we already have a flag under development that completely deletes this class. Fixes: 324642496 Test: Manual checked Shade CUJs Flag: EXEMPT bug fix Change-Id: I742f4305403def1013f70de7542d97633c80b58c
Loading
Please register or sign in to comment