commit | d469ee1ebf1366faca3e5a2133ac165ca44d11db | [log] [tgz] |
---|---|---|
author | David Liu <dswliu@google.com> | Fri Mar 01 06:59:03 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Mar 14 23:58:24 2024 +0000 |
tree | c04903795c6cd9c9645e621811f9fb823b174f20 | |
parent | bc99244e96f3f54057b97fd614eda0a205d0d264 [diff] |
Fix toolbar keyboard navigation and touch. - toolbar default has touchscreenBlocksFocus enabled which make toolbar not focusable when touch screen present. Explicitly set touchscreenBlocksFocus to false make the toolbar can be focus when keyboard navigation. - Remove focusableInTouchMode which breaks normal touch control. Read https://android-developers.googleblog.com/2008/12/touch-mode.html for more details. Fix: 327025582 Fix: 324420544 Test: manual test with keyboard and touch navigation (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9b63fbb772c0d6855f2bc4ddd79e9303102bdcd8) Merged-In: I6cad869e3a51926405a6f3ae894daa5416050bf8 Change-Id: I6cad869e3a51926405a6f3ae894daa5416050bf8