summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-16Fix ANRs caused by ApplicationsProviderandroid-sdk-2.1_r1android-2.1_r2.1sandroid-2.1_r2.1p2android-2.1_r2.1pandroid-2.1_r2android-2.1_r1eclair-sholes-release2eclair-releaseeclair-passion-releaseBjorn Bringert
Before, ApplicationsProvider rebuilt the whole in-memory apps database every time any package was added, changed or removed. This caused it to use a lot of CPU and lock a lot of shared resources, blocking other, potentially higher-priority threads. In this change, ApplicationsProvider builds its DB on first start, and then only does incremental updates for the apps that have been added/changed/removed. Fixes (hopefully) http://b/issue?id=2261743
2009-09-30Don't crash when trying to launch missing applicationBjorn Bringert
Fixes http://b/issue?id=2155988 "Clicking a shortcut for an uninstalled application in Quick Search Box crashes acore, requires reboot" Change-Id: Ia32c2e90a4baaa0b6794d397db16aa136988790e
2009-09-04Return correct MIME type in ApplicationsProvider.Karl Rosaen
Fixes http://b/issue?id=2041797
2009-07-30Update the list of applications asynchronously in onCreate just as we nowMike LeBeau
do when we receive a broadcast that there's been a change. Fixes http://b/2023068 This was just an omission from https://android-git.corp.google.com/g/8033 to fix http://b/1917762.
2009-07-21Refresh list of applications in a worker thread to avoid ANRs.Karl Rosaen
Include some logic to avoid doing more than one update per second in the face of several package update notifications. Should fix bug 1917762.
2009-07-14Support shortcut refresh in ApplicationsProviderBjorn Bringert
This lets global search remove shortcuts for applications that have been uninstalled. Fixes http://b/issue?id=1977172
2009-07-06Return default app icon when there is no icon to show.Mike LeBeau
2009-06-04Remove duplicates from application search suggestions.Bjorn Bringert
Fixes http://b/issue?id=1897530
2009-05-15Sort application suggestions with full name prefix matches first.Bjorn Bringert
This fixes http://b/issue?id=1847321 for ApplicationsProvider. This change requires the new version of the _TOKENIZE function.
2009-05-15ApplicationsProvider changes for new _TOKENIZE.Bjorn Bringert
A token_index column has been added to the _TOKENIZE result. This commit changes the ApplicationsProvider to use this new column.
2009-04-29import all files from p4The Android Open Source Project