commit | fbc8f413d1806d5104ac1424d586092d38b8a7ee | [log] [tgz] |
---|---|---|
author | Arthur Hung <arthurhung@google.com> | Thu Aug 01 19:57:54 2019 +0800 |
committer | Arthur Hung <arthurhung@google.com> | Thu Aug 22 17:01:06 2019 +0800 |
tree | 514878b3e0dab4dee03f4b291d9c505899b1f32f | |
parent | 05c94cec637c7701b8b838a11f5455dc2f801de3 [diff] |
PointerLocation should not show if display is in mirror mode. If a virtual display is created without flag FLAG_OWN_CONTENT_ONLY, and no window initialized, it will automatically enter the mirror mode. So we need to exclude the pointer location window when checking the display has content, to make sure it won't leave the mirror mode if there is no other window exist. Test: manual Bug: 138487611 Change-Id: I60d70ea578df4b18b1666d439a2c925f3310351f