commit | b96513095f7ba528b6d13b2ebe2bdb925e0b5ec3 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Oct 06 17:40:01 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Tue Oct 06 17:42:24 2020 +0800 |
tree | cfbc5e9be2876e7c94ff67cc34d0f3bbdd1cceb2 | |
parent | 4a681f2c420c6f413c1962e8a07b503f5761ccf1 [diff] |
Verify the exact display count for display window listener test Even in unit test, RootWindowContainer#setWindowManager still adds the displays from the real display manager. If the testing device has more than 1 display, the test will fail. Bug: 169809706 Test: Enable simulated display and run atest ActivityTaskManagerServiceTests#testDisplayWindowListener Change-Id: I3aa53d3a0f1907083b748abfc2fb2803040c95dc