commit | 94ec46f82f5813fd5bcdf6c2f562e009dd4eec03 | [log] [tgz] |
---|---|---|
author | Svet Ganov <svetoslavganov@google.com> | Fri Jun 08 15:03:46 2018 -0700 |
committer | Svet Ganov <svetoslavganov@google.com> | Fri Jun 08 16:47:03 2018 -0700 |
tree | a4b1ca73d1a625fa407814d7d3f7197b82ab59dd | |
parent | d5217e613d252dcc5d3a223fcd5e6e4109b65b85 [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