OSDN Git Service

Correctly update rtl state in navbar once language changes
authorMatthew Ng <ngmatthew@google.com>
Wed, 14 Feb 2018 22:40:31 +0000 (14:40 -0800)
committerMatthew Ng <ngmatthew@google.com>
Thu, 15 Feb 2018 19:03:53 +0000 (11:03 -0800)
commit5fd8041d0b78a0e0bb4d37d1ef4e835368464f1d
tree98a29c24c508afc8e938cd03d115784dad0bb68a
parent461ce2aac1c5ae0666653cb19624307171c6ce80
Correctly update rtl state in navbar once language changes

NavigationBarView failed to update the rtl state that is passed to the
fragment, navbar helper and quick step controller when changing from a
ltr to rtl language because layout direction in view has not been
resolved yet. Fixed by resolving layout direction in reorient if needed.

Change-Id: I28b5dd8b678723020e549a04735ca1932b825dac
Fixes: 73337601
Test: change language and try to quick scrub
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java