commit | 59a7b980e5474bf74ace2bb8696766be98b65f90 | [log] [tgz] |
---|---|---|
author | Mady Mellor <madym@google.com> | Mon May 11 15:19:59 2020 -0700 |
committer | Mady Mellor <madym@google.com> | Mon May 11 15:21:08 2020 -0700 |
tree | 6ab0bb371afd03a1e760fbed5d6c33a073a67e8b | |
parent | c8d5a6852513be1c4999002e164d0578e7b713d0 [diff] |
Use mock window manager for BubbleController in tests Bubbles are no longer part of the status bar window and live in their own window now. This resulted in a new window being created each time setUp step happened in BubbleControllerTests without ever being removed, resulting in OOM when running tests :( This CL fixes it by using a mock window manager in tests. Test: atest Fixes: 155805511 Change-Id: Id1940aeb7ee94801fa5669a30a98e2ea9c92126b