summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Profiles: remove unused codeScott Mertz2015-12-271-70/+0
| | | | Change-Id: Icfbe90f25f537a673a1b749c217dca9efb6a1c70
* Settings: always allow profile app groups to be linked/unlinkedRoman Birg2015-12-271-4/+4
| | | | | Change-Id: I271d409f925805d26c918d156e8ae41253cc08b1 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Save instance state for app group deletesDanesh M2015-12-271-1/+11
| | | | | | | | | | | | | When deleting an app, inside of an app group in profiles, if the user rotates device while confirmation is showing and presses ok, it is a no-op. Reason is mPackageToDelete loses its state when rotation is change. Address this by persisting it in the state bundle. issue-id: CYNGNOS-1119 Change-Id: I43dd9ccae7e16e92e5ac054f1b2ac0119cbfe60b
* Settings: fix empty Wifi triggers screenRoman Birg2015-12-271-2/+1
| | | | | Change-Id: If6b3a71e0ed28558d74132ddd4594b98bf2955e9 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: make empty profile trigger screens more usefulRoman Birg2015-12-275-3/+129
| | | | | Change-Id: I7e4061615f2bb1c1fabd37c8f5b792b04a99a2c8 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: merge ProfilesList into ProfilesSettingsRoman Birg2015-12-273-189/+92
| | | | | | | | | | | | | | | | ProfilesSettings previously had a viewpager with the profiles list, and an app group list. Then we removed app groups, but the viewpager was left over. The main reason for getting rid of it now is to make sure that refreshList() always works. Previously there was a small chance that because it was in a viewpager, the preference may not have been attached (at the time of the resetAll() dialog being shown and user pressing yes), which caused the refresh method call to fail, since it needs access to the preference screen, which is null at that time. Change-Id: Ib9c3a27e3062660bd8a91998c20c15b4ffb4390b Signed-off-by: Roman Birg <roman@cyngn.com>
* Profiles: Fix override item summary not displaying noneLuK13372015-12-271-1/+1
| | | | | | * Mismerge from cm-12.1 Change-Id: Ica5bce4f1b371dcf2ad23ba8f938d449a9397339
* Hide usb mode chooser dialog after disconnectedDu, Changbin2015-12-261-0/+32
| | | | | | | | | Add a UsbDisconnectedReceiver to listen usb state event, and hide the usb mode chooser dialog if usb disconnected. Change-Id: I871f56cb5a310e20950926180d9747dd9fad9754 Signed-off-by: Du, Changbin <changbin.du@intel.com> Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>
* apn: Update the add actionbar iconDiogo Ferreira2015-12-261-1/+1
| | | | | | The add icon was using pre-L drawables and looked out of place. Change-Id: I4851c41091985ab1eca42e40d56e987262ee0cee
* Automatic translation importMichael Bestas2015-12-25112-0/+37608
| | | | Change-Id: Ib491ce3d4325bd3b562355e6f896149d2df2ddaa
* Settings: Fix the failing stringsMichael Bestas2015-12-251-7/+7
| | | | Change-Id: I93865d793eef711f8738e00e843e9d4670724c66
* Development Settings: fix setting reset on disableThiago Vinícius Freire de Araújo Ribeiro2015-12-231-2/+15
| | | | | | | | | | | When Development Settings are disabled, some settings are reset to values other than the default. This fixes it. - Adb notify should reset to enabled - Verify apps over usb should reset to enabled Change-Id: Ifa1ee25cfab32b7a236e02055006f0d2a4b07f37
* settings: Fix NPE in sounds settings for wifi only devicesChristopher R. Palmer2015-12-231-9/+11
| | | | Change-Id: I98864f29db62d517f0f88560ea62af18a43f585e
* Settings: Fix some settingslion07382015-12-235-7/+7
| | | | | | these settings are moved to CMSettings. Change-Id: I88d78a708b11a02a4987c522dfca41f9aaab1396
* Settings: Fix NFC Tap & pay removalAdrianDC2015-12-231-1/+1
| | | | | Change-Id: I7169c74e445628b56410d5949270d4fa04ba234c Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Revert "Settings: Show Baseband version on MSIM devices"Michael Bestas2015-12-221-5/+2
| | | | | | | | * Not necessary, baseband is already shown without this. This reverts commit 3e2025a54fe23a7a0b541e2ca29b7e38f9ad4610. Change-Id: Ibdf650be1637f8ba75d65379043795d1a52f3ded
* Introduce SystemSettingsCheckBoxPreferenceDanny Baumann2015-12-221-0/+67
| | | | | | | -Originally part of a3342e2 (Add back notification light settings.) Change-Id: I474a14a1b395407f5ca273a5d6a3a7f03f7e4698
* bluetooth: Show a refresh icon on the select devices screenDiogo Ferreira2015-12-221-1/+2
| | | | | | | | The refresh menu is hidden behind an overflow which is pointless. This patch shows the refresh icon if there is enough room. Change-Id: I35f19c42054b05388f7b8fcb82e0f3bd60e2d618
* Settings: Conditionally remove Buttons tile from DashboardBrandon McAnsh2015-12-221-0/+6
| | | | | Change-Id: Iaddd3dd87ea2b0b04e3f312a156a6a25a948d039 Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
* 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: Show Baseband version on MSIM devicesWilli Ye2015-12-221-2/+5
| | | | Change-Id: Ie527e224e2c2197ff5d46abbcf8401439df12472
* Always show band 0 (Automatic)Dave Daynard2015-12-221-1/+4
| | | | | | | | | | | | | | | | | | None of the phones I tested ever displayed Automatic band selection as a choice, probably because no baseband is going to report it supports mythical band 0. Make sure it is always displayed. nuclearmistake's notes: Without this, a wipe is required to set band mode to automatic. If someone in singapore set the their phone to US mode, and was only offered "US" and "Europe" band modes, they would have to WIPE to return the band mode setting to automatic. The enumeration of the modes is slightly less broken after the previous commit, BUT band mode 0 should be in this list... always. all the time. Signed-off-by: nuclearmistake <nuclearmistake@gmail.com> Change-Id: I5082b04ee63a2916941fd1db40762fa990d59583
* Add missing blacklist xxhdpi drawables.Danny Baumann2015-12-224-0/+0
| | | | Change-Id: I327f408ff344e9358c479cf5fe9dc341918511b2
* Settings: respect telephony config for profiles overrideRoman Birg2015-12-212-11/+55
| | | | | | | | Some networks specifically disallow 2G to be selected as the preferred setting. We should respect that. Change-Id: Ic4414ed78c9f38b5c11969300dc858725ee3b2c6 Signed-off-by: Roman Birg <roman@cyngn.com>
* 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 : Show wifi usage tab by defaultDanesh M2015-12-211-1/+1
| | | | Change-Id: I6b479a1c8eaaa1cbbe900614a4de3fde0874156d
* Settings: Move NFC payment under NFC categoryMichael Bestas2015-12-191-6/+6
| | | | Change-Id: I906315a63a05dd152d8f8910c13959cf0091ab50
* Settings: update About screen device model fieldsRoman Birg2015-12-194-4/+20
| | | | | | | | | - Changed "Model name" to "Device model", this queries ro.product.model - Added an optional "Device name" field which queries ro.product.name - The new "Device name" field is disabled by default Change-Id: If837674091b4612124e1eff00e884823be767f47 Signed-off-by: Roman Birg <roman@cyngn.com>
* Power Menu: remove power as an optionDave Kessler2015-12-193-19/+2
| | | | | | | | | This is the only way to power the device off. Also, if the user toggles all the options off an empty dialog will open. Lets make this feature a little more user-friendly and remove power as an optional entry. Change-Id: I10b2d7c844fa40ae9583d3114ec99b0825c21cd9
* Settings: Add some more entries into 'SMS message limit' menukuci2015-12-193-6/+15
| | | | | | | | | * Add None, 5 and 10 entries into 'SMS message limit' menu. * Properly write limit value to Settings.Global * The default SMS limit for Android 4.2.2 upwards is 30 per minute. Update string to reflect the correct time interval Change-Id: I8b206ae6c9f73378da65b09e68898de31439cc59
* Settings: Cleanup ALL the stringsMichael Bestas2015-12-192-61/+24
| | | | | | * Match cm-12.1 Change-Id: I7928655125f360de62c25313d01a228e7cd886b5
* settings: LiveDisplay color profilesSteve Kondik2015-12-184-39/+165
| | | | | | | | | * Add support for using the new DisplayMode HAL, which configures the display for a preset mode. * Clean up the settings a bit, and move advanced stuff under an advanced category. Change-Id: If386c93da99346fbee156b057274b60fd064b49d
* Settings: Utilize frameworks sms prompt interfaces as fallback.Adnan Begovic2015-12-182-0/+11
| | | | | Ticket: CYNGNOS-1440 Change-Id: I0890d5cc25124dc94434216763cb8965986ca4b3
* Settings : Launch demo mode on triple tap of build dateDanesh M2015-12-181-0/+14
| | | | Change-Id: I85341ad7f9c8bba107e26e5e12924906466b0c76
* Settings : Cleanup control media volume toggleDanesh M2015-12-182-14/+1
| | | | Change-Id: I1e887e6a109aa75fcb1d1e74216fceb1cc91ab59
* Settings : Add warning for lcd densityDanesh M2015-12-182-6/+29
| | | | | | BACON-4492 Change-Id: I5f5f9d71b29bef61e39029334f62aa1df2ed48dc
* Settings : Add volume link notificationDanesh M2015-12-183-9/+37
| | | | | | | | | | | | 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
* setings: Fix livedisplay settingsSteve Kondik2015-12-173-14/+22
| | | | | | | | | | | | | | | | | | | | | * Since moving this to internal settings vs. kernel settings, the parameters were wrong and changes set via settings weren't being applied. Fixit. Change-Id: I0676f6069729878b644914abe0ad0bca8a053c9e livedisplay: Add an "off" state * Don't force "day" to be the default state. * Change minimum value for color calibration to 20% so blackout doesn't happen when all sliders are at minimum. * Also improve a few strings to describe what day and night means. Change-Id: Ib2a617488fffb128c8e3e9e52d64fac6b261e53d livedisplay: Fix for multiuser Change-Id: If0ef1da91cf5310308abf08806f7902e25080d2c
* Settings: adapt lock screen visualizer toggleAdrianDC2015-12-172-5/+6
| | | | | | | | | * Do not show the Visualizer toggle for Screen lock : None * Show the Visualizer toggle for Screen lock : Swipe * Add a missing key field (Screen lock : Swipe) Change-Id: I460693201142f0d7d5eb34dea91f4f5db33a00d4 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Settings: Fix the SoundSettings activity and intentsAdrianDC2015-12-162-7/+6
| | | | | | | * Mainly fixes the QS Volume Panel long-press Change-Id: Ie3e15255ba5f9ef9a3702ed28b72daa3e348536b Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Settings: add lock screen visualizer toggleRoman Birg2015-12-165-0/+23
| | | | | Change-Id: I7aaa972ba521bebbef7f47bbe502fb6e4f0c3a6a Signed-off-by: Roman Birg <roman@cyngn.com>
* Allow disabling the privacy guard notification - port from cm-12.1 (1/3)Chirayu Desai2015-12-162-1/+7
| | | | Change-Id: Iebf4545c1a65b10036a4865bae29d14e86b12d07
* Settings: fix mobile network switch being uncheckedRoman Birg2015-12-161-23/+2
| | | | | | | | Sometimes when connected to Wifi, the mobile data switch gets checked off, even though mobile data is enabled. Change-Id: I4d28366f9c7aa63d20b215d39bdcb04f7b6e83dc Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: add dashboard switch view for sw600dpRoman Birg2015-12-161-0/+8
| | | | | Change-Id: I19797bc2b05539700ab4f3e8bf960fc37047d448 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: move double press power for camera to button settingsAltaf-Mahdi2015-12-164-42/+36
| | | | Change-Id: Ie59e499c2df2129bf1942bfe95e5724579832336
* Settings: add switches for dashboard itemsRoman Birg2015-12-1514-98/+451
| | | | | Change-Id: Ibff81510270745807a4b133457d60d47dd629df6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Remove status bar weather entryDanesh M2015-12-152-10/+0
| | | | | | This has moved to quick settings config panel Change-Id: I23a83abb88d813aa1631480841d386831abeaa6c
* Settings: Fix up management for wifi priority.Adnan Begovic2015-12-145-10/+49
| | | | Change-Id: I3a173caf6eb2cf7f602071851afe9828cda01ca2
* Settings: Ignore externalIndex if its greater than dash category size.Adnan Begovic2015-12-141-1/+2
| | | | | | | Otherwise you end up with a index out of bounds exception when the tile is to be added. Change-Id: I4ae6d7a3a89c1119962bc174c775a03ae382bc9b
* Settings: make (more) dashboard icon color consistent.gabriele2015-12-123-6/+6
| | | | | | Changed new icons such as Sounds icon and those I didn't see before. Change-Id: Ibaf0002c60c02bb77d04d754c0e4e97e6c3222bd