Create input consumer only when nav bar is hidden by client
INPUT_CONSUMER_NAVIGATION could be created if navigation bar was hidden
no matter who made it invisible. If navigation bar is hidden by server,
we should not create the input consumer. Otherwise, there will be no
chance to dismiss it.
Fix: 152800955
Test: 1. Run automotive emulator.
2. Click the textbox in Map on home screen to show soft keyboard.
3. Check if the soft keyboard can be touched.
Change-Id: Id5af6f9f3512abc187f0fdfe883f264b35a95476
2 files changed