Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few DeskLock features and addons #1

Open
wants to merge 9 commits into
base: lp5.1
Choose a base branch
from
Open

A few DeskLock features and addons #1

wants to merge 9 commits into from

Conversation

GalaticStryder
Copy link

SlimSaber friends, could you test building with this changes? I got a successful build with those, but I couldn't test the SystemUI FC at my ROM, if you test it out.

Includes:

  • Lock Clock Widget launch
  • Exposed BG colors from CMTE to allow Layers theming
  • Flip actions are hidden if device doesn't support it
  • Better alarm time handle changes back and forth
  • Updated the hide status bar icon preference from SlimLP gerrit

I'll add some more stuff back from CM as soon as my ROM totally gets fixed.
In case you want to help me catching the problem in SystemUI:
http://www.slimdevs.com/VexxoAOSP/logs/

Thanks @fusionjack

dnnr and others added 9 commits June 12, 2015 13:37
Change-Id: I8aa4960c03d710ca7889c8d91701ca5b5376c9ef
…sor.

(╯°□°)╯ sʞɔolɔ

Change-Id: Iba38e37bffe91d0d5bd9bb8922b4c168386ebfd9
(cherry picked from commit 106cfa2bca37303a93e1826c04d88783aa15b52d)
If you open the Clock countdown time and input 99h99m99s it will
actually translate to 100 hours, 40 minutes and 39 seconds as
expected.

When leaving the app it will show a notification with the remaining
time and if there are more than 100 hours it will fail to show
that part and only show "40 minutes remaining".

This patch fixes allows for 100 as a valid input.

Change-Id: Ib3621691aaa3a449262cb9e3601d39283bb808f8
Change-Id: I13ca3156c34eccdd8f60d8585281ae0585aac58e

Conflicts:
	res/values/cm_strings.xml
Allow themers to tint the background colors according to the hour.

CM words:

The background colors are currently defined as a hard coded array
in Utils.java.  This patch moves this array to cm_arrays.xml and
exposes the colors of the array in cm_colors.xml for theming

Change-Id: Id72867ee82edd28bc120223be96c34448d79f1ae
Reported issue: AlarmManager would not properly reschedule repeat alarm
if the user manually adjusted date/time to before the next scheduled
instance of the alarm.

Steps to repro issue:
1.Set an alarm for 18:00 when system time is 19:00.
2.Modify the system time to 17:50
3.Note that alarm does not fire at 18:00

Thanks to Guotao Deng for identification and initial fix.

Based on this patch, and adapted for CM:
https://android-review.googlesource.com/#/c/147815/

Change-Id: Ifa7b85ab93583afaf4a248e13d726997b68822ed

Conflicts:
	src/com/android/deskclock/provider/Alarm.java
… [2/2]"

This reverts commit 93ef7e7.

Conflicts:
	src/com/android/deskclock/SettingsActivity.java
PS: DeskClock : Fix alarm statusbar icon visibility

PS 23May2015: checkboxpref to switchpref, removed useless 755 permission on AlarmNotifications.java,
moved strings to slim_strings

Change-Id: I76591715a20cd8286b3ef9602a55836cc9b93047

Conflicts:
	res/values/custom_strings.xml
	src/com/android/deskclock/ScreensaverSettingsActivity.java
	src/com/android/deskclock/SettingsActivity.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants