summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/22/changes
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2016-09-07 14:12:44 -0700
committerRobert Carr <racarr@google.com>2016-09-08 13:54:29 -0700
commit387838be955a44422509c2c7bc124327e9fe61d7 (patch)
tree6b1d649eeb37bed946c55babc3d2bb07a58e97c9 /docs/html/sdk/api_diff/22/changes
parent735b9eca0f52fd27646ac7187bcebc56273bb771 (diff)
SurfaceView: Force surface disconnection before reuse.
Prior to N, if a client received the surfaceDestroyed callback from their SurfaceView they could trust that the surface would not be reused. Now that is not true in multiple scenarios. If a client fails to shut down its EGL context then, we could end up in a situation where, the client will never disconnect. Then when we reuse the same underlying IGraphicBufferProducer for surfaceCreated next the app will crash with a double connect error. There is no valid use of the surface inbetween surfaceDestroyed and surfaceCreated, so we just force the disconnection after surfaceDestroyed. Bug: 30236166 Change-Id: I2e3e4b3176492dc0c2d46a59e0b5a781bf9bc356
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions