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/UI.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/com/android/browser/UI.java') diff --git a/src/com/android/browser/UI.java b/src/com/android/browser/UI.java index 13f8af27d..368c82986 100644 --- a/src/com/android/browser/UI.java +++ b/src/com/android/browser/UI.java @@ -124,9 +124,12 @@ public interface UI { boolean dispatchKey(int code, KeyEvent event); - public static interface DropdownChangeListener { void onNewDropdownDimensions(int height); } void registerDropdownChangeListener(DropdownChangeListener d); + + void showAutoLogin(Tab tab); + + void hideAutoLogin(Tab tab); } -- cgit v1.2.3