Descriptionarc: Fix race condition in applying modal state.
There is race when request to set system modal received before
surface window is actually created. This CL keeps system model
property and apply it once window is created.
TEST=Manually, simulate situation for early system modal switch.
Before fix it crashed with the same stack trace as crash
reports. After this I observed warning message in log and
system modal state is working as expected.
BUG=639511
Review-Url: https://codereview.chromium.org/2743053002
Cr-Commit-Position: refs/heads/master@{#456256}
Committed: https://chromium.googlesource.com/chromium/src/+/1111902f947ac92cb21d6ed443e2c607337308c1
Patch Set 1 #
Total comments: 8
Patch Set 2 : unit_test added + refactored apply logic #
Total comments: 6
Patch Set 3 : nits #Patch Set 4 : forgotten nit #
Messages
Total messages: 16 (9 generated)
|