summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/GoogleAccountLogin.java
Commit message (Collapse)AuthorAgeFilesLines
* Increase the delay.Patrick Scott2011-02-151-1/+1
| | | | | Bug: 3437220 Change-Id: Idcdd6582a9bdedd795cb9cf39ffd8ff2e22cdf22
* Clear session cookies before attempting pre-login.Patrick Scott2011-02-041-5/+32
| | | | | | | | | | | | | If ClientLogin issues session cookies, we do not want to clear them immediately after getting them from login. If we are not going to restore tabs, go ahead and clear the cookies before attempting pre-login. Keep track of the tab to restore so that we don't need to figure it out again. Requires a change in frameworks/base that exposes the CookieManager api. If we receive a 403 from IssueTokenAuth, inval the auth tokens and try again. Bug: 3421214 Change-Id: I5dd4cc0eba365a20a731ac43dd2571ef6274eaa9
* Hack to fix hosted accounts.Patrick Scott2011-02-021-2/+4
| | | | | | | Search for ASIDAP using the /a/ path to find a hosted account. Bug: 3396570 Change-Id: I10cbc7f337532d59e405804724e6bc0be4e669d8
* Re-login after a week.Patrick Scott2011-01-311-4/+83
| | | | | | | | Refactor GoogleAccountLogin to handle the progress dialog. Store the last login time and login after a week to refresh cookies. Bug: 3367395 Change-Id: I62a277610af5b642f51cc775f17806c558812d4a
* Add logging to track down login failures.Patrick Scott2011-01-311-2/+12
| | | | | Bug: 339657 Change-Id: I9372d22f4e7101392a24147e5db5670bfebd3835
* Protect access to mWebView by checking mRunnable.Patrick Scott2011-01-181-3/+19
| | | | | | | | | If the user cancels the login event, mRunnable will be reset and the WebView destroyed. Check for a null mRunnable before accessing mWebView. Bug: 3361009 Bug: 3349815 Change-Id: Idd9a2b788673d9ec95bfa083a4af7df705c22fcd
* Skip auto sign-in if the user is already logged in.Patrick Scott2011-01-131-1/+18
| | | | | | Also delay dismissing the dialog to avoid flashing it briefly. Change-Id: I86c23ccebc6ccaad1feac56bea4ddcfefe1607f4
* Different approach to auto signin.Patrick Scott2011-01-131-0/+199
On startup, attempt to log the user into google sites. Show a progress dialog that the user can cancel if login takes too long. Add a new preference for toggling auto signin. This preference shows the current account and allows the user to choose the account to use. If there are no accounts, the option is disabled. The saved account is validated each time it is accessed in case the account was removed. Bug: 3278072 Change-Id: I10ce1dc57a683b2820b17ef6955577037c82f332