summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/notificationlight
Commit message (Collapse)AuthorAgeFilesLines
* NotificationLightSettings: Remove noop fields when LED can't pulseAlberto972016-11-211-9/+24
| | | | Change-Id: I639b7fc385ffbc551ca3708d9f42db59662b6bee
* Settings: Hide Reset action if Battery LED is not multicolorAlberto972016-11-191-4/+8
| | | | Change-Id: Icb3c7d640cb540d69efa7186c84a92e4e780968d
* lights: Use NotificationManager to figure out LED capabilitiesRicardo Cerqueira2016-11-104-13/+20
| | | | | | | | | As of f/b change I7d627914b058861048071fc15776031c4152157f, there's a more generic helper method in the notification service to get a more unified (and extensible) list of what the on-device LEDs can do. Move away from direct usage of the boolean resources. Change-Id: Ib9a6f28dc52af722dac168ec219b790ad94d6a19
* Settings: Notification light: Fix for app customizationMichael W2016-09-181-1/+1
| | | | | | | | | If the list was filled with an app which gets deinstalled, the previously introduced explanation is not shown anymore. Make the display dependent on the real amount of added prefs, not on the expected amount of apps in the list. Change-Id: Id1f674d519a440e3d811d4dd565d760c045e9f84
* Disable battery pulsing if segmented battery LED is enabledLuK13372016-05-091-1/+2
| | | | Change-Id: Ic5b4e7ce7830c43e84f9a14919ea85bbe993ac99
* Add explanation for customizing appsMichael W2016-04-071-0/+12
| | | | | | | | | Settings->Display & LEDs->Notification light->Apps Currently this is header only if no apps are added yet. Populate it with an explanation when it's empty. Change-Id: I83193dfdd01f05bcd1d597033ef710a1b0eb7e82
* settings: Add preference for automagic LED colorsSteve Kondik2016-02-081-7/+36
| | | | | | * And use the automagic color as the default when picking custom colors. Change-Id: I9861d3d889dfcb5eba62b69339e7afb0db2fd364
* Settings: hide light pulse settings if not availableRoman Birg2016-01-281-16/+26
| | | | | | | | | Instead of disabling the pulse length and speed hide them, since they will not be enabled during the lifetime of the dialog REF: CYNGNOS-426 Change-Id: Ie0c8b9f27e1de32c9559e5ffdb61c73d8b2ff42f Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: fix a few color picker inconsistentciesRoman Birg2016-01-281-2/+4
| | | | | | | | | | | | Don't assume we can pulse when calling setAllValues(). Don't display both on/off pulse values when it cannot pulse. Default to Always on when we can't pulse. Ref: CYNGNOS-403 Change-Id: Ie356cdc35cb545dd51896697f89ef265ada1147f Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Add CMMetricsLogger constants to proper pages.Adnan Begovic2016-01-112-4/+6
| | | | Change-Id: I6e1d0ec2be4c6da51267c163575472827c9c50cd
* Light settings: reduce tone if preview image color is very lightSam Mortimer2015-12-222-7/+8
| | | | | | Prevents material whiteout in color preview. Change-Id: Idfa47e57bdb669b17b610b737d0fe2c942b47d78
* Settings: display light pulse dialog settings conditionallyRoman Birg2015-12-211-2/+4
| | | | | | | | If the device doesn't support LED pulsing, don't show the settings. REF: CYNGNOS-403 Change-Id: I2316a4fd7a3a27c9bc046eda3bd374acc1edcf37 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Always enable the per-app pulse light settingsGabriele M2015-12-071-27/+6
| | | | | | | | | | | All the per-app light settings, including the pulse light settings, were made dependent on config_multiColorNotificationLed. The code to enable the notification color settings depending on the value of config_multiColorNotificationLed is already in place, so enable the advanced light settings unconditionally. Change-Id: Ie396f5e6e190c6d3f08c83dd0b38b038f0653b85
* Remove 'Pulse if battery low' if unsupportedAlberto972015-12-041-0/+6
| | | | Change-Id: Ie58f5c0c148b7f8acbf61d8e808b0cb78e9fb581
* BatteryLight: Reset all settings back to defaultd34d2015-12-041-1/+21
| | | | | | | This patch resets all the settings for BatteryLightSettings when the user presses reset, for a more consistent UX. Change-Id: I5b705a02b9df686eea8af5afd4d552897926d0e3
* Settings: update layoutsjrizzoli2015-11-221-8/+7
| | | | | | | | | | | | | | | | | | | Settings: update layouts - User materialish oval shapes instead of rectangles - Rearrange notifications, wireless, display and sound entries - Update some strings Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it> Settings: update control ring stream string Signed-off-by: Jorge Ruesga <jorge@ruesga.com> WirelessSettings: Remove NFC category if there's no NFC adapter + Settings: add mobile network entry to dashboard Change-Id: I3fcd758f77a217e5c37a22f4d797398a7613b5a2 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Multiple LEDs [2/3]: Illumination Bars supportAdrianDC2015-11-161-0/+10
| | | | | | | | | | | | | | | | Implement the support of a multiple LEDs settings. The setting is deactivated by default and will be ignored by the unimplemented phones. Current LibLights will simply not use the new variable. Changes includes : frameworks/base hardware/libhardware packages/apps/Settings Change-Id: I5531093cd0543d7730a8c3f83c0aebb3678436d5 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* LEDs Brightness [1/2]: Lights notifications brightness supportAdrianDC2015-11-161-0/+12
| | | | | | | | | | | | | | | Implement the support of an overall brightness control for the LEDs. The setting is deactivated by default and will be ignored by the unimplemented phones. Current LibLights will simply not use the new variable. Changes includes : frameworks/base packages/apps/Settings Change-Id: I6ff14ee0de8200f211302a868c5b43e3ec6f9f3a Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Lights with Screen On [2/2]: Optional allowment of lightsAdrianDC2015-11-161-5/+13
| | | | | | | | | | | | | | | | | | | Implement a setting allowing lights to be activated for new notifications even if the screen is on. Lights with screen on and Custom values are separated in an advanced section for a cleaner overview. This setting gives the user an oportunity to activate lights with the screen on and also during DayDream screensaver. The option is not activated by default. Changes include : frameworks/base packages/apps/Settings Change-Id: I3650a014554ce50eb9030cc41e5ce1780bcc2dfe Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Settings: Fix FC on Notification Light settingsAragaoAnderson2015-11-131-2/+3
| | | | | | AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.ClassCastException: com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference cannot be cast to com.android.settings.cyanogenmod.SystemSettingSwitchPreference Change-Id: I3afa8bb4cfe9dcd76054b9c9bd9ba87a069f74e0
* Settings : Move System settings to CmSettingsDanesh M2015-11-121-48/+41
| | | | Change-Id: Id8d5e36c0a61b93d8785a7b9b88a7829c37f66a5
* Settings: Move battery light settings to CMSettings.Adnan Begovic2015-11-091-9/+10
| | | | Change-Id: I2299aea6067507a9ab7d11a1a64ca99479efc5af
* Settings: set a notification when forcing LED onAltaf-Mahdi2015-11-071-0/+6
| | | | | | | | Fixes AndroidRuntime: java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Change-Id: I1375ed394762eaf820d21ad79a22c01c0ae88e31
* Profiles: Point at cmsdk, fix metrics logging.Adnan Begovic2015-10-262-0/+12
| | | | Change-Id: Ic1f3a349c8aa54836128cc91e57e9d31eaca81d3
* [2/2] Settings: Battery and Notification LightsSam Mortimer2015-10-267-0/+2546
PS2: *) Move menu options to sounds and notification *) Remove samm debug cruft PS5: *) Update UI Put together from: Author: DvTonder <david.vantonder@gmail.com> Date: Fri Apr 6 07:39:11 2012 -0400 Settings: Notification light(LED) settings This commit adds the ability to configure the Notification light color and pulse rate both for the default and a custom applications list. This work was done in collaboration with Marko Mihovilić (m1h4) who wrote the initial implementation as a stand-alone application and helped with the fixes below. NOTE: Google Talk notifications originate from the "Google Services Framework" so in order to override their settings you need to add this package instead of the Google Talk package. Change-Id: I6837210367123bc02ea27a9b7b6b3cf80c738bf1 Author: Danny Baumann <dannybaumann@web.de> Date: Thu Nov 7 09:04:29 2013 +0100 Add back notification light settings. Change-Id: I474a14a1b395407f5ca273a5d6a3a7f03f7e4698 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Sat Jan 4 15:52:47 2014 -0800 Settings: fix led pulsespeedoff disable behaviour Keep led pulsespeedoff disabled if pulsespeedon is disabled. This ensures that pulsespeedoff stays disabled if onOffChangeable was set to false. Fixes problem where charged led pulsespeed off looks to be configurable in the ui and thereby creating user confusion. Change-Id: I6ac7f630544bf719b39e1ddcab435322975430c8 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Tue Dec 31 12:11:05 2013 -0800 [1/2] Settings: instant led test Show LED color in realtime when configuring notification colors. Requires framework patch for notification extra EXTRA_FORCE_SHOW_LIGHTS. Change-Id: Ic7858d79cb2351c407afd547b33652a9e04ef1b9 Author: Sam Mortimer <sam@mortimer.me.uk> Date: Sat Feb 1 18:36:15 2014 -0800 Settings LightSettingsDialog: update led on text change Change-Id: I135f37829b9b4fb2166afac9d9531b76a62f3ef7 Author: Danny Baumann <dannybaumann@web.de> Date: Wed Jun 25 08:56:17 2014 +0200 Deduplicate adapter-of-installed-packages code. Change-Id: I454ba79eddaaff86233a2cc341f4c8bebe94729e Author: Michael Bestas <mikeioannina@gmail.com> Date: Fri Oct 17 00:48:17 2014 +0300 Fix copyright headers Change-Id: I7934d01f89953e577c3cb074dce608d9bedd4027 Author: Michael Bestas <mikeioannina@gmail.com> Date: Wed Oct 22 02:23:15 2014 +0300 Add support for single color notification LED (2/2) Change-Id: I4cf21dda3d9e311146149c2ec81fe2398f5f9f87 Change-Id: Ie1203c64484c7d9bed0a6bc0b2808e69ef4bfa35