| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
|
|
|
|
|
|
|
|
|
| |
onResume will always register the listener, no matter if it's already
been registered. Add a variable to track, if the listener has been
registered already.
Change-Id: I294c5ab1d8dd2b12ad744bc87127a38939c4e30e
Reference: BugDumps 20161021-27 L#67
|
|
|
|
|
|
|
| |
This receiver is no longer necessary
Change-Id: I50f33a9e696db0f7e84f1e78849a0ca1e57f4c97
TICKET: NIGHTLIES-3335
|
|
|
|
|
|
|
|
|
| |
Moved the customize,delete and reset in the title card
to an overflow menu to free up some space in the
title card for the theme and author names.
TICKET:CYNGNOS-3279
Change-Id: I0c4defd82369e4840efac420b1629493b280b168
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Change package name to org.cyanogenmod.theme.chooser2
to avoid theme collisions with old OSS chooser
* Change parent theme to Theme.Material.Light
* Change minSdkVersion to 21 since we are going material
* Add selectors for bottom action buttons (app themer, shop themes)
* Add selector, using app themer color, for app themer list view
* Add selector for actions in theme cards
* Bring back OSS app icon
* Reduce log spam in ThemedTypefaceHelper
* Localize "new" tag using a TextView instead of an image
* Other random stuff
Change-Id: I73ef0b9c9370284e29ee00add87273cf54c83e0e
|
|
|
|
|
|
|
| |
Let freedom ring!
Change-Id: I12b3e6b5d46eb2e13afd841dfd5c215af64188d8
TICKET: OSS-67
|
|
|
|
|
|
|
|
|
| |
Changing particular components like default icons,fonts,in
case of mixnmatch will reset the per app themes applied to
the default values.
Change-Id: I1d2699232c3c96ad9a35f01c7d96c6aa3578e2de
TICKET: CYNGNOS-2867
|
|
|
|
|
|
|
|
|
|
| |
It is possible that the user disables theme chooser from being able
to draw on top of other applications. If this happens theme chooser
will crash due to a security exception. This patch checks that we
still have the permission and if not, requests it from the user.
Change-Id: Ic4fc12293d4fa2c544d2e54ed8279dc07d7493f6
TICKET: CYNGNOS-3141
|
|
|
|
|
|
|
|
|
|
| |
When applying components via a third party app, like the Theme Store,
the appy fab would appear. This patch checks if we are appying a
theme from a third party app and does not show the FAB in this
scenario.
Change-Id: Idedc920eeb975d96b66bcc73c88fa9acfe6bfd49
TICKET: CYNGNOS-2906
|
|
|
|
|
|
|
|
|
|
| |
This is a weird state and although I don't know how it can happen,
there have been logs showing this happening so we can at least do
our best to avoid the exception by catching it and carrying on since
the exception means our client has already been added.
Change-Id: Ibf3e9b798d0193d5701e508821bad09fca822a45
TICKET: CYNGNOS-2853
|
|
|
|
|
|
|
|
| |
Make sure mThemeChanging reflects what the ThemeManager returns from
isThemeApplying()
Change-Id: I4c3d2bac7b48d173a3f3c376971339e127d3476b
TICKET: FEIJ-443
|
|
|
|
|
|
|
|
| |
Use the string constant instead to check if action is equal to
ACTION_PICK_LOCK_SCREEN_WALLPAPER
Change-Id: If5d565644eb7c41eb25638025ffccf9a252b34fd
TICKET: CYNGNOS-2611
|
|
|
|
|
|
|
|
|
| |
The permission check was using a string constant in the source file
rather than import the cmsdk Manifest and use the permission
constants defined there.
Change-Id: Id8017dfb9dc77fe8df7e3b0f87009bae8c050108
TICKET: CYNGNOS-2596
|
|
|
|
|
| |
Change-Id: I64dbe4d62ab652c014b2087fd1f72096a677de70
TICKET: CYNGNOS-2406
|
|
|
|
|
|
|
|
| |
This will intent out to the live lock screen settings so the user
can pick a live lock screen (ModLock)
Change-Id: Ia5bf5a6961ca2a50032cea2da5355e3fae7ae37a
TICKET: CYNGNOS-2301
|
|
|
|
|
|
|
|
| |
This action will be used to launch the ThemeChooser into the current
theme and show the lock screen wallpaper card.
Change-Id: Ifffcd86c57b5e96a967d23287504cdd632793e9b
TICKET: CYNGNOS-2296
|
|
|
|
|
| |
TICKET: CYNGNOS-2295
Change-Id: I4d0000ed97aedcaa1e91f7be3d55ece78eea0103
|
|
|
|
|
| |
Change-Id: I441bb8de266fedec1988dd908f7f2864f90adf0a
TICKET: CYNGNOS-2126
|
|
|
|
|
|
|
|
|
| |
Fix to show the FAB when an external image or None is selected from
the Wallpaper or Lockscreen cards.
Change-Id: I911b4374ddc80186ee2699e8782d6e5ca48ee32f
TICKET: CHOOSER-116
TICKET: CHOOSER-117
|
|
|
|
|
|
|
|
|
| |
The additional Space we add to the additional cards layout was
being created and added multiple times. We should be re-using it
if it is already in the parent layout.
Change-Id: Idfbb7889836175c39408bead193ea6125e124e69
TICKET: CYNGNOS-2117
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To improve the ThemeChooser UX, the apply icon will now be displayed
when the user makes a change in the component selector, rather than
waiting until user presses the back button. The icon will remain
visible even if the user jumps between components cards, as long as
there's at least one change to apply. The icon will be dismissed
if the user reverts the changes by selecting the currently applied
components.
Change-Id: I3cdde376a89d4456a2f68ca7957cc8e1db7c27e9
TICKET: CYNGNOS-2077
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The lock screen card is being pushed to the top of the screen
during the scroll animation and then slid down (to make sure
the whole card is visible) if the device has hardware buttons.
This patch will make sure the UX is the same across all devices.
The card will be positioned in the middle of the screen once the
animation is complete.
Change-Id: Ic24c638dfa90f5f58424bc931eb5235befd31880
TICKET: CHOOSER-114
|
|
|
|
|
|
|
|
|
|
|
| |
A new API setAutoExpand has been introduced to allow subclasses
to control whether the text should be expanded to fill out the
view. This is particulary useful to instruct the class not to
resize the text if it fits 'as is' keeping the original font
size
Change-Id: Ie23d2b2f6f5c31fa7befe602e1bfc441c614ec72
TICKET: CHOOSER-115
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To be consistent with the rest of the text views in the chooser,
we need to use Lato font on the animated lock screen thumbnail
(rather than Roboto as initially requested).
In order to reuse as much code as possible, LatoTextView is now
extending FittedTextView. A new attribute 'autoFitText' is
introduced to instruct whether fitted text is desired.
Change-Id: I3209fe7f06177bc4025cbf964d0c2dd79325b9c0
TICKET: CHOOSER-113
|
|
|
|
|
|
|
|
|
|
| |
When we change to a different theme or reset the current theme, we
need to make sure we un-apply components that are not part of the
theme being applied/reset, unless the user customized the theme.
This also applies for resetting a theme.
Change-Id: I295c082d10929b6f99af7ebc5d6a2dd123fcf64a
TICKET: CYNGNOS-1847 OPO-430
|
|
|
|
|
|
|
|
|
|
|
| |
If ThemeConfig is null we can assume that no theme is applied and
therefore the System theme should be considered the currently
applied theme. The ThemeConfig would be non null on first run of
the theme chooser if the device's default theme, which is not System,
is applied via OOBE.
Change-Id: I3d913b1c9f2fee4b1b954fb4148441256be08eec
TICKET: CYNGNOS-1947
|
|
|
|
|
|
|
|
|
|
| |
Live lock screen will be enabled if user picks an animated lock
screen from the chooser. User will be presented with a dialog to
enable LLS. If user decides not to enable LLS, the animated lock
screen won't be applied.
Change-Id: I5d14dd138e3e3f0e83e1dd08d75c8543131cc430
TICKET: CYNGNOS-1932
|
|
|
|
|
|
|
|
| |
ThemeUtils still uses Settings instead of CMSettings, and it can't
since it is in frameworks core :(
Change-Id: Ia504fdb8b5648db672d455ec0d214ad25b7ba24d
Ticket: CYNGNOS-1912
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the user makes a chance to the currently applied theme, but then
it abandons the change, the map that contains the currently selected
components is wiped out. This patch will restore the map to its original
state so all the currently selected components are properly highlighted
in the component cards if the user decides to go back and make changes
to the currently applied theme
Change-Id: Ia7f38491ce9b2c2f7cae7dae8cf1f5d241391096
TICKET: OPO-467
|
|
|
|
|
|
|
|
| |
Replaces the static red ribon with a text view so the
label can be translated. Default text is set to 'ANIM'
Change-Id: Ic701d28bfd20568419a4ea2063ee208210037389
TICKET: CYNGNOS-1688
|
|
|
|
|
|
|
|
| |
This patch is to instruct the chooser to jump directly to the
live lock screen selector if PICK_ANIMATED_LOCK_SCREEN action is sent
Change-Id: I1d1df7df2d0d903841c5408bd138e81350327baa
TICKET: CYNGNOS-1707
|
|
|
|
|
|
|
|
| |
This patch prevents the add ("+") icon from being displayed
on the lock screen card when user selects None.
Change-Id: Icd5a86ddcbf00765bc1844c2f78b6188d2706be5
TICKET: CHOOSER-107
|
|
|
|
|
|
|
|
|
| |
If the componet being passed into setComponentType is null, then
just return as there is nothing to do with it.
TICKET: CYNGNOS-1675
Change-Id: I9f3c95dffcbb3b4f08d114f4fe864cdb379ff79a
|
|
|
|
|
|
|
|
|
|
|
| |
If current theme has a LLS, we need to get the path from the provider and manually
load the bitmap (WallpaperManager will return a Drawable only for lock wallpaper)
This patch also prevents two titles from being highlighted in the lock screen
selector when a package contains a static wallaper AND a live lock screen
Change-Id: I6e8312e7a6e15dfff930de23c3a24afa74df43d1
TICKET: CHOOSER-106
|
|
|
|
|
|
|
|
| |
Fix to disable a previously enabled live lock screen if a static
wallpaper or none is selected
Change-Id: Ib0e130e31326b5717ba87a4464a8dae950eb5f64
TICKET: CYNGNOS-1580
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the ThemeChooser is in a paused state, the ThemeObserver in the
component selector will still fire off when a theme is added or
removed. This causes an NPE when the loader is restarted.
This patch unregisters the content observer when the window is no
longer visible and then re-registers it once the window is visible
again.
Change-Id: I628b269eb95a7fb521470ff3b33845086ee30461
TICKET: CHOOSER-108
|
|
|
|
|
|
|
|
|
|
| |
Lock Wallpaper and LLS are sharing the same card, but the card is
identified as the lock wallpaper component. We need to pass the
package name of the LLS so it can be properly highlighted in the
selector.
TICKET: CHOOSER-110
Change-Id: Ie438d9fe4e114ab8e37c319fbb3fd95402605b0f
|
|
|
|
|
|
|
|
| |
This bumps the target SDK up to 23 and gracefully handles getting
the required permissions from the user.
Change-Id: I66e0d8f4e6f28039811636e3684b2eb7c2bba336
TICKET: CYNGNOS-1565
|
|
|
|
| |
Change-Id: I86e016d139da4adcec3191d982968b7a37f48c19
|
|
|
|
| |
Change-Id: I7712c183edcac838edcc703065190c9aa9e9e293
|
|
|
|
| |
Change-Id: Ie1a13d9775e85b61c611ee6037856fef1578c4a8
|
|
|
|
| |
Change-Id: I2eeabec8ba812379b81968f38116e5147280d68d
|
|
|
|
| |
Change-Id: I3aac7a90b7fb41d4d91a00ee09fe361bfb29cbdb
|
|
|
|
|
|
|
| |
The final UX will combine both static lock screen wallpapers and
the new live lock screen with a banner indicating which are "live"
Change-Id: I26fc793930316296178437d1d98e6e645e17b7e5
|
|
|
|
| |
Change-Id: I6a729010205387e496915777c935f25c9af1a485
|
|
|
|
| |
Change-Id: I6244e18717fae13c5698408ee0b8f5b9109dd988
|
|
|
|
|
|
| |
This reverts commit 590804752bc280f2905b3bf86b49e467fd0fd610.
Change-Id: Ifc42fe865677179d6570d457242c6ee469947afc
|
|
|
|
|
|
|
| |
The final UX will combine both static lock screen wallpapers and
the new live lock screen with a banner indicating which are "live"
Change-Id: I26fc793930316296178437d1d98e6e645e17b7e5
|
|
|
|
|
|
|
| |
DialerNext uses a different package name but the activity is still
part of com.android.dialer
Change-Id: I20af2ca6c57a46070de125db2c9f7fbb575a267f
|
|
|
|
| |
Change-Id: I32c21254f0c8797e6ff7ee48992994271d8f6d21
|