commit | 56cba97cfd96c760a65a6018a2c4adadfef1b271 | [log] [tgz] |
---|---|---|
author | Sudheer Koganti <skoganti@codeaurora.org> | Thu Nov 13 15:15:46 2014 -0800 |
committer | WebTech Code Review <code-review@localhost> | Tue Nov 25 08:37:05 2014 -0800 |
tree | c83b2d8810bedb0d6619ffae8cac0692a6cf4949 | |
parent | 7b3d2daaf37c1a5e9f5a9b482c13c9f25b170b27 [diff] [blame] |
Remove unnecessary check for topbar translation No need to check for loading as top controls are already in fixed mode Change-Id: Ic42b20162c0ed13c31a0ebcfdfdbfdd1dc6f9557
diff --git a/src/com/android/browser/BaseUi.java b/src/com/android/browser/BaseUi.java index cfd3f8e..a04f5e0 100644 --- a/src/com/android/browser/BaseUi.java +++ b/src/com/android/browser/BaseUi.java
@@ -849,8 +849,9 @@ } else { mTitleBar.setEnabled(true); } - if (!mTitleBar.isFixed() && !isLoading()) + if (!mTitleBar.isFixed()) { mTitleBar.setTranslationY(topControlsOffsetYPix); + } } }