summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Merge "Fix NPE if themeContext is null - round 2" into cm-11.0Abhisek Devkota2014-05-261-1/+2
|\ \ \ \
| * | | | Fix NPE if themeContext is null - round 2Dirk Rettschlag2014-05-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a theme is uninstalled and timing is perfect, it can happen that the CopyImageService is trying to get the PackageContext of a not existing package. Return from the function if a NameNotFoundException is catched. Change-Id: I8f4e33d527f78228f9681ac518292364e9269a0c Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
* | | | | Automatic translation importMichael Bestas2014-05-253-0/+63
| |_|_|/ |/| | | | | | | | | | | Change-Id: I4afb8ee9e6ac3f3f11ff95427bb789f2ee7018c8
* | | | Standardize preview images.Clark Scheff2014-05-222-24/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Themes can contain a preview image for wallpaper, lockscreen, and styles. These can be either .png or .jpg and use the following naming conventions: wallpaper -> assets/images/wallpaper_preview.[png|jpg] lockscreen -> assets/images/lockscreen_preview.[png|jpg] styles -> assets/images/styles_preview.[png|jpg] Change-Id: Ibe441abf941e8b995c94eb43f6c6f237758d914b
* | | | Automatic translation import Michael Bestas2014-05-2132-0/+670
| |_|/ |/| | | | | | | | Change-Id: Idc73415b665b719cba153929000cc960993241d9
* | | Properly handle updating holo theme.Clark Scheff2014-05-191-8/+23
| | | | | | | | | | | | Change-Id: I157e597ee53894b1237c05dd2000b1da957b1968
* | | CM11 Themes: Allow defining a custom default theme [2/3]Clark Scheff2014-05-183-16/+78
| | | | | | | | | | | | Change-Id: I94521a09339fb760b7a56b9a3ba3d2c56e2d3ac5
* | | Merge "Listen for ACTION_PACKAGE_BEING_REMOVED" into cm-11.0Clark Scheff2014-05-182-2/+2
|\ \ \
| * | | Listen for ACTION_PACKAGE_BEING_REMOVEDClark Scheff2014-05-162-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requires http://review.cyanogenmod.org/#/c/64139/ This will allow us to handle changing back to the default theme for any components that are using the package about to be removed. Some apps may crash if the them resources are removed before we change the theme back. Change-Id: If1778ea4dd3be86af21479f12e75d22083e168ef
* / / Themes: Support launcher based icon packs [2/2]Andy Mast2014-05-174-3/+68
|/ / | | | | | | | | | | | | | | | | Before this patch, icon packs written for Trebuchet/Nova/Apex could not be used with the new theme engine as the formats were different. For full description, see [1/2] in frameworks/base Change-Id: Ifaec3c4b459a74eab19c69a086e117b96aeb3e0f
* | Fix NPE if themeContext is nullDirk Rettschlag2014-05-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | When installing a new theme it sometimes happens that the ThemesProvider crashes due to a NullPointerException in hasThemeComponent(...) when executing AssetManager assetManager = themeContext.getAssets(); Don't silently catch the NameNotFoundException and return an empty map. Change-Id: I9d7bf8f79b9c38cd5da668a7fcf205406ffdd79c Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
* | Include alarms in mixnmatch.Clark Scheff2014-05-101-1/+14
|/ | | | Change-Id: I11a63b665550fc7f8f89df837ab0fc8ebcd2c8d3
* Theme Chooser: Initial Contribution [2/2]Andy Mast2014-05-0611-0/+1120
| | | | | | | | | | | | | | | | Introduces a new theme chooser UI for the new theme engine. The new theme chooser allows the user to mix'n'match theme components (styles, boot anim, icons, fonts, wallpapers, sounds). Contributors: Adrian Foulk - UX Lead Andrew Mast - Software Engineer Clark Scheff - Software Engineer RJ Oakes - QA Engineer Special thanks to T-Mobile for open sourcing the original theme engine. Change-Id: Ifdcc0655ae4125ba3287c5c82fbe852840b3625d
* EMPTYAndy Mast2014-05-011-0/+0