Fix occasional widget flashing

Bug: 7619759

Change-Id: Ic07ddfcc3ee76862691f940ad018f2c271d3614a