summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* | Fix up remove Wakeup preferencesfuzz2013-06-141-6/+6
|/ | | | | | | | | | | | Follow the bug fix addressed in http://review.cyanogenmod.org/#/c/43544/ This fix the issue both Home key wake and Volume rocker wake preferences will be displayed if either of them activated in device config. If both of them are not activated it looks fine because eventually Wakeup category itself removed,though. Change-Id: I28b7b45d209c3beb9559ed9e7b89612bf8df8bab
* [1/2] Permit home button wake to be configurableSam Mortimer2013-06-121-3/+30
| | | | | | | To activate, enable bool config_show_homeWake in device overlay/packages/apps/Settings/res/values Change-Id: I00afe89ba5bf36d74b93a40b9d15eef2e805611f
* Settings - add an AlertDialog before to delete APN to avoid failsMatthias2013-06-101-2/+12
| | | | | | | | | patch 1: fix blank space patch 2: remove FR translation and change NegativeButton string patch 3: improve the NegativeButton (thank you, David) patch 4: remove create() Change-Id: I3361d4160a7e1c4eaee094f08c7d212f71e9e0e7
* Utils : Fix tablet orientation logicDanesh Mondegarian2013-06-081-9/+10
| | | | | | | | Tablets have orientations for portrait reversed, this commit addresses it. Add in a few more orientation-aware safety checks to circumvent certain devices whose default orientation does not match their device type. Change-Id: Idc627e687ca61ab29f08433664bf77148424bd6d
* Settings: Add support to enable/disable Electron Beam (2/2)DvTonder2013-06-021-0/+15
| | | | | | | Parts were brought over from CM9 but not all of it. This completes the port. Change-Id: I5ebfab22e68ea34e3babfaacd9c8103e25932d3d
* Merge "Notification Light: Fix apps with same name not showing up" into cm-10.1David van Tonder2013-05-301-136/+137
|\
| * Notification Light: Fix apps with same name not showing upJens Doll2013-05-291-136/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applications with the same name didn't show up in the notification light add-app-dialog (with Facebook's "Messenager" and Google's "Messenager" being the prominent example here). This happend due to the fact that the list of applications was sorted by names only and inserts with collisions were dropped. This commit refactor notification light settings to use packages instead of application semantics. Further the list of packages is now ordered by human readable name followed by package name, which avoids the collision. Additionally we handle situtations gracefully where a package has more than one launcher activity (Again for example, Google's "Messenger" and "Google+" is in the same package). Bonus: potential race condition in the list adapter was fixed, concurrent semantics were emphasized, unused imports removed. Change-Id: I87ad32f535ca866883df337432d1b0cecc9485a8
* | Merge "ProfilesSettings : Allow nfc override (2/2)" into cm-10.1Danny Baumann2013-05-291-3/+12
|\ \
| * | ProfilesSettings : Allow nfc override (2/2)Danesh Mondegarian2013-05-201-3/+12
| | | | | | | | | | | | | | | | | | Allow user to override nfc state via profiles Change-Id: I2a401f17ce42b1711588242e0604997e1f5d8399
* | | Merge "Pie controls: Tweaking UX for pie service (2/2)" into cm-10.1David van Tonder2013-05-281-0/+24
|\ \ \
| * | | Pie controls: Tweaking UX for pie service (2/2)Jens Doll2013-05-241-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the Settings application part of the user settable activation sensitivity patch for pie controls. For the complete message look at the commit in frameworks/base. Patch Set #3: * Enabled "Very High" * Changed title from "Sensitivity" to "Responsiveness" * Display summary Patch Set #4: * "Very High" -> "Very high" Change-Id: I99fbbc94c75b64121fd04ff5deb8f5a10a04a63b
* | | | Merge "Allow changing auto-brightness responsitivity." into cm-10.1David van Tonder2013-05-281-0/+48
|\ \ \ \ | |_|_|/ |/| | |
| * | | Allow changing auto-brightness responsitivity.Danny Baumann2013-05-261-0/+48
| |/ / | | | | | | | | | Change-Id: Icf62db26735f9ab7ad63e750a1824eb7823c3d70
* | | Merge "Clean up CMStats code." into cm-10.1Danny Baumann2013-05-275-185/+191
|\ \ \ | |/ / |/| |
| * | Clean up CMStats code.Danny Baumann2013-05-235-185/+191
| |/ | | | | | | | | | | | | Besides the cleanup, make sure to wait a bit between retries if upload fails for whatever reason. JIRA:CYAN-1187 Change-Id: Ifca8364721007aadef31b328d22d764ef7cb3b0a
* | Navbar : Lock current orientation in edit modeDanesh Mondegarian2013-05-202-1/+36
|/ | | | | | | Freeze current orientation during edit mode. Jira : https://jira.cyanogenmod.org/browse/CYAN-1117 Change-Id: I61a852855b70011291a242f3068f67336ba61131
* Fix entering navbar editor in expanded desktop mode.Danny Baumann2013-05-171-51/+37
| | | | | | | Uses the new system UI visibility flag to show the navbar in expanded desktop mode. Change-Id: Ia515b3c5a73d0741c3aad5421c9ac46d9876c177
* Update stats URLs to use cyanogenmod.orgChris Soyars2013-05-132-3/+3
| | | | | To keep things consistent, stats should be reported through stats.cyanogenmod.org, not stats.cyanogenmod.com.
* QuickSettings : Fix layoutDanesh Mondegarian2013-05-122-80/+117
| | | | | | | | Make layout more inline with framework. Scale appropriately on larger devices. Adjust columns according to orientation/device type Change-Id: I20872a42344936b0643a7eff0007c50aaaa5fdd6
* Option to use volume keys to control media volume anytime (1/2)Pawit Pornkitprasan2013-05-071-0/+19
| | | | | | | | | | Some users don't adjust ringtone volume often (e.g. only use toggle to switch between silent and non-silent) mode. Having an option to use the volume keys to control media volume anytime allows media volume to be controllled/muted before entering a game or other apps with sound in an undesirable location. Change-Id: I6dbd25d1a14bcf5b1bf0b0468b96f4b4f8efdb14
* Colour picker text input field: wrong content due to alpha channel.Darren Salt2013-05-062-6/+21
| | | | | | | | | The field was, effectively, showing AARRGG instead of RRGGBB due to the alpha component being non-zero. This change fixes that in a generic way which allows for alpha channel handling even though I see no use for the alpha channel for the notification light. Change-Id: I5b71340f3b644c6f6b305dc66d1285cc77427bf5
* Development Settings: fix setting reset on disableThiago Vinícius Freire de Araújo Ribeiro2013-05-051-8/+16
| | | | | | | | | | | | | | When Development Settings are disabled, some settings are reset to values other than the default. This fixes it. - No need to have resetAdvancedReboot(), as it is already reset by the "unckeck all checkboxes" logic. - Adb notify should reset to enabled - Verify apps over usb should reset to enabled Change-Id: If5d88d220d2a17d6e172b2f54facd4afa3bae904
* Make menu item title and help text consistent.Danny Baumann2013-04-291-1/+1
| | | | Change-Id: Ia14fbb200fbc19bcdc654bd542dbe3ba15fbf6ea
* WLAN configuration (static address): reject IPv6 addresses.Darren Salt2013-04-281-4/+15
| | | | | | | | | | | | | | | | | | | Without this, entering an IPv6 address as the interface address (or possibly also others, such as gateway address) will, on connection to that WLAN, trigger an uncaught exception: *** FATAL EXCEPTION IN SYSTEM PROCESS: WifiStateMachine java.lang.IllegalArgumentException: command '59 interface setcfg wlan0 2001:db8::ffff 24 up' failed with '501 59 Flag unsupported' at com.android.server.NetworkManagementService.setInterfaceConfig(NetworkManagementService.java:546) at android.net.wifi.WifiStateMachine$ObtainingIpState.enter(WifiStateMachine.java:3449) at com.android.internal.util.StateMachine$SmHandler.invokeEnterMethods(StateMachine.java:958) [etc.] followed by a restart of the UI then another connection attempt. So long as the misconfigured-for AP is present (and preferred?), this will continue to happen. Change-Id: I524480339c37ad079fd21d90a6b1fc5864089cb5
* Merge "Check if the Activity is finishing before showDialog()" into cm-10.1David van Tonder2013-04-281-1/+2
|\
| * Check if the Activity is finishing before showDialog()Tony Guo2013-04-281-1/+2
| | | | | | | | | | | | | | | | Check if the Activity is going through its finishing phase before displaying the Dialog, because Showing dialog once the activity is no longer in context will cause BadTokenException. Change-Id: I58940e694f61cd79536abe2df60a0b745a7b806f
* | Merge "Fix NullPointerException at RunningState" into cm-10.1David van Tonder2013-04-281-0/+6
|\ \ | |/
| * Fix NullPointerException at RunningStateJohan Redestig2013-04-281-0/+6
| | | | | | | | | | | | | | | | | | getServiceInfo returns null if you have a service defined in the manifest as: <service android:name=".Xxx" android:exported="false" /> or and in an <application> with no label or icon. Dont crash the Settings application because of that. Change-Id: I6f9f69c130e610b7e4ab66426177b7bade1e1515
* | Fix dialog not opening for app-specific notification light settings.Danny Baumann2013-04-282-66/+31
|/ | | | Change-Id: I8e8d098bcc07824803b9e9931595f5c4fdbabb7b
* Fix light settings dialog being unusable in landscape.Danny Baumann2013-04-262-3/+5
| | | | Change-Id: I38eeeafd1d8260ab4a7c8de9099a7e270c1462f2
* Fix dialog state handling.Danny Baumann2013-04-252-42/+51
| | | | | | | | | Convert ApplicationLightPreference into a DialogPreference to correctly manage the dialog lifecycle, e.g. when rotating the device. Also save the user-defined color in case the dialog was open. Change-Id: Ife00e1c4737fbf6710ccdaa1252def00f2831af3 JIRA:CYAN-914
* Merge "Power sound notifications: fix ringtone picker title" into cm-10.1David van Tonder2013-04-221-0/+2
|\
| * Power sound notifications: fix ringtone picker titleSam Mortimer2013-04-191-0/+2
| | | | | | | | Change-Id: Ied0a08ec1607b778324e69a7b40bac056235bebf
* | Fix NPE in Settings -> Language & input -> Default -> Setup inputDanny Baumann2013-04-211-4/+5
| | | | | | | | | | | | | | | | | | | | | | methods If the InputMethodAndLanguageSettings fragment is launched in IME-only mode, it removes most preferences, so we need to null-check them before use. Change-Id: I297cc9c6885f62ed6ff65937ef5da401ab7cd271 JIRA:CYAN-896
* | Settings: Broadcast ACTION_DATE_CHANGEDJorge Ruesga2013-04-211-0/+6
| | | | | | | | | | | | | | Send ACTION_DATE_CHANGED when user change the format of the date Change-Id: I89ef0354ae2b0825378a6e8939341c4eccf63e17 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | CMStats: fix up the logic and potential sync failuresKoushik Dutta2013-04-202-26/+23
| | | | | | | | Change-Id: I69e32941f5b873fdfc30dd73370db821983effe7
* | Merge "Led Settings : Hex input for colorpicker" into cm-10.1David van Tonder2013-04-202-11/+58
|\ \
| * | Led Settings : Hex input for colorpickerDanesh Mondegarian2013-04-192-11/+58
| |/ | | | | | | | | | | Allow users to specify hex color codes Change-Id: I644b624d569e5c2fbb0fc48683c73041b4193d27
* | Correctly restore brightness customize dialog hierarchy.Danny Baumann2013-04-182-143/+395
| | | | | | | | | | | | This is especially important when rotating the device. Change-Id: Iaf1ceb46943e9d0a171d6a75d3d446dbec205095
* | Improve brightness curve previewDanny Baumann2013-04-181-24/+28
|/ | | | | | | - Avoid log spamming - Add a little margin around the grid so outer control points aren't cut Change-Id: Idb6cd2773186f9e7011486dc62f21e2fab85e245
* Overhaul auto-brightness level UI.Danny Baumann2013-04-182-88/+512
| | | | | | | | | | | | This changes a few things: - Don't imply a 'bucket' type of algorithm is used by showing an ambient brightness range for each line - Allow manually entering the screen brightness - Add a preview window for the cubic spline interpolation - Add a help text JIRA:CYAN-612 Change-Id: I64274280872b9fe4f6fdc368d654aca81e0a4e0c
* CMStats changes.Koushik Dutta2013-04-163-46/+16
| | | | | | | | | | | | Remove the notification on boot. Users are thinking they need to opt out to get rid of the notification. The setting to opt-out still exists in the Settings app. If the user does not opt out within 'tFrame' time (1 day), the checkin service will now run; prior to this, the checkin service would not run until the next reboot. That next reboot could occur within a few minutes (startup crash, which then automatically checks in before the user has a chance to opt out) or even the possibility of never. This is unpredictable and buggy. Change the checkin frequency from 7 days to 1 day. Change-Id: I66a26a6c200710146c0de3832253417fae557e52
* [2/2] Power connect/disconnect notification supportSam Mortimer2013-04-151-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/ patchset 3: set settings persistence and dependencies in xml resource file shrink long lines add the default notification tone to the ringtone picker and remove the now redundant "use default" checkbox move values/strings.xml content to the cyanogenmod section improve (mostly delete) wording in values/strings.xml remove tab whitespace patchset 5: move strings to cm_strings patchset 6: make vibrate optional (default on) change heading text: power notifications -> power sounds patchset 7: hide vibrate option if hw capability doesn't exist patchset 8: change vibrate to default to off Change-Id: I7ddd8a47ae4f9a62c586023d151ac42bbe8424c7
* Merge "QS/PW: Check for mobile data instead of telephony permissions (2/2)" ↵David van Tonder2013-04-153-7/+8
|\ | | | | | | into cm-10.1
| * QS/PW: Check for mobile data instead of telephony permissions (2/2)Brandon Bennett2013-04-153-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For QuickSettings and Power Widget check if there is ConnectivityManager.TYPE_MOBILE network avaialbe directly instead of relying on a checking for the PackageManager.FEATURE_TELEPHONY permission. Some devices like tilapia (Nexus 7 GSM) has mobile data but does not set the telephony permission. Patchset 2: - Have power widget use the same logic as quicksettings to check for mobile data Change-Id: Ibe8059aaa5f3bd1e72e958608a34e89abfd0ad4a Fixes: CYAN-803
* | Merge "Fix: Don't display the lock clock preference if its not installed" ↵Danny Baumann2013-04-154-41/+26
|\ \ | | | | | | | | | into cm-10.1
| * | Fix: Don't display the lock clock preference if its not installeddh-harald2013-04-144-41/+26
| |/ | | | | | | | | | | Removed duplicated codes Change-Id: Ib7d54dfc33c6a66711799bbdf44212d287221ae9
* | DataUsageSummary: fix mobile data usage display for GSM devices with no numberPawit Pornkitprasan2013-04-141-7/+13
|/ | | | | | | | | | Some providers don't write phone number onto SIM card causing the phone number check introduced in the partially reverted commit to fail. Re-introduce the original check with the "or" condition. This partially reverts commit 4c51b45355b9d6fed973f946738bf455a8b7c9ea. Change-Id: I69a65a1a421dcdf168c3d0afeb7110cb97790034
* inputmethod: Fixup remove stylus preference for non stylus devicesfuzz2013-04-131-3/+8
| | | | | | | | | | | This commit included following changes * Move show stylus icon checkbox to Pointer Settings Category * Fixup issues stylus preference doesn't remove if not supported * Improve the code remove stylus preference if not supported * Remove an unnecessary variable introduced on http://review.cyanogenmod.org/#/c/33774/ Change-Id: I0f2e1b5cda00033915bb25902ce970f9eda52048
* DataUsageSummary: fix mobile data usage display for sim-less devicesjt11342013-04-131-5/+5
| | | | | | | | - Don't assume the device has a sim card. Check for a phone number instead. Otherwise the mobile data usage screen will not show up on sim-less CDMA devices. Change-Id: Ic6e35dc209ff05e0c89dc990ad82f4ab4d3f337d