• Frank Liberato's avatar
    Check AndroidOverlayClient is_bound() before calling. · 72a96aad
    Frank Liberato authored
    Before calling methods on the remote AndroidOverlayClient, check to
    see if it's bound.  If the overlay client disconnects, sometimes we
    get an invalid handle in the java client.  While it's not clear
    exactly what causes this, causing a GPU crash causes the client's
    handle to be cleared before the connection error handler runs.
    
    Bug: 1155313
    Change-Id: Ic9668cfb453636c23afc20156be0c69719b22c94
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586768
    Commit-Queue: Frank Liberato <liberato@chromium.org>
    Commit-Queue: Ted Choc <tedchoc@chromium.org>
    Auto-Submit: Frank Liberato <liberato@chromium.org>
    Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#837181}
    72a96aad
dialog_overlay_impl.cc 10.2 KB