commit | fdd371115259fad344d552b8b7121823b1466804 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Fri Aug 05 15:48:14 2011 +0100 |
committer | Ben Murdoch <benm@google.com> | Fri Aug 05 15:50:32 2011 +0100 |
tree | d1a22e12dc413f31ac10b27764c42a1d17ed7bee | |
parent | edd390b6e1448a206f514d97c8ff1fcfb58773bd [diff] [blame] |
Observe a flag to supress the HTTP auth dialog prompt and silently cancel auth. Requires external/webkit change If8c6f22e8307e1e13b8f7ad29f79305ce24b3255 Requires frameworks/base change: Ida5708aad7cbe5633106e9ae2997c9231aaf95b8 Bug: 5094761 Change-Id: Id901855830bbe17ede8a18293cff2bbc0aad4ba8
diff --git a/src/com/android/browser/Controller.java b/src/com/android/browser/Controller.java index 142375d..268c811 100644 --- a/src/com/android/browser/Controller.java +++ b/src/com/android/browser/Controller.java
@@ -1000,7 +1000,7 @@ if (username != null && password != null) { handler.proceed(username, password); } else { - if (tab.inForeground()) { + if (tab.inForeground() && !handler.suppressDialog()) { mPageDialogsHandler.showHttpAuthentication(tab, handler, host, realm); } else { handler.cancel();