commit | 2133640028ef53b33a93ecfb593d30c95fed84c6 | [log] [tgz] |
---|---|---|
author | Dave Sparks <davidsparks@android.com> | Wed Oct 07 19:18:20 2009 -0700 |
committer | Dave Sparks <davidsparks@android.com> | Wed Oct 07 19:22:02 2009 -0700 |
tree | c938899c65206b0633d4fd7fe0e3e4f7380c60ec | |
parent | 4625758d0b909ccfc9f40b707666b1b21e9e8ffd [diff] |
Retry overlay create if it fails. Bug 2153980. Occasionally we see references to the overlay hanging around long enough to cause problems in applications when they tried to destroy the overlay and re-create it. This patch causes the camera HAL to retry the overlay creation call if it fails every 20ms up to 50 times before it gives up.