This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
It's almost same as my previous CL 143783, except this time it uses pm.queryContentProviders() to enumerate only packages that have a content provider. It still uses getPackageInfo(), but only on packages with a directory provider and there aren't many directory providers around (there are only two known ones: Exchange and the googlesync), so it should be okay. (We could get rid of the getPackageInfo() call but that'd be too big a change for MR1.) Bug 5422702 Change-Id: I67f51f6a770bf1de6779b366017431c36b63815c
- Loading branch information
Makoto Onuki
committed
Oct 27, 2011
1 parent
845da84
commit ac6f0b8
Showing
3 changed files
with
203 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.