commit | 40e978e0d13bdbd6a7e0ab06ba25f55e813fd44a | [log] [tgz] |
---|---|---|
author | Xiaohui Chen <xiaohuic@google.com> | Tue Nov 29 15:10:04 2016 -0800 |
committer | Xiaohui Chen <xiaohuic@google.com> | Fri Dec 02 13:51:49 2016 -0800 |
tree | befee5a023e6bd9740a940d7d21310f115e1eaa0 | |
parent | 9efa5ded7102a972ed2d34de75d0c9d6fdadd3a7 [diff] |
sysui: fix navbar button view orientation Before navbar assumes rotation 0 means portrait and rotation 90 means landscape. This is not necessarily true, in certain devices the natural orientation (0) is landscape. Here we removed that assumption and make sure we use the right inflater at all times. Bug: 32516898 Test: Locally on test device Change-Id: I3db44dcb35d8511fb9d42b147b2bd137ff0750f7