summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/CrashRecoveryHandler.java
Commit message (Collapse)AuthorAgeFilesLines
* Crash recover no longer uses icicle.George Mount2011-11-231-44/+45
| | | | | | | | | | Bug 5508252 Changed load state to use the crash recovery state every time instead of using icicle. When the state is saved, the value is written synchronously. Moved settings from CrashRecoveryHandler to BrowserSettings Change-Id: I1a241d4c488fe3246c7d7f1ee0ce26c42ba29429
* Expand scope of try/catchJohn Reck2011-10-131-5/+3
| | | | | | Bug: 5458165 Change-Id: I6e2ca495189179086e313e0ed61217649a9b1e8a
* Fix intent handling from other apps in recovery caseMichael Kolb2011-10-111-1/+1
| | | | | | | | | Bug: 5433940 When browser had a crash recovery state, the view intent from the other app was dropped. Change-Id: I8eaafa7ad792fa2048ad33886b7394c31ca97e21
* Add bulletproofing to state recoveryJohn Reck2011-08-221-2/+18
| | | | | | Bug: 5166335 Change-Id: Ife9ef2da7664f8de6b0ff9655611efa78d84df05
* Get rid of the recovery dialogJohn Reck2011-07-291-50/+16
| | | | | | Bug: 5081732 Change-Id: I6cbe0bdcd02735a21e785655df84896d8b79e8ce
* Fix recovery flowJohn Reck2011-07-291-5/+7
| | | | | | Bug: 5096566 Change-Id: Ib7b7e24d5953d02c5e824fc9ef74468fe80480ec
* Restore overhaulJohn Reck2011-07-271-1/+1
| | | | | | | | Bug: 5069192 Store thumbnails in a database restored async for each tab Fix restoring a tab not restoring its current state Change-Id: I2c14e352638aac0ef766fb3bf4036ff220c53ecd
* Merge "Switch to a background thread pool"John Reck2011-07-251-3/+1
|\
| * Switch to a background thread poolJohn Reck2011-07-251-3/+1
| | | | | | | | | | | | | | | | | | Bug: 5019676 Use a shared thread pool Eliminate some unnecessary use of AsyncTask (which has extra overhead compared to using a thread pool) Change-Id: I01d6c84816a9c9705216c8fdb8ed8c990265626a
* | Close FileInputStream in CrashRecoveryHandlerBen Murdoch2011-07-251-1/+8
| | | | | | | | | | | | | | | | Fix strict mode violation. Bug: 5073242 Change-Id: I0c4c276f03428666e924f2dccf4b3e4ed8c5dbe8
* | apply() instead of commit() SharedPref change in CrashRecoveryHandlerBen Murdoch2011-07-251-1/+1
|/ | | | | | | Don't commit shared preference changes on the UI thread. Bug: 5019676 Change-Id: Idffbc085f375c941a1e70a5f7c96517fa6bd559d
* Preload crash recovery stateJohn Reck2011-07-221-58/+94
| | | | | | Bug: 5069111 Change-Id: Ia19d7b3a8eb483fc4e9076fa388c82d8673894ac
* Startup optimizationJohn Reck2011-07-211-6/+3
| | | | | | | | | | | | | Bug: 5019676 Save one thread by letting CrashRecoveryHandler re-use the BrowserSettings startup thread Lazy initialize the wake lock only if we need it (avoids IPC overhead at startup) Slight ordering shuffle in BrowserActivity to maximize the usefulness of the BrowserSettings startup thread Change-Id: I1fc7412d492f93e0630008fa6030da9e0d726ebb
* Remove prompt-bypassJohn Reck2011-07-201-2/+0
| | | | | | | | Bug: 4904409 Also in an effort to improve text input performance, disable saving state while typing. Change-Id: I2aeeadde6d4953dbdccc7ae0c5e22d1ccf779366
* Closing last tab clears stateJohn Reck2011-07-171-1/+1
| | | | | | | | When closing the last tab, clear the crash recovery state. This prevents the issue where closing the last tab and re-launching browser would recover the last tab anyway Change-Id: Ia080aca5401fbc65e62a7651cb17cf9cd2e25ed8
* Always automatically restoreJohn Reck2011-06-291-4/+11
| | | | | | Bug: 4904409 Change-Id: I07406481e3870c09546b0264ed10e5a7bd6cae68
* Attempt to automatically restore after crashJohn Reck2011-06-241-4/+43
| | | | | | | Use a timestamp based approach to determine if we should automatically restore or prompt the user Change-Id: I4b8d1d76e0dfc02879f3708241cb78ff1673a57c
* Handle restore dialog cancelJohn Reck2011-06-221-0/+7
| | | | | | Bug: 4860016 Change-Id: I77a61e4bdbdb54a8840b2f5f1e8e20a1b05cb3e2
* Clarify restore dialog, prevent spamJohn Reck2011-06-171-3/+7
| | | | | | | | | | Bug: 4599646 State that it is the browser's windows/tabs to be restored and show the browser's app icon in the dialog. Also cut down on the frequency this prompt will appear by ignoring tabs that haven't loaded anything except the home page. Change-Id: I2c2cc03aa92da3199c47b455256145d392548930
* Always offer to restoreJohn Reck2011-06-101-21/+75
| | | | | | | Always offer to restore (even across reboots) Periodically save while the user is typing in a textfield Change-Id: If226ea7d2e19c58d8205d663f9f8dd670c712436
* Prevent crashing in CrashRecoveryHandlerJohn Reck2011-05-271-3/+2
| | | | | | | Catch Throwable instead of Exception Don't save screenshots for crash recovery Change-Id: I22c36dc644ae597c609880d2ced79436918d83a6
* Recover tabs in the event of a crashJohn Reck2011-04-141-0/+120
Change-Id: Ia47a5bc1e659e46e7f29a8cec52b6fd2ed675be4