summaryrefslogtreecommitdiffstats
path: root/src/com/android/browser/Tab.java
diff options
context:
space:
mode:
authoradhiti <adhiti@codeaurora.org>2013-12-10 16:09:13 +0530
committerSteve Kondik <steve@cyngn.com>2015-11-07 13:57:46 -0800
commit6a5657f340b059c92c4e085ba95705c356779780 (patch)
tree89b20e6543a2d85bf44fe633e6d368bdb7bfef02 /src/com/android/browser/Tab.java
parentfa006ef01cf4425264546f23085ce51d3f23f0a6 (diff)
downloadpackages_apps_Browser-6a5657f340b059c92c4e085ba95705c356779780.zip
packages_apps_Browser-6a5657f340b059c92c4e085ba95705c356779780.tar.gz
packages_apps_Browser-6a5657f340b059c92c4e085ba95705c356779780.tar.bz2
Browser: Fix browser force close
Issue: Cursor was accessed by handler thread when it was closed. During Orientation change, BrowserBookmarksPage#onDestroyView is called which clears all the loaders [and cursors]. Simultaneously ThreadedCursorAdapter#loadRowObject is getting called which then calls BrowserBookmarksAdapter#getRowObject where closed cursor is accessed and force close happens. Fix: Synchronized cursors wrt main thread and handler thread. Checked mCursorAdapter for invalid conditions CRs-Fixed: 576176 Change-Id: I9f16c2f1a55f35e8256bbf56afce3538850f9d42
Diffstat (limited to 'src/com/android/browser/Tab.java')
0 files changed, 0 insertions, 0 deletions