OSDN Git Service

Nav bar: fix tablet density change issues
authorJason Monk <jmonk@google.com>
Fri, 20 May 2016 15:21:59 +0000 (11:21 -0400)
committerJason Monk <jmonk@google.com>
Fri, 20 May 2016 15:21:59 +0000 (11:21 -0400)
commit9a6552d71f8d3dda84458569c4bd9597faf45ddf
tree01707637d10dc0f0498b075f29caf7a92d57427b
parent761f70d5a6b926780db3bba95ee1e01b4d8d95be
Nav bar: fix tablet density change issues

 - Re-inflate the contents of the NavigationBarInflaterView
 - Call up to parent to notify the contents has been reinflated
 - Fix how default tunable is handled, so that the resource is
   reloaded on density change

Change-Id: If25f68d01eedd3319b0c270e1cf80ac382eea637
Fixes: 27227522
packages/SystemUI/res/layout/navigation_bar.xml
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarInflaterView.java
packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarView.java