diff options
| author | Robert Carr <racarr@google.com> | 2020-02-27 12:11:16 -0800 |
|---|---|---|
| committer | Rob Carr <racarr@google.com> | 2020-02-27 20:13:51 +0000 |
| commit | 7fdf5d1370a44332f8bf4491d37b23191bc39a7b (patch) | |
| tree | dd9d9d3a272100f0701c996079b895edf3035160 /core/java/android/view/SurfaceControlViewHost.java | |
| parent | 8839aaee6d5b5c9c7f19e60aedf11a73b4163269 (diff) | |
Fix typo in SurfaceControlViewHost relayout overload
Need to point to the other method, not just infinitely recurse.
Seems to imply that the tests aren't running in CTS anymore either (this
method doesn't have any real users yet). Following up on why the tests
aren't running seperately.
Bug: 150338132
Test: SurfaceControlViewHostTests
Change-Id: Ie43a6affaac3616164c892713b4bc7fc4b775aa1
Diffstat (limited to 'core/java/android/view/SurfaceControlViewHost.java')
| -rw-r--r-- | core/java/android/view/SurfaceControlViewHost.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/SurfaceControlViewHost.java b/core/java/android/view/SurfaceControlViewHost.java index 4badede2b093..a3b3f1f72310 100644 --- a/core/java/android/view/SurfaceControlViewHost.java +++ b/core/java/android/view/SurfaceControlViewHost.java @@ -201,7 +201,7 @@ public class SurfaceControlViewHost { final WindowManager.LayoutParams lp = new WindowManager.LayoutParams(width, height, WindowManager.LayoutParams.TYPE_APPLICATION, 0, PixelFormat.TRANSPARENT); - relayout(width, height); + relayout(lp); } /** |
