summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Settings: Map to new Secure Setting for Stats Collection.Adnan Begovic2015-11-231-4/+4
| | | | Change-Id: I7de094ed9d0621f8744f8fb6236ae0085832d7ca
* Settings: Migrate stats opt out to global settings.Adnan2015-11-233-6/+36
| | | | | | Control newly introduced global setting Change-Id: Iea22206cd8ac8bf7d45e4b7dabfb9f0d1e602e0e
* Use SSL for submitting statsChris Soyars2015-11-231-1/+1
| | | | Change-Id: If830c05ee121d3951ffcf34cd3bbd499c5107f1d
* ReportingService: Fix service startupRicardo Cerqueira2015-11-232-2/+20
| | | | | | | Turns out the service wasn't starting at all until someone looked at the data, so no reports were being sent for CM11... Change-Id: Ib64ddbed4e0cae9c2f71d6c0c79f8081d6f15301
* Settings: Update Anonymous Stats Implementation.Adnan Begovic2015-11-234-104/+9
| | | | Change-Id: I0347b4401563acff1a9f488cde5d53bb76b02c10
* Settings: Anonymous Statistics (CMStats)Danesh Mondegarian2015-11-2316-0/+647
| | | | | | CMStats is now integrated into settings. Change-Id: Ice1b2c0c4882620eef774aca26b91a39d27f7b47
* apn: Update the add actionbar iconDiogo Ferreira2015-11-231-1/+1
| | | | | | The add icon was using pre-L drawables and looked out of place. Change-Id: Icd2a522590b3ed01da99d8b1dc093019b5f46218
* Use Theme.SettingsBase for notification logLuK13372015-11-233-6/+20
| | | | Change-Id: I9241eb308926048ab4b59c63a4aa3d8c7f3a3209
* Only use device custom icon if it provides oneKeith Mok2015-11-231-2/+4
| | | | | | | | | | | | In function updateTileToSpecificActivityFromMetaDataOrRemove it tries to get devices specific icon from the meta data and set the iconPkg to the device specific package without checking the device actually provides one. This override the Settings default icon whatever the device specific icon is provided or not. Change-Id: I5d973617948a5dae0c7c1797f6f2b6bd7787a75a
* Settings: update layoutsjrizzoli2015-11-229-62/+89
| | | | | | | | | | | | | | | | | | | 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>
* Add isSupported() method to VibratorIntensity classSam Mortimer2015-11-192-1/+6
| | | | Change-Id: I801af80f7b1e15954c50f6f9c5eca4f31f949575
* Settings : Update settings reference for powerButton/bugReportDanesh M2015-11-172-9/+9
| | | | | | | Switch INCALL_POWER_BUTTON_BEHAVIOR and BUGREPORT_IN_POWER_MENU to Settings reference Change-Id: I0a14e8b1a667e3922540a77479bfc1932cad7130
* Settings: Buttons: remove all camera button preferences if unsupportedScott Mertz2015-11-171-6/+8
| | | | Change-Id: Ib32263eabb2608b4324d756affd311dfb8dfc5bb
* Expose "ALL" hardcoded and @android colorsBryan Owens2015-11-1718-34/+48
| | | | | Change-Id: I8ef92ae66d4828ca85d624a300ef7cf29f7367d8 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-164-43/+89
|\ | | | | | | git://codeaurora.org/platform/packages/apps/Settings into cm-13.0
| * Merge "Bluetooth: PBAP: Add support for PBAP UI preference"Linux Build Service Account2015-11-071-14/+19
| |\
| | * Bluetooth: PBAP: Add support for PBAP UI preferenceHemant Gupta2015-11-051-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pach adds support for PBAP UI preference in SettingsLib. Without this change it is not possible to properly use the pbap checkbox preference from Bluetooth subsettings menu. Also some map profile specific bug fixes are also incorporated in this change. Change-Id: I4981aa063b2541b58ce1d36e3576578cbeb02acc CRs-Fixed: 758697
| * | Merge "Wifi: Select SIMcard number based on index instead of displayname"Linux Build Service Account2015-11-071-4/+1
| |\ \
| | * | Wifi: Select SIMcard number based on index instead of displaynameSravanthi Palakonda2015-11-061-4/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The selected SIMcard number is saved to configuration based on display names, while doing EAP authentication using SIM/AKA/AKAPRIME. This leads to selecting wrong SIMcard number if the display names of SIM cards are same.This commit ensures to select SIMcard number based on index instead of SIM display names. Change-Id: Ic48af29428b49b9302cd136aae6bf88aa53521bc CRs-Fixed: 934268
| * | Merge "SimSettings: Cellular Data Preference"Linux Build Service Account2015-11-071-24/+63
| |\ \
| | * | SimSettings: Cellular Data PreferenceBeena More2015-11-051-24/+63
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | DDS switch triggered in an active CS session will fail PS attach on the sub to switch to. Fixing this by disabling cellular data prefrence when call state is not idle. Change-Id: I0a771e65d1e96835996b7f97ead37f4e864872eb CRs-Fixed: 757906, 915638
| * | Settings: Set the default protocol as "PROTOCOL_IPV4V6" when createdjianzhou2015-11-041-1/+6
| |/ | | | | | | | | | | | | Set the default protocol as "IPV4V6" when created, take it as a common requirement. Change-Id: I3564c499a1a8898c1b9b13a7ef631a51e02c4457
* | Multiple LEDs [2/3]: Illumination Bars supportAdrianDC2015-11-163-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-163-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-163-5/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 restoring DEV_FORCE_SHOW_NAVBAR setting on bootAltaf-Mahdi2015-11-161-2/+2
| | | | | | | | Change-Id: Ic6014149aed4367561c011c485c528dbd13289ad
* | Revert "Fully deprecate Power Control widget."Ethan Chen2015-11-161-3/+3
| | | | | | | | | | | | This reverts commit d12748d6351aa2c043c75c1be29bff1c31681278. Change-Id: I379a920129d1c87a9d1390d27a21189dc5a7b790
* | Fix profiles toggleLuK13372015-11-162-4/+160
| | | | | | | | | | | | * Also implement CMBaseSystemSettingSwitchBar used for it. Change-Id: I1109cf06066a6c5f57044a484b0af6bbb38dc1b1
* | ProfileGroupConfig: Use correct metrics categoryLuK13372015-11-161-2/+3
| | | | | | | | Change-Id: Ieedeaf03a3ba8246a643bfb9003c45f25b4facf5
* | 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: Fix merge collisionSteve Kondik2015-11-131-2/+0
| | | | | | | | Change-Id: I6cfb35e3d2b58a0ea7f79f2d400544d3baec6178
* | privacy: Actually set the blacklist preferenceDiogo Ferreira2015-11-1332-150/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The preference was not being set, which caused this code to throw an NPE on devices without telephony when opening the privacy preferences. This bug also affects devices with telephony in that the preference doesn't update its text. I also got rid of the null check because the preference always exists, the null check is pointless and ended up hiding this bug. Change-Id: I95555d44349700a8f29a71a2f2ee9aedf419b49b Settings: Fix blacklist settings crash Change-Id: Idd261aa9f8e2867312aaaece26150671b177994c Settings: materialize Blacklist settings * Add a FAB * Add a (generic system) enable/disable switch bar Change-Id: I0984bf6769abef48cc7e0a643c2bdd73219954fc Signed-off-by: Roman Birg <roman@cyngn.com> Settings: add a way to open blacklist settings externally Opening the activity doesn't theme the switch bar - an alias works. Change-Id: I78efb382f4f1f4d208f122fedb0d71a86b515405 Signed-off-by: Roman Birg <roman@cyngn.com> blacklist: make it possible to unblacklist phone/messages via checkboxes Change-Id: I7d982d17818efe065e4e22f2a86a46493672584a Settings: fix blacklist settings crash On a device rotate, the MultiSelectListPreference would try and restore its state since the preferences aren't persisted. Clear the persisted flag so the MultiSelectPreference doesn't try and restore the states, as they get populated in onResume(). Change-Id: I0d0304e2367ade66e35ae7df432575d13ed0993e Signed-off-by: Roman Birg <roman@cyngn.com> Settings : Update blacklist strings Change-Id: I08ea4405f41f86a9eaf7bae74cbb61fa1fb0c8aa (cherry picked from commit 6d8cc2c697752a1357915ea88651b2fe220a54ba) Settings : Add input checks for blacklist input There can be situations where user enters invalid input. Ensure that is handled. Repro : 1. Add new blacklist entry 2. Enter / 3. Press ok 4. Enjoy crash issue-id: CYNGNOS-980 Change-Id: Ica90ac835f374569123e679ba39c3caa7179ef65 Settings : Fix blacklist delete number crash issue-id : HAM-795 Change-Id: I25306b3d4bead5487f039c3f51b631b1ef88b18d
* | Move Blacklist and Notif Filter to PrivacyAbhisek Devkota2015-11-1310-102/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Match CM 11 Change-Id: I5e3f9c26b68a89ba1622d95e2d0e4f4a93361c5e Cleanup Security/Privacy settings code Cleanup: * Mismerges * Code style * Copyright headers * File permissions Change-Id: I6c34586680f0ccbaa613a0acfee366113c32a81c
* | Add back blacklist settings.Danny Baumann2015-11-1337-3/+1312
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iae35717acfa9af4da75c07d24352acf981d19fc7 Improve translatability of summaries. Change-Id: I362b335cbe219d6e371a458c9d50fcd66bdf19fe Settings: Alert user when they attempt to add an invalid number to BL. - BlacklistProvider will reject numbers that aren't valid, silently. So instead of resuming to a blank screen, we should alert the user that the number they attempted to add is invalid by utilizing BlacklistUtils#addOrUpdate method. Change-Id: I1ca32427baad41c1c9379e18046e6ca7937b6d32 Add missing blacklist xxhdpi drawables. Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2 Blacklist: Fix launching blacklist settings Change-Id: I0043503e6ac0d3536941394ee5057001b72f9114 Settings : Launch only contacts picker for blacklist entry Change-Id: I266d1ad7f1aab745728b33490268cb197188f2b3
* | Settings : Filter spam notificationsDanesh M2015-11-135-0/+340
| | | | | | | | Change-Id: I4056aceada3cf8397827037bcb52388de9f8b9fc
* | Forward port SMS rate limit settingRoman Birg2015-11-134-0/+65
| | | | | | | | Change-Id: Ie8fea98e9e24b0f6302eaed22af9241f85ca965a
* | add Voice Wakeup switchRoman Birg2015-11-139-0/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Requires CYNGN package to do the actual work. Change-Id: I1c129adf1104dd95d3afb76224af4c9ba2b5db96 Settings: Fix build error after 70f60fa685b1eae960fe3bb25cc85bef9361e288 Change-Id: I6e83391e02fd0e6dc0d050d5a9a7dd6816a1910b Settings: Update voice wakeup icon Change-Id: Ie75e8a41f69097384f3d2eec2503ae4cfe6a2a0b Settings: Hide voice wakeup category when package isn't present Change-Id: I33a34a56b3a1d1ad04b07bde4aec6c3c230fc297 Add metrics category for VoiceWakeup Change-Id: I101729d964f9aca032a9899917b59a035c299ecf
* | Settings: Move Global settings to CMSettingsd34d2015-11-122-20/+20
| | | | | | | | Change-Id: I73e3477ccc3c804de0f32974d926e6bc9df9b227
* | Settings : Move System settings to CmSettingsDanesh M2015-11-127-55/+48
| | | | | | | | Change-Id: Id8d5e36c0a61b93d8785a7b9b88a7829c37f66a5
* | Settings: Move Secure settings to CMSettingsd34d2015-11-115-42/+45
| | | | | | | | Change-Id: If2e4f1e44b448c953f6fb1f3a0689b73cc3958c0
* | Settings: Move NAVBAR_LEFT_IN_LANDSCAPE to CMSettings.Adnan Begovic2015-11-111-1/+1
| | | | | | | | Change-Id: I2a741c29c5ca9be5990bf21fd63a4272199b2074
* | Settings: Move RECENTS_SHOW_SEARCH_BAR to CMSettings.Adnan Begovic2015-11-111-1/+1
| | | | | | | | Change-Id: If5f6a31bdf2799ee1e760ee629a50a6764b32db2
* | Settings: Add option to disable search bar in recents (1/2)Yashar Ahmedizadeh2015-11-112-0/+9
| | | | | | | | | | | | | | | | Coded from scratch by yashade2001. Firstly written for Project D.I.S.C.O. ROM. Thanks to TheMrcool212 for his help. Change-Id: I8a7665e7c796a584baf0e457b09f9a5af62439cd
* | Settings: Move STATUS_BAR_SHOW_WEATHER to CMSettings.Adnan Begovic2015-11-111-1/+1
| | | | | | | | Change-Id: I0aca258644522a87f4251472b5e34e6a3f95ea06
* | Settings: add "Show weather" toggle for status barRoman Birg2015-11-112-0/+10
| | | | | | | | | | Change-Id: I316eee4fd21f587c033f6fa90558957c3bd58c1d Signed-off-by: Roman Birg <roman@cyngn.com>
* | Settings: Move DOUBLE_TAP_SlEEP_GESTURE to CMSettings.Adnan Begovic2015-11-111-1/+1
| | | | | | | | Change-Id: I1fcfdeeb2a6d7b53ce338560eac6aaa23df4aacb
* | Settings: Move LiveDisplay settings and resources.Adnan Begovic2015-11-113-32/+36
| | | | | | | | Change-Id: I356f7d8ce22bfd094a8aa17c73ee2cedb79f8db7
* | Settings: Forward port long-press-back to kill app (1/2)Danesh Mondegarian2015-11-113-2/+31
| | | | | | | | | | | | PS4: Switch instead of Checkbox Change-Id: I60f4b95eb9cc2ef6cf73a5f9317bca066e6bb901
* | Settings: Squashed commit for expanded desktopKyrylo Mikos2015-11-1117-2/+1096
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Settings: Bringup expanded desktop and implement per-user configuration. Change-Id: Ib673d278d23423fe6885c73f1eb3dd858633e5b6 Settings: Don't load per-app extdesk into memory if not USER_CONFIGURABLE. Change-Id: Iae4857e0cd95d75ae29222bb45a8fdcf0ff1ec48 Settings: Only save settings on destroy if we're user configurable. Change-Id: Ie459053b4614f818dfa19948709a3dd0fdb8f427 Settings: Fix off-by-one SectionIndexer in Expanded Desktop. Change-Id: I7bdd1081114b40cc2ab6372d16bb247401f83a86 Settings: Create default expanded desktop style fragment. Change-Id: Ia5bebb45a953c2a8efdffbab2ddcbfa3d3c3d486
* | Settings: Match pulse speed to frameworks defaultMatt Mower2015-11-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | frameworks/base defines default LED timings: config_defaultNotificationLedOn = 500 config_defaultNotificationLedOff = 2000 The LedOff timing of 2000 does not match any of the timings in the array of notification_pulse_speed_values. So, a clean installation of CyanogenMod results in an initial value of the notification pulse speed being shown as "Custom". Reduce 2500ms in the pulse length and speed arrays to 2000ms. Then, the default values for a new installation will be: length = Short, speed = Slow. This does have the side-effect of causing existing installations which use 2500ms for either pulse length or speed now appearing as "Custom". Change-Id: Idae42db93a0a329f33d6df6501427b509bc99272