summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Wifi: Add frequency selection for new IBSSBruno Randolf2013-04-134-7/+55
| | | | | | | Allow users to select a frequency for newly created Ad-Hoc (IBSS) networks, and show the frequency for existing IBSS. Change-Id: Icaa09c9386967fdf0a88865ff2e64cc9b219da1f
* Stylus gestures features (2/2)masiullah2013-04-122-0/+228
| | | | | | | Forward-port of https://github.com/CyanogenMod/android_packages_apps_Settings/commit/b3d850521e0042b85422903c70130f350f57b87a to CM-10.1 Change-Id: I0ab78f1129d2d04b0af21e9b38da027dfe3d1295
* Merge "Settings: rotation settings for devices with hardware rotation lock" ↵Ricardo Cerqueira2013-04-111-3/+10
|\ | | | | | | into cm-10.1
| * Settings: rotation settings for devices with hardware rotation lockPawit Pornkitprasan2013-04-081-3/+10
| | | | | | | | | | | | | | | | All settings would be disabled on devices with hardware rotation lock due to dependency setting. Disable dependency to allow setting swap volume and rotation degrees on those devices. Change-Id: Iee0532902d59fa80666e17b3853db8e3d7ed5ddc
* | QuickSettings : Use stock layouts / fix userTileDanesh Mondegarian2013-04-073-24/+42
|/ | | | | | | | Switch over to using 2 layouts (one generic, one user tile), just like how aosp does it. This way the tiles look similar to their SystemUI counter part. Change-Id: I8640c99602b056fb48b37f516c23c16555a2ba2a
* Settings: Add Expanded desktop tile in QuickSettings (1/2)xavihernandez2013-04-043-7/+15
| | | | Change-Id: I42a7182859bd028c2e93f0c2fe0b6b5dee404cfa
* Merge "Correctly remember MAP access selection." into cm-10.1Danny Baumann2013-04-043-37/+62
|\
| * Correctly remember MAP access selection.Danny Baumann2013-04-033-37/+62
| | | | | | | | | | | | | | | | | | Previously, the MAP access notification used to pop up on every BT connection. 'Don't ask this again' didn't work. Fix that by correctly remembering not only the PBAP access selection, but also the MAP access selection. Change-Id: I8fb9bedc02f696c9247861eb57ad64c4a8f5f6fa
* | Merge "Profile: respect DPM when overriding screen lock (2/2)" into cm-10.1David van Tonder2013-04-031-0/+8
|\ \
| * | Profile: respect DPM when overriding screen lock (2/2)Pawit Pornkitprasan2013-04-031-0/+8
| |/ | | | | | | Change-Id: Ia0c2b51cfa35e47328a68366964f231e2bb7ebfa
* | Merge "Settings: Separate Expanded desktop from Power menu settings" into ↵DvTonder2013-04-032-77/+89
|\ \ | | | | | | | | | cm-10.1
| * | Settings: Separate Expanded desktop from Power menu settingsDvTonder2013-04-032-77/+89
| |/ | | | | | | | | | | | | | | | | | | This commit separates the ability to configure the Expanded desktop mode from the ability to enable the switch in the Power menu. This will allow for the ED Tile to be hidden if the feature is disabled and the power menu entry to be removed if the user chooses to use the Tile instead. Change-Id: I3d2eabde8087d25940cbb1e5262086b9c6e291f1
* | Merge "Settings : Fix accessibility shortcut" into cm-10.1Danesh Mondegarian2013-04-031-2/+13
|\ \
| * | Settings : Fix accessibility shortcutDanesh Mondegarian2013-03-311-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Shortcuts like accessibility, have preferences with titleText rather than titleRes as their title. Settings only had a override for titleText, which caused preference screens inside accessibility to not work. This commit addresses that. Reproducable via : 1. Create a settings accessibility shortcut. 2. Launch shortcut and try to open an of the services Expected behaviour : Appropriate ToggleAccessibilityServicePreferenceFragment should open Observed behaviour : Same Settings instead gets relaunched instead Change-Id: I89b7539672cd7278d51f9e88bac1948669940e59
* | | QS: Add dock battery tile (2/2)Jorge Ruesga2013-04-031-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a dinamic tile for devices with dock battery Requires http://review.cyanogenmod.org/#/c/33999 Patchset 2: Rebased Change-Id: If6c49a5277899997717f5a3af8ed3ad5bbb30b67 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* | | Merge "Settings : Toggle expanded desktop for navbar" into cm-10.1David van Tonder2013-04-031-0/+17
|\ \ \
| * | | Settings : Toggle expanded desktop for navbarDanesh Mondegarian2013-04-021-0/+17
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If entering the navbar screen with expanded desktop enabled, the navbar is not shown hence hindering the ability to use the panel This patchset addresses that by disabling expanded desktop upon entering, and re-enabling upon exiting if it was previously enabled. Patchset 2 : Fix state issues Change-Id: I2776cf971f8899d30a25c0bf6b418793153555fc
* | | Use a hashed ANDROID_ID instead of IMEI for stats collection.Koushik Dutta2013-04-031-16/+2
| | | | | | | | | | | | Change-Id: I7379c5b380273e35b5aab582f5268d6946e0a255
* | | Merge "Enable Ethernet tab in data usage" into cm-10.1Ricardo Cerqueira2013-04-031-8/+8
|\ \ \