commit | 041a05a06b23e35fa9969673f5e4ca4e18a38163 | [log] [tgz] |
---|---|---|
author | Tadashi G. Takaoka <takaoka@google.com> | Mon Oct 15 12:59:51 2018 +0900 |
committer | Tadashi G. Takaoka <takaoka@google.com> | Thu Oct 18 10:56:15 2018 +0900 |
tree | 6cf7847999df34297f90e704fbaec6cfd76bc88e | |
parent | c500a378b7b82417d19b30642a489ddeacef7256 [diff] |
Release SurfaceControl native resource when test finishes By replacing factory methods, records all SurfaceControl and Transaction objects created while test is running. Then release native resources of those after test finishes. This will mitigate resource presure while running WindowManagerService tests. Bug: 116449554 Test: atest :presubmit in frameworks/base/services/core/java/com/android/server/wm Change-Id: Iac99f80ee995bd64a82b965e4ea8a3135b0a5bd5