From 9206677e461328f15854c5fcb1366d0e261534c6 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Thu, 10 Mar 2011 08:46:27 -0500 Subject: Add new auto-login UI. When the WebView notifies us of an auto-login request, check if the account is valid. If so, use it to log into the account manager. If that fails or the account is not valid, display the login UI. Bug: 3367381 Change-Id: I5a164ef676921eec03a89860fa5be722d3d987d4 --- src/com/android/browser/XLargeUi.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/com/android/browser/XLargeUi.java') diff --git a/src/com/android/browser/XLargeUi.java b/src/com/android/browser/XLargeUi.java index 9b5a88408..566f7d131 100644 --- a/src/com/android/browser/XLargeUi.java +++ b/src/com/android/browser/XLargeUi.java @@ -376,6 +376,11 @@ public class XLargeUi extends BaseUi implements ScrollListener { mTitleBar.updateNavigationState(tab); } + @Override + protected void updateAutoLogin(Tab tab, boolean animate) { + mTitleBar.updateAutoLogin(tab, animate); + } + @Override public void setUrlTitle(Tab tab) { super.setUrlTitle(tab); -- cgit v1.2.3