commit | bd39b49f11289c158902668eb1175b0cf905b86c | [log] [tgz] |
---|---|---|
author | Svet Ganov <svetoslavganov@google.com> | Fri Jun 08 15:03:46 2018 -0700 |
committer | Emilian Peev <epeev@google.com> | Wed Oct 03 14:28:20 2018 +0100 |
tree | f5c898b4d62579d47bb98892d59abd28eb3fe511 | |
parent | 21d312e7187ca9d7399f0ec6cae189cc1c5651c9 [diff] |
Handle race between UID state and activty resume There is a race between the UID turning active and activity being resume. The proper fix is very risky, so we temporary add some polling which should hapen pretty rarely anyway as the race is hard to hit. Test: camera works fine cts-tradefed run cts-dev -m CtsCameraTestCases bug:77827041 Change-Id: I1768d00dc08e6e49cec0099f0a29b7889f9affad Merged-In: I1768d00dc08e6e49cec0099f0a29b7889f9affad