summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTun Zheng <peterzheng@google.com>2018-01-15 16:55:06 +0800
committerTun Zheng <peterzheng@google.com>2018-01-18 14:25:39 +0800
commit66dc0358bb61a4d266868a1ad77f7ba1a3540ee9 (patch)
tree3dce19f149f7b7ae2c05faf62c73a3bdf87418fd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent2bb444136a10731f73fe7e7052a0fcbec0472262 (diff)
Add status/navigation bar existing check before create input consumer.
We create input consumer to show navigation bar after developer setting the related immersive flags. The InputConsumer is using status bar to implement the feature. But the some devices does not have status bar and navigation bar. Which will cause that most video players can not show UI controller after entering fullscreen mode because InputConsumer consumes them always. Fix this by checking whether the status and navigation bar exists before creating the InputConsumer. Test: Open Youtube Gaming and maximize it on a device without status/navigation bar. Play any video and fullscreen it. Now click in the app can show the UI control buttons. Change-Id: Ibebf1d9acced55b6170077e903aaad87fa84bb2d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions