| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Change-Id: Ib61eedfaa50e9e6cfbba1e51ad4e3cea2b856edc
REF: CHOOSER-62
|
|
|
|
|
|
|
|
|
|
| |
Because of the new flow with the themes provider, we end up getting
an ACTION_THEME_INSTALLED broadcast when the default theme gets
added to the provider. Once a user gets through OOBE they will
see the theme installed notification which is not desirable.
Change-Id: Ic6c5d34e452a71c830f56917b235ec9a126d27c3
REF: OPO-131
|
|
|
|
|
|
|
|
|
| |
If the inBitmap does not have enough bytes allocated to load in the
newly decoded frame an IllegalArgumentException will be thrown.
Instead of giving up here we can load in a new image instead.
If this fails then we log it and continue as normal.
Change-Id: Ibc11cde7aed9633552854a11a50924872a94fa53
|
|
|
|
|
|
|
|
| |
Update launcher icon and remove the mark. Update ic_themestore
to remove the old mark and turn resource into a vector
drawable. Fix HDPI notification icon to be correct size.
Change-Id: I3f12975a1e510c4e2bdbf668456b5370dcee9bcd
|
|
|
|
| |
Change-Id: I42f58ef75a45aa131c87baed0d0aeac5763e916c
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces two new actions that will be broadcasted to the
store, or any app that is granted the com.cyngn.themes.permission.THEMES_APP
permission, which requires the same signature as the Theme Chooser.
If a theme is uninstalled from the chooser, a broadcast is sent along with
a String extra with the key "package" that identifies the package name
of the theme being removed.
Change-Id: I6b3f4e19ebb1b8d763d7e0038591fccbbe1809f2
|
|
|
|
| |
Change-Id: I3fb272c5614c8c61501eb96bee87eee8b9ad0df0
|
|
|
|
|
|
|
| |
Since the FAB is above the list, it is possible for the user
to move the FAB since it is still "VISIBLE" with an alpha of 0.
Change-Id: Ib1780d213ecde680e1ba0790447586ac2c6cebe4
|
|
|
|
| |
Change-Id: I76a765fdb4f1efb462230a3b6a20436229d9c485
|
|
|
|
|
|
|
| |
This is really per-app theming but the subject is being named
the same as the open source commits to avoid confusion.
Change-Id: I811463be11359d747065ad66f802a55e1ab7db08
|
|
|
|
|
|
|
|
|
|
|
| |
We were checking if the ringtoneUri was null but not if the actual
Ringtone returned for that uri was null. This patch handles that
case and simply shows the "Add ...." so the user can add a valid
audible.
Change-Id: I4c2320c6ed7ccd825ffcec411bdffc858b08741e
REF:TOMATO-186
(cherry picked from commit 77a2e801640bff65cf7b0d9fadb2364b9531579d)
|
|
|
|
|
|
|
|
|
| |
This allows us to have one apk that can have a launcher icon if
the Theme Store is not installed and if it is installed we can
disable the theme chooser launcher icon.
REF: CHOOSER-28
Change-Id: Id4c81ea7f68aa1491370d70fa29f3b5097e94488
|
|
|
|
|
|
|
|
|
|
|
| |
If mSelectedComponentsMap has a component that is not in mCurrentTheme
it will not get added to componentsToApply and therefore will not
be applied. We now iterate over mSelectedComponentsMap and add any
component that is from a different package than mCurrentTheme or
if that component does not exist in mCurrentTheme
Change-Id: I2df1c06a8de807c63425fa15d7605db34026b32d
REF:CHOOSER-27
|
|
|
|
|
|
|
|
|
| |
This adds a tag at the top of any theme that is designed for
an older version of CM and presents the user with a message
in the apply overlay when they go to apply a theme designed
for an older version of CM.
Change-Id: I7d60f14cbfc376890e06dbf1358745e4490be961
|
|
|
|
| |
Change-Id: I1c9fa43d7be1a6e59703f45559aa0944a5ae7e90
|
|
|
|
|
|
|
|
| |
The map being returned from getComponentsToApply was setting the key
as the value and the value as the key which causes no changes to
be made when applying the theme.
Change-Id: Ic4491d3c7c39ebef78717ab5cdfcd8d1e5759cc0
|
|
|
|
| |
Change-Id: Id9d08836456685912b5f75a1acd0a8992e8b6b47
|
|
|
|
|
|
|
|
|
|
| |
An NPE will occur if a theme which is already applied is being
applied again from the store. What happens is a component view
(eg styles) is being loaded and and asked to animate, but the view
itself does not have a drawable cache yet.
REF: CHOOSER-9
Change-Id: If3d1df1f00097335de03a77dda73325b2b424977
|
|
|
|
|
| |
Change-Id: I7df5fc5bef723d6d1c8602ff03350f31978b20ff
REF:TOMATO-662
|
|
|
|
|
| |
Change-Id: I3d731ccb6ab4e24d654f2a03ceb8ce55e879abdb
REF: CHOOSER-6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit a4d0390b36adc5089b1819712de7c6d7b78ac54f.
We ned to keep track of themes that are installed and being processed
by the theme service. Themes are processed on boot and can cause false
positives if we assume receiving this broadcast constitutes a theme
being installed.
The root cause for not showing install notifications was due to the
Set being null when the preference for themes being processed does not
exist. We correct this by create a new Set if it is null.
Change-Id: I1e762abb6248b282f076a1cf014fc7864f6ce0a3
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current logic sends all the comonents to the theme service,
even when only one or two components changed in the MyThemeFragment.
This patch will create a map of only the components that changed
and pass those onto the ThemeService.
This patch also fixes the issue with fillMissingComponentsWithDefault
which should only be used for applying full themes.
Change-Id: Id47e771e58afd6d2f5065820617b0c56cecc2405
|
|
|
|
|
|
|
|
|
| |
If a 3rd party app, such as the Theme Store, passes in a list of
components to apply for a given theme the chooser will only apply
those components to the currently applied theme.
Change-Id: Ie3b702e076b3382ad5364eabd77cb3eba8854462
REF: TSC-18
|
|
|
|
|
|
|
|
|
| |
When a third party app requests a theme to be applied and the theme
is not a complete pack the various components of that pack will be
applied to the currently applied theme. Themes that are flagged as
PRESENT_AS_THEME will be applied as a whole.
Change-Id: If49afc47ff87d8ced3f5218cc7ac26736eae96eb
|
|
|
|
|
| |
Change-Id: I80a2a9002544be3a2336820f5c2f8b470713ddd2
REF: THEMES-428
|
|
|
|
|
|
|
|
|
| |
It is possible there are still some good parts to play so we
continue on to the next line. If we end up with no parts that
were good it will be caught in parseAnimation()
Change-Id: Ib6a9c132c3cda7cedd5670fd2f00582642f09e1e
REF: THEMESTORE-406
|
|
|
|
| |
Change-Id: Ib802b6f3770fae0f15692b111c77ae7eeb242bfb
|
|
|
|
| |
Change-Id: I9501bbc28b88f33fef343b3d2050348389e49c96
|
|
|
|
|
|
|
|
|
|
| |
Clicking around the apply/reset dialog was causing the click
sound to be played even though nothing was happening. The solution
was to disable ComponentCards when not expanded and to have the ThemePager
only play click events when the clickview's sounds are enabled.
Change-Id: I6a7ae2afd33e3fc72aa53052233c8e4117d089c2
REF: THEMES-423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Launcher OverviewSettingsPanel -> Themes: Launch Chooser, do not show in recents
1.1. From chooser, if user clicks "Shop Themes", Store should open in a new task
and launching chooser again from store shoul
2. Settings -> Themes: Launch Chooser, do not show in recents
3. Launcher Appdrawer -> Themes: Launch Theme Store, show in recents
4. In the case of #1 and #2, if the user proceeds to launch the store via "Shop Themes"
then the store should open in a new task and be included in recents.
5. Do not show "Shop themes" when chooser is launched from the store. This avoids a navigation cycle.
SEE ALSO: Settings & Trebuchet
Change-Id: I597cf81f89494ccce46e1b2496ae16a4d93ac707
|
|
|
|
|
|
|
|
|
|
| |
External wallpapers are set from within the chooser and therefore
not added to the components map. Because of this, if we add in
the missing wallpaper from the default theme we will override this
behavior and the user will not get their custom wallpaper.
Change-Id: I8a897e6851039eaee502736bef98b93f827e952a
REF: THEMES-420 and THEMES-421
|
|
|
|
|
|
|
|
| |
Now that we strip the paint and add in any missing items from the
default theme, we need to set the lockscreen to none if it is not
included in the theme.
Change-Id: I265c6e7b99c501ad342199c96728a644f6cf9c8d
|
|
|
|
|
| |
Change-Id: Ib04be04925f6528ef8bba824fa6f01ab88acff0e
REF: THEMES-413
|
|
|
|
|
|
|
| |
This will help in identifying themes that have issues with their
boot animation by providing logs describing what is wrong and why.
Change-Id: I994a18fc4ecafddb9cc397e600c1fb336706f07a
|
|
|
|
| |
Change-Id: Ifc8115b9bb0320af1c51141c4516b0399583c32e
|
|
|
|
| |
Change-Id: Ic3de7c86d1362be02dcba0447c0d0b3ccdd5d0a0
|
|
|
|
| |
Change-Id: If7b14fdeb324e0e72da171b11bd5ce06665027ed
|
|
|
|
|
|
|
|
|
|
| |
Since we keep track of the currently applied base theme in our
preferences, we need to update it to the default system theme if
the currently applied base theme is uninstalled.
This fixes THEMES-391
Change-Id: Ic07cc9f933fcb4e7a5aa8ebef7f102dc815673ed
|
|
|
|
| |
Change-Id: Iee1c5d651584f317eb561a27a250fa8a60980eaa
|
|
|
|
|
|
|
|
| |
* The result of parsing the boot image can be empty or null. This
may be because Tomato is 720p.
* Add a check instead of crashing in your face.
Change-Id: I26f50406793aac0d3d8e0a335b050acdb9e26e05
|
|
|
|
| |
Change-Id: I02b3b034091bd1323857d112fd4bcd50dd8e0617
|
|
|
|
| |
Change-Id: Ib8083902ee07a891f41479e6085fc0263512f011
|
|
|
|
|
|
|
|
|
|
|
| |
Bad things happen when a theme is expanded and a new theme is
installed and added to the view pager. This patch sets a flag
that lets the ChooserActivity know it should restart the loader
once the fragment is collapsed. Once the fragment is collapsed
the loader will be restarted and new themes will be added to the
view pager.
Change-Id: I2b5fe64782ce278b7e8b09e4ff24755faa080bec
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A strange bug was uncovered where items keep loading into the
selector which causes many duplicates. Once we load the data
we can simply destroy the loader so we will not get any further
updates.
The root cause appears to be caused by the post processing of
themes in the ThemeService. The ThemesProvider listens for changes
to theme resources and updates the preview blobs which triggers the
loaders to be triggered.
Change-Id: Ifbeddadd2cd47d0f04755036fbb432d0fafb3df2
|
|
|
|
|
| |
Change-Id: I956d3821457e52157bb6f106ab9fcf87cbb51d98
REF: THEMES-377
|
|
|
|
|
|
|
|
|
|
| |
When the user clicks on a component that is currently selected,
the listener is called and the card animates the changes even
though nothing really changed. This patch makes sure the listener
is only called when the item clicked on is not the currently
selected item.
Change-Id: I669ce730420b1a83212725c91926242cf2f06fb9
|
|
|
|
|
|
|
|
|
|
| |
This patch makes it so the currently selected component shown in
the card is highlighted in the component selector. For the current
theme this will initially be the applied components and for other
themes this will be their own component selected until the user
selects a different component.
Change-Id: Ied851d425decdd04c5e8d38567f2b079807fb520
|
|
|
|
| |
Change-Id: I67e5d4bd2519ba459319f836709836e44bb33f94
|
|
|
|
|
|
|
|
| |
This fixes THEMES-375 where the items in the component selector
would be duplicated if the user switched to another theme but
selected the same component type, i.e. wallpaper.
Change-Id: I2c29c95e7735bc8f680a6e3d149041b66fd8067d
|
|
|
|
| |
Change-Id: Ib4db9adf214b2047307e8d2ea804319eaf08f3c5
|