Initial import into new git repository.
Supports PackageManager's upstream support for package updates.

This change was introduced during the rebase onto android-1.5r2.
Updates to PackageManagerService now offer the ability to detect theme
removal and addition as part of a package upgrade.
Commented non-building pieces of theme generation.

This code should be removed in the future as it is no longer part of the
application's scope.
Removed erroneous package_idmap.db.

CR: Sergey Ten
Customize flow no longer expects non-standard changes to ringtone picker.

The RingtonePickerActivity was previously modified to send back the
ringtone title with the returned intent.  Since we reverted
RingtonePickerActivity to android-1.5r2, this feature is no longer
present and should not be used.

Instead, we use RingtoneManager.getRingtone(this, uri).getTitle(this)
which works the same but is slightly less efficient.

CR: Sergey Ten
Reverted and reworked the original fix for THEMES-104.

This change preserves the delete theme flow (as it was originally coded,
which still needs to be improved) as well as fixing a regression which
would have prevented the "return to default theme" prompt dialog from
showing when the personalization manager would have thrown an exception.

CR: Sergey Ten
THEMES-171: Remove diff theme functionality.

This functionality was downscoped and is not suitable to deliver to OEM
partners for the themes feature.

CR: Sergey Ten
Fixed delete theme flow.

Delete theme is now enabled for any theme apk which exists in /data/app
(that is, is not part of the system image).

CR: Sergey Ten
Removed unused SerializationUtilities class.

CR: Sergey Ten
Moved ThemeAdapter database to a ContentProvider.

This is the first round of work necessary to allow external applications
to list, display, and set themes via the ThemeManager.

CR: Sergey Ten
Removed ThemeManager tracking of installed theme applications.

Installed themes are being tracked by our new content provider, no need
to persist them all in memory.

ThemeManager also no longer needs to extend Application and becomes a
interface with only static members.

CR: Sergey Ten
Removed compiler warnings.

CR: javac
Change thumbnail type in manifest.

This is a temp code, which will be changed later
by refactoring.

CR:JoshG.
Deprecated ThemeItem#getResourceId.

CR: Sergey Ten
Don't squash selection argument when querying or updating.

CR: Sergey Ten
Reduced unnecessary debug.

CR: Sergey Ten
Extend ThemesProvider to include additional theme properties.

CR: Sergey Ten
Modified ThemeAdapter et al to use the ThemesProvider backend.

CR: Sergey Ten
Incorporate new themeStyleName property into provider.

CR: Sergey Ten
Properly implemented requerying on theme [un/]installation.

CR: Sergey Ten