OSDN Git Service

Don't call surfaceCreated for just changed surfaces
authorJohn Reck <jreck@google.com>
Thu, 9 Jun 2016 23:26:21 +0000 (16:26 -0700)
committerJohn Reck <jreck@google.com>
Thu, 9 Jun 2016 23:26:21 +0000 (16:26 -0700)
commit208c47cfb0b1aaec7a3f8478b672da3c9c75306d
treec4623ba087364af80e2a24ee20b1fbdf83e19cf9
parent9b5a78072281ebf0182234d56b6ec174e911d24e
Don't call surfaceCreated for just changed surfaces

Fixes: 29223302

If the surface only changed we want to just call onSurfaceChanged,
not onSurfaceCreated.

Change-Id: I65c8b210a7e34eaa2862020335ee7f6ef56eeac2
core/java/android/view/ViewRootImpl.java