summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/notification
Commit message (Collapse)AuthorAgeFilesLines
* Add setup UI for minimum delay between an app's notification sounds.Danny Baumann2016-10-272-0/+58
| | | | Change-Id: I70e9cc308b4f7c7681457a0b09dd73e5d1aebb73
* Allow selecting vibration mode during zen priority mode.Danny Baumann2016-10-271-0/+17
| | | | Change-Id: I4e80e920e4d8f42b0255fd3f528c464b7f094d0e
* ZenMode rules: Show days list in the correct orderLuis Vidal2016-07-281-1/+3
| | | | | | | | | Populate the days list based on what the first day of the week is for the current locale. Ex. Sunday is the first item in the list for US, whereas Monday is for UK Change-Id: Ib3c03a59cee73cfcd809fb115a5d49e5eb7c2e45 TICKET: CYNGNOS-3181
* Settings: Always set ramp-up time value during bindViewKeith Mok2016-07-121-0/+2
| | | | | | | | | | | | | onProgressChange is not always called if we set the ramp up time to 5 sec (0 in seekbar value, since it is the default value, no change). Causing the text showing the ramp up time text value not updated and display as empty when user enable/disable increasing ring volume with ramp up time set to 5 sec. FEIJ-1572 Change-Id: Id32d6b51aab05e80be59bc1912c4ae7c5d114ac5
* Settings: Add per app controls for LP keyguard notifications (2/2)Lars Greiss2016-06-012-0/+68
| | | | | | | | | | | | | | | Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want to see from important apps the notifications on the lockscreen. This commit adds the ability to - enable/disable per app the keyguard notification at all - enable/disable per app ongoing notifications on the keyguard We handle this over the app policy conf file like the other per app notification options TICKET: CRACKLING-1127 Change-Id: I12df484379621c3baba333d30a8b545b3a0ec0ae
* Use correct icon for ring volumeMichael Bestas2016-03-031-2/+2
| | | | Change-Id: If145262562c1409cd8a6cb79ba46b6646c75d1a8
* Settings: Allow/Prevent notification light in Zen mode (2 of 3)DvTonder2016-02-151-0/+7
| | | | | | This allows the user to prevent the notification lights from showing during Zen mode Change-Id: Ia3563d79f5c1fc012411496c7b8901099a78282e
* Remove duplicate charging sounds optionMichael Bestas2016-02-121-12/+3
| | | | | | | | | | * CM setting allows charging sounds on any power source, while AOSP allows charging sounds only on wireless charging * The AOSP toggle has been broken since fw/base 42f4f2f2ff4278ca8411504617f55a712562c242 * Use the AOSP setting while keeping the improved CM code Change-Id: Ia747d8949cf7ce94ad2a638f27aaa3c57f9aed19
* Settings : Fix linked volume crash + inconsistent stateDanesh M2016-01-281-9/+11
| | | | | | | | | | | - Ensure we fetch from Secure, not System - Don't initialize every time we toggle - Set the checkbox state from Settings value since the preference assumes a default of 0 CYNGNOS-1638 Change-Id: Ia519cef2295a6b6083b2b168f4c16df78f423cee
* Settings: Move Do Not Disturb Access under DND settingsAdrianDC2016-01-242-12/+14
| | | | | Change-Id: I4763577b4cd5aae01705cc693dfaaf06152bd3e6 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Fix up increasing ring tone volume preview behaviour.Danny Baumann2016-01-202-13/+52
| | | | Change-Id: Ibe7fdf1ee7f0aa1c7c76052df69fa92e8b6a2ffd
* Settings: Show ringtone per sim for multi sim deviceAdnan2016-01-121-16/+52
| | | | | TICKET: CYNGNOS-1589 Change-Id: I56244242cece2c0ab732a2edb8d8c57e9d2c29b3
* Settings: Add CMMetricsLogger constants to proper pages.Adnan Begovic2016-01-111-1/+2
| | | | Change-Id: I6e1d0ec2be4c6da51267c163575472827c9c50cd
* Fix zen mode allowed event preference summary.Danny Baumann2016-01-061-14/+15
| | | | | | | | | Simply using lower-cased versions of other strings might work for English, but not for most other languages. Also improve formatting of list: Instead of showing 'a, b, c', show 'a, b and c'. Change-Id: I7a809e0655cbde3af1695ec3ddf86ec818fb191d
* Settings : Filter settings for secondary usersDanesh M2016-01-031-2/+2
| | | | | | | | | | Filter blacklist for secondary user Filter default sms if user can't sms/call Filter phone ringtone/vibrate on calls for secondary user issue-id: CYNGNOS-904 Change-Id: I008215f885e819bd3229a4f9a6c6ca6fc09df6c5
* settings: Fix NPE in sounds settings for wifi only devicesChristopher R. Palmer2015-12-231-9/+11
| | | | Change-Id: I98864f29db62d517f0f88560ea62af18a43f585e
* Settings : Add volume link notificationDanesh M2015-12-181-9/+31
| | | | | | | | | | | | Change-Id: I06027bc4f13c8a60b19a2b7ded73ce76da4e4f02 Tablets don't need to link volumes they don't have This feature broke the notification volume slider in settings for devices without telephony service (tablets) and isn't applicable anyways since they don't have ringtone volume streams. Change-Id: Ifff10ecd35b53f5fc08a36332814fb00d20b4350
* Settings: fix Vibrate on touch preference not workingRoman Birg2015-12-112-28/+26
| | | | | | | It was moved out of Other sounds, and never got hooked back up. Change-Id: Ibdc27be82d1fdad27e28d3dc20b245c6e81a125f Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Port over reorganization from 12.1Danesh M2015-12-083-126/+169
| | | | Change-Id: I3d77bb96aba4a501d3223e72be60403694828a34
* App Notifications: remove peek option when headsup is disabledAltaf-Mahdi2015-12-041-1/+3
| | | | Change-Id: I45605f3524fdc5bd84dce7bcf63875a6201d2c79
* Use Theme.SettingsBase for notification logLuK13372015-11-231-1/+16
| | | | Change-Id: I9241eb308926048ab4b59c63a4aa3d8c7f3a3209
* Add isSupported() method to VibratorIntensity classSam Mortimer2015-11-191-1/+1
| | | | Change-Id: I801af80f7b1e15954c50f6f9c5eca4f31f949575
* Settings: Move Global settings to CMSettingsd34d2015-11-121-16/+16
| | | | Change-Id: I73e3477ccc3c804de0f32974d926e6bc9df9b227
* Fix NPE.Danny Baumann2015-11-111-4/+8
| | | | | | | | When entering the notification prefs sub activity without the increasing ring pref being visible and leaving it right away, onActivityStop() threw an NPE because the handler wasn't yet constructed. Change-Id: Ia4291d8ac3d1dbf76d432db7e0e973844163c4ae
* Settings: Map to CM Settings.Adnan Begovic2015-10-293-8/+11
| | | | Change-Id: I2236b8b6b7cf1ad5e5db4ca1ec32d84351d2a08b
* Settings: Refactor for M changes.Adnan Begovic2015-10-291-1/+1
| | | | Change-Id: I64da201ca8ac1785c4b5c417ca640dadb7ae2d2b
* [2/2] Forward port power connect/disconnect notification supportSam Mortimer2015-10-291-0/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | Original commit info: [2/2] Power connect/disconnect notification support part 1/2: frameworks/base PowerUI and Settings http://review.cyanogenmod.org/#/c/35241/ part 2/2: packages/apps/Settings Sound settings http://review.cyanogenmod.org/#/c/35242/ Change-Id: I7ddd8a47ae4f9a62c586023d151ac42bbe8424c7 Power sound notifications: fix ringtone picker title Change-Id: Ied0a08ec1607b778324e69a7b40bac056235bebf Settings: Rename 'Power sounds' to 'Charging sounds' and add summary VOld_Change-Id: I1cb872917e2d03f0a1c77c25c27f2a0496f9bc05 Old_Change-Id: Ibde52fcd6fd0fabc9eeefc7e6f5a3971527285d7 Change-Id: If247c184c5ea2a1e13dd22ef121cbc9d5d542fd5 Signed-off-by: STELIX <ssspinni@gmail.com>
* Feature : Volume adjust sound preference 2/2Michael Bestas2015-10-291-0/+11
| | | | | | This patch allows the users to choose if they want the audible tone when adjusting the volume Change-Id: I6d43cba83bf4cf10f2d50502e7cee5408a73c520
* Remove lights settings unless intrusive LED bools are trueSam Mortimer2015-10-291-19/+10
| | | | | | | com.android.internal.R.bool.config_intrusiveNotificationLed com.android.internal.R.bool.config_intrusiveBatteryLed Change-Id: I8883d68bc7e82d295a1d47b3ca3777525350d854
* Add back increasing ring feature (2/3).Danny Baumann2015-10-293-0/+260
| | | | Change-Id: Iafc79a57651db327a100e0f1723b62f442b638be
* settings: Squashed commit of CMHW featuresDanny Baumann2015-10-291-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add hardware tunables (gamma, color, vibration strength). Change-Id: I44e3e4e6cb444498a7c56048618cd92a0e2b8e59 Settings: restore hardware tunable values on boot Change-Id: I9d2720947d615cab6a7ab9b596b24b8033dd0b4f Settings: Add default value for display color control (2/2) Change-Id: I50b684abe504c21ef49492f99b18873d75509697 settings: Move headset option, hide MoreDeviceSettings if empty * This option fits much better in the sound menu under "automation and effects", and on many devices it's the only option in the "More..." menu under Tap & Pay. * Move it, and remove the MoreDeviceSettings top-level category if there's nothing else in it. Change-Id: Idd82f582a1ba54f8b45fbd4fbe631057e9515f86 Remove 'More device settings' menu Change-Id: I86cd84f6f6c408b26c04d92529e9a031c4fed1f7 DisplayColor: Properly handle a minValue * Previously setting anything as a minValue would cause the percentages to get out of whack. For instance, setting it to 35 would cause the maximum percentage to climb above 100% as well as still allowing the value to be set lower than the min. * This makes the maximum for the slider the max value minus the min (so we get the proper spread for min to max) and then adds the min back on before setting so we can't possibly go below the min. Change-Id: I8dcdc422f54847940351fae10c74af6301d1e1be Settings: AdaptiveBacklight support Add support for adaptive backlight technologies like NVIDIA SmartDimmer, QCOM CABL or Samsung CABC. Patchset 2: Use internal shared prefs to store the smardimmer setting Patchset 3: Rename to AdaptiveBacklight Patchset 4: Reorganize settings and strings to follow design guidelines Patchset 5: CleanUp Patchset 6: Added suggestions Patchset 7: Sync default value. CleanUp. Depends on http://review.cyanogenmod.org/#/c/48465/ Change-Id: I52cb990f36593b265a00b46a5f63590515822ea5 settings: Add support for SRE * Add support for sunlight readability enhancement * Optionally depends on adaptive backlight, depending on HAL Change-Id: I9ca388ffd68080f0e497edb81d5f8616c194ea1d Cleanup. Now that button and keyboard backlight don't use the HW framework anymore, there's no point in having an abstraction for a single use case. Change-Id: Ib66b2a29a105d53e3ba4273abb06977b132c1fc8
* [ZenMode] Align text to viewStart in remove dialogMaurice Lam2015-07-281-1/+7
| | | | | Bug: 22274462 Change-Id: I696c4b33c111a61b51e1581fd4a2830fc1844f40
* [ScreenLock] Change title for RedactionInterstitialMaurice Lam2015-07-201-1/+3
| | | | | | | Change the title for RedactionInterstital to "Notifications". Bug: 22587892 Change-Id: Ib0e32fa8913924ae74aa412703a5f6234fd62fe4
* Disable notification volume when user restrictedJason Monk2015-07-131-0/+1
| | | | | Bug: 22327825 Change-Id: I892627e00d9ebe2cd67348ce6da3c9c7bc0251fc
* Handle uninstall from notifications listJason Monk2015-07-071-10/+20
| | | | | | | | Don't crash in InstalledAppDetails on invalid app and finish app notification details when the app goes away. Bug: 22311566 Change-Id: I0bb7302dc16dd1a6f3aca152037705ad657d5554
* Handle adjust volume user restrictionJason Monk2015-06-303-2/+34
| | | | | | | | - Finish all do not disturb pages immediately - Disable relevant items in Sounds & notification Bug: 21642285 Change-Id: I8de9bd10b8cea8adaa306b1ae388ab7d1ccc4e7e
* Enforce Keyguard policy in Notification SettingsAlex Chau2015-06-182-35/+100
| | | | | | | | | | | | | | | | | | | - Applied getKeyguardDisabledFeatures for notification settings and notification setup page (after settings a screenlock) - If a notification settings is disabled, the next least secure setting will be chosen - Although KEYGUARD_DISABLE_UNREDACTED_NOTIFICATIONS can be set be profile, it will not be reflected in both settings page. This is because it does not affect the owner (user 0), as mentioned in DevicePolicyManagerService.PROFILE_KEYGUARD_FEATURES_AFFECT_OWNER - Skip RedactionInterstitial if there is <= 1 options for the user - Tested with both Setup wizard and settings case, both pattern and password, as well as toggling the policy on and off Bug: 19307118 Bug: 17099898 Change-Id: If640d5576caa0163e9942569f7b4643a30bbfe0a
* Fix accessibility for empty list on notification accessJason Monk2015-06-171-1/+2
| | | | | Bug: 21797352 Change-Id: I6c68c9abb43c6dfcc8b0a4d07cfe0d4cede6e817
* Settings: Follow frameworks change to volume sliders.John Spurlock2015-06-112-4/+11
| | | | | Bug: 21267436 Change-Id: I72c6411346429ebf428662d1c6d6d8a7529c0d67
* Settings: Update notification listener user prompt strings.John Spurlock2015-06-081-2/+2
| | | | | Bug: 20926937 Change-Id: I85e1e103511155f854478b773ddc45dc88c96c12
* Merge "Settings: Update DND access dialog to new user flow." into mnc-devJohn Spurlock2015-06-081-11/+96
|\
| * Settings: Update DND access dialog to new user flow.John Spurlock2015-06-081-11/+96
| | | | | | | | | | | | | | | | | | | | - Only list apps in the DND access list that have included the corresponding permission in their manifest. - Show a scary user warning before enabling access per app. - Update manifest to follow framework intent action rename. Bug: 21621663 Change-Id: I76c6893928092bdbb58d62bc3aba31ec8a609fc6
* | Merge "Update Setup Wizard redaction interstitial styles" into mnc-devMaurice Lam2015-06-051-2/+6
|\ \
| * | Update Setup Wizard redaction interstitial stylesMaurice Lam2015-06-041-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Adhere to the setup wizard design guidelines for the redaction interstitial shown during setup wizard. Bug: 21561511 Change-Id: Id6c4f0d4b0075b0cbbbb4f8ab77db6f00ea72b70
* | | Merge "Settings: Add zen rule name warning text." into mnc-devJohn Spurlock2015-06-041-3/+16
|\ \ \ | | |/ | |/|
| * | Settings: Add zen rule name warning text.John Spurlock2015-06-041-3/+16
| | | | | | | | | | | | | | | Bug: 21307309 Change-Id: Id08e3bdebb9a87dc474f2551f17268d655c8b4ea
* | | Merge "Settings: Enable "ok" dialog button for no-op changes to existing zen ↵John Spurlock2015-06-041-2/+10
|\ \ \ | |/ / | | / | |/ |/| rules." into mnc-dev
| * Settings: Enable "ok" dialog button for no-op changes to existing zen rules.John Spurlock2015-06-041-2/+10
| | | | | | | | | | Bug: 21307309 Change-Id: Ic7a9cc124e26340e93a08da45c9f1a0043beee76
* | Merge "Fix TTS for Zen mode voice activity." into mnc-devBarnaby James2015-06-031-3/+8
|\ \ | |/ |/|
| * Fix TTS for Zen mode voice activity.Barnaby James2015-05-241-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | Don't finish activity until TTS has finished. Incorrect TTS for mix of hours / mins - e.g. 1 hour 45 minutes. Improve the description of TTS strings for translators. BUG: 20248251 BUG: 21413212 BUG: 21411622 Change-Id: Id2693ea82b76492216147012216ba07ce75a9d12