Age | Commit message (Collapse) | Author |
|
The ApplicationsProvider is no longer used, so remove it.
Change-Id: I6ee638a3d2b65f092d6f90410156d7cd24436914
|
|
Call the package manager to check whether an app is disabled.
Bug: 5029707
Change-Id: Ic338e990ae78dfde1ee6112d5fd69129c74fc50c
|
|
When we get a request for results from global search, results will be
sorted by last access time, and the new field
SearchManager.SUGGEST_COLUMN_LAST_ACCESS_HINT will be set.
The launch times are no longer updated every 6 hours. Now we
update the in-memory database when the request from QSB sets a
"refresh" parameter.
DEPENDS ON: I80e9b127410ed0d528515d2256787f30a953e9b0
Change-Id: Ie45e4fa52ffe43d4e7f3fa06221f3c9e039f2bb1
|
|
Bug: 3431684
Change-Id: Ie350ef440a7a49e5fdae5723414bfbab11f09793
|
|
Without this any application could use the provider to
get information about user behavior.
Change-Id: I8eb4bccc9e6a9886f5af194ac132da423e725ce9
|
|
Made it a large test as per http://go/android-test-sizes
because AppProvider has a delay in its initialization code
and each test runs slightly over 1 sec per test.
Bug: 1847330
Change-Id: Ib6d9a81f3bfa68cbd25d2189f6e6690bc3d8e428
|
|
Tested with automated tests + manually:
1. Installed ApplicationsProvider (with a clean database containing 0 as
each app's current launch count).
2. Typed "g" into QSB. App suggestions: Gallery, Gmail (ranked alphabetically).
3. Clicked on the "Google Search" app to launch it and by doing so increase its
launch count.
4. Cleared the QSB shortcuts (QSB created one for Google Search when it was
launched).
5. Reinstalled ApplicationsProvider so the in-memory values would be lost.
6. Typed "g" into QSB. app suggestions: Google Search, Gallery (ranked by
launch count).
Bug: 1847330
Change-Id: I4125b34a1923fe5866c52bf77218974ed14a38bc
|