| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The provider and WP service can be out of sync. This is possibly by applying
a theme and then separately going in and changing the WP.
Prior to this patch, an updated theme would trigger all set theme elements
to be reapplied, including the wallpaper of the set theme, even if the user
had changed the WP to something else.
The issue has been resolved by only applying theme elements which:
(1) do not pose a risk of being out of sync in the provider
(2) must be reapplied so as to not cause a FC.
Change-Id: I00f12952a5ef040e8f368d0fade222a3e88d003e
|
|
|
|
|
|
| |
See frameworks/base commit for full msg. This is just simple renaming.
Change-Id: If7011a93d60197b2879028902f8e9a190bac147d
|
|
|
|
| |
Change-Id: Ib10a6888259a4da7a2341dc738dc91d0a1839392
|
|
|
|
|
|
| |
This reverts commit 92f77e77e097e59f9ec8d7bc64324f1987230af6.
Change-Id: I79a7beedb43d097e743a41b0501805cd1afad9d4
|
|
|
|
|
|
| |
This reverts commit 13b9a546c7dee1ca588ef7cbb2f643df85f8f0a0.
Change-Id: Id560c730957484f2ae693f63b4597f275e44aaff
|
|
|
|
| |
Change-Id: Ifc606b5ca07efeaef428edb7bd464cabcbe5c474
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to give other apps a chance to finish processing the
ACTION_PACKAGE_REPLACED before reapplying the updated theme
components.
An example of this behavior can be seen when a legacy icon pack is
applied and is updated. Some Google services, such as google play,
FC when this happens.
Change-Id: If526223e6d318b4240fa765abb53dbe61f9ce746
|
|
|
|
| |
Change-Id: Ia841ae6ef466e0b60016fab47abfe4c1089cc902
|
|
|
|
| |
Change-Id: I42970fd98e629bde8f32d698b67892ba7b8e6965
|
|
|
|
|
|
|
|
|
|
| |
This fixes syntax error when excute the SELECT Clause
06-11 13:45:39.370: E/AndroidRuntime(3359): java.lang.RuntimeException: Unable to start
receiver org.cyanogenmod.themes.provider.AppReceiver: android.database.sqlite.SQLiteException:
near "?": syntax error (code 1): , while compiling: SELECT pkg_name FROM themes WHERE (pkg_name?)
Change-Id: If9857b1db447e8752ddf04ce3f7d2cc84d5b28a5
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
This handles the case where an app is being upgraded and previously was
not a theme. and therefore wasn't in the provider.
Change-Id: I7b3f64aed2b78081822cb0f9daf0cbd638e0b15b
|
| |
| |
| |
| |
| |
| |
| | |
Fixes issue where fonts and other resources do not get reverted
properly when an applied theme is uninstalled.
Change-Id: I30c9ea018f8bffc6aff51c5b38ff1e4ec82b7b20
|
|/
|
|
| |
Change-Id: I9267a160fbabeb67ade2f18fdaf8d8c6acc539da
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Change-Id: I157e597ee53894b1237c05dd2000b1da957b1968
|
| |
| |
| |
| | |
Change-Id: I94521a09339fb760b7a56b9a3ba3d2c56e2d3ac5
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Change-Id: I11a63b665550fc7f8f89df837ab0fc8ebcd2c8d3
|
|
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
|