Correctly set the viewport on window resize.
Change-Id: Idec325264d85feda76d4cda00fa511aaac82cf64
This commit is contained in:
@@ -946,8 +946,8 @@ public final class ViewRoot extends Handler implements ViewParent, View.AttachIn
|
||||
mSurfaceHolder.mSurfaceLock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
if (hwIntialized) {
|
||||
|
||||
if (hwIntialized || (windowShouldResize && mHwRenderer != null)) {
|
||||
mHwRenderer.setup(mWidth, mHeight);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user