diff options
| author | Jonathan Dixon <joth@google.com> | 2012-12-17 13:39:17 -0800 |
|---|---|---|
| committer | Jonathan Dixon <joth@google.com> | 2012-12-17 13:39:17 -0800 |
| commit | e1d6dfca80e4627a0c7fe46e38f904179c3edab3 (patch) | |
| tree | 10f62ca2d7f4567e8cb717ec626215eb9a4681f8 /src/com/android/browser/TitleBar.java | |
| parent | dd41509b73803f4f575b739b6276177fe9de7e80 (diff) | |
| download | packages_apps_Browser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.tar.gz packages_apps_Browser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.tar.bz2 packages_apps_Browser-e1d6dfca80e4627a0c7fe46e38f904179c3edab3.zip | |
De-classicify Browser
Removes the hard run-time dependency on WebViewClassic.
(Still needs visisbility of it to build though)
This is needed to enable chromium webview testing.
Change-Id: I290b6b23b2eac525537ebc3ef8007d681a67a169
Diffstat (limited to 'src/com/android/browser/TitleBar.java')
| -rw-r--r-- | src/com/android/browser/TitleBar.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/TitleBar.java b/src/com/android/browser/TitleBar.java index 874296a41..a0cc857d0 100644 --- a/src/com/android/browser/TitleBar.java +++ b/src/com/android/browser/TitleBar.java @@ -122,6 +122,7 @@ public class TitleBar extends RelativeLayout { boolean isFixed = !mUseQuickControls && !mContext.getResources().getBoolean(R.bool.hide_title); isFixed |= mAccessibilityManager.isEnabled(); + isFixed |= !BrowserWebView.isClassic(); // If getParent() returns null, we are initializing ViewGroup parent = (ViewGroup)getParent(); if (mIsFixedTitleBar == isFixed && parent != null) return; |
