diff options
| author | Patrick Scott <phanna@android.com> | 2011-03-10 08:46:27 -0500 |
|---|---|---|
| committer | Patrick Scott <phanna@android.com> | 2011-03-10 08:46:27 -0500 |
| commit | 9206677e461328f15854c5fcb1366d0e261534c6 (patch) | |
| tree | 947b5120265de84ae6f85d647b5f191d8f89914d /src/com/android/browser/XLargeUi.java | |
| parent | f06113a9c90b72e73af2f63d93fd2debd9b7cd3c (diff) | |
| download | packages_apps_Browser-9206677e461328f15854c5fcb1366d0e261534c6.tar.gz packages_apps_Browser-9206677e461328f15854c5fcb1366d0e261534c6.tar.bz2 packages_apps_Browser-9206677e461328f15854c5fcb1366d0e261534c6.zip | |
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
Diffstat (limited to 'src/com/android/browser/XLargeUi.java')
| -rw-r--r-- | src/com/android/browser/XLargeUi.java | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -377,6 +377,11 @@ public class XLargeUi extends BaseUi implements ScrollListener { } @Override + protected void updateAutoLogin(Tab tab, boolean animate) { + mTitleBar.updateAutoLogin(tab, animate); + } + + @Override public void setUrlTitle(Tab tab) { super.setUrlTitle(tab); mTabBar.onUrlAndTitle(tab, tab.getUrl(), tab.getTitle()); |
