commit | a42ecdcb869ae0f10dfa31e4bbf116e32e73b482 | [log] [tgz] |
---|---|---|
author | Michael Kwan <mkwan@google.com> | Tue Dec 09 15:49:23 2014 -0800 |
committer | Michael Kwan <mkwan@google.com> | Tue Dec 09 15:49:23 2014 -0800 |
tree | ddb7a7b011e18a9fdef72a95f85415b4378c445f | |
parent | 58b2c43fd50baa0b58dc232733ddb9c9e769fad1 [diff] |
Added fix for Projection Scrolling List Test where items were being clipped off on round screens. Change-Id: Ie169c2b74a7e63282b07abd834eb28dc076d9755
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/projection/ProjectionActivity.java b/apps/CtsVerifier/src/com/android/cts/verifier/projection/ProjectionActivity.java index 18d9d43..77de71d 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/projection/ProjectionActivity.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/projection/ProjectionActivity.java
@@ -150,6 +150,8 @@ public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { Log.i(TAG, "onSurfaceTextureSizeChanged " + surface.toString() + "w: " + width + " h: " + height); + mWidth = width; + mHeight = height; } @Override