diff options
author | Arthur Hung <arthurhung@google.com> | 2019-08-01 19:57:54 +0800 |
---|---|---|
committer | Arthur Hung <arthurhung@google.com> | 2019-08-22 17:01:06 +0800 |
commit | fbc8f413d1806d5104ac1424d586092d38b8a7ee (patch) | |
tree | 514878b3e0dab4dee03f4b291d9c505899b1f32f /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions