summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorMing-Shin Lu <lumark@google.com>2020-08-26 23:38:25 +0800
committerMing-Shin Lu <lumark@google.com>2020-09-22 13:09:48 +0800
commit2b134a1d7920308ba789e7b958d22c8d464782bc (patch)
tree4adcd191e188e90d102bd8edc4711416405ef6d5 /tools/aapt2/java/JavaClassGenerator.cpp
parent74237cc162c704342765188fbbce6d22f1cdd11a (diff)
Add DisplayContent#forceDesktopMode
As WMS#mForceDesktopModeOnExternalDisplays is a flag to force enable desktop mode on public secondary display. Since some code points didn't check if the display is public & secondary display, it may cause some issues like Bubbles using private virtual display but the content can show system decorations and IME always failed to show, if user enabled force desktop mode config from developer option. Add DC#forceDesktopMode to make sure the check is proper and consistent. Fix: 163333691 Test: manual as test steps: 1) Enable "Force Desktop Mode on External display" from Settings -> Developer option. 2) Launch Message or FB messenger with chat head bubbles 3) Taping EditText and check if soft-keyboard can show up correctly. Test: atest DisplayContentTests#testForceDesktopMode Merged-In: I6ec52b6b1642fd547ebc222ae1bf9a2958e5fb2d Change-Id: I6ec52b6b1642fd547ebc222ae1bf9a2958e5fb2d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions