summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth: Underp "Accept all files" settingRicardo Cerqueira2016-02-031-2/+2
| | | | | | | | | This was reading/writing to the wrong database, making the setting a no-op. My bad. Still CYNGNOS-1825 Change-Id: Ibf02b186f8e19066b0113ab1c72e31164a686af1
* Lockscreen: Show redaction interstitial when swipe selectedd34d2016-02-021-1/+19
| | | | | | | | | | If the user is switching from a secure lock screen to an insecure one and they have chosen to redact sensitive/all notififcations, show the RedactionInterstitial so the user has the option to change this setting. Change-Id: I2bcfd01fb322eb66a10a0f29feb9da696c524cdf TICKET: YAM-103
* Settings : Recompute highlight index upon changesDanesh M2016-02-021-5/+6
| | | | Change-Id: I7d738f5114fc1eea564360ab5e823abc167caee9
* Settings : Show search on all panelsDanesh M2016-02-021-1/+1
| | | | | | RM-208 Change-Id: Id8467a6f57e60dfe58e7d1f38acb8d833bd298cf
* LiveLockScreen: Add live lock screen settingsd34d2016-02-025-0/+638
| | | | | | | | This will allow the user to enable and configure their installed live lock screens. Change-Id: Id4a6963cc49d1c361c99c95b17a961aaa980ed48 TICKET: CYNGNOS-1686
* Automatic translation importMichael Bestas2016-02-0251-101/+2742
| | | | Change-Id: I593d60dbddc30ead5a0830ab4c45ed69b084ced2
* Tethering: Turn off Wi-Fi Hotspot after inactivity (3/3)d34d2016-02-024-14/+92
| | | | | | | | Turn off the Wi-Fi hotspot after a specified time of inactivity. The hotspot is considered to be inactive when no clients are connected to it. Change-Id: I7030e702328726b72f394b2a64b93830dba54efc
* [3/3]Settings: add "Accept all files" option for incoming files via BTHamster Tian2016-02-022-0/+21
| | | | | | | | | | | | | | | | | | | * Adapted for CM13. * PS2: empty line fix * PS3: variable name fix BT server in AOSP will check MIME type of incoming file. Only those with explicitly allowed types will be accepted. The MIME type whitelist is in packages/apps/Bluetooth/src/com/android/bluetooth/opp/Constants.java But this can be annoying when we want to transfer RAR, APK or conf files etc which do not exist in the list. This patch adds the option "Accept all files" in Settings -> Bluetooth -> menu. This option is disabled by default, which ensures security. Ref CYNGNOS-1825 Change-Id: I76e008211429bf3bd28183713043bee5d326c21a
* Settings: Cleanup lock screen settingsMichael Bestas2016-02-014-62/+48
| | | | | | | | * Group related settings * Make settings order consistent * Remove options that do nothing when lock screen is disabled Change-Id: Ib310e563e44ddc4af2f9f6675c3fc13a38a497ab
* SimSettings: Disable entry for missing simDiogo Ferreira2016-02-011-3/+6
| | | | | | | | | | | | | | Clicking on a missing SIM card will show incorrect information because the user network preference is indexed by subscription id. This means that when the SIM is not present we cannot infer which subscription settings we are actually showing or changing so the whole screen is effectively useless. This patch disables configuration entries for invalid subscriptions. Ticket: CYNGNOS-1794 Change-Id: Ic5125f66f4cdaafe06d03b3b20b80341525d6c87
* Settings: Use correct icon for lock screen settings entry.gabriele2016-01-312-3/+3
| | | | | | * Give lock screen entry its own icon rather than using the security one. Change-Id: I4e4530d97dd3dc691cdd08ab328cd583f70e2edf
* Settings : Remove cmstats from about phoneDanesh M2016-01-311-8/+0
| | | | | | It already exists under privacy settings Change-Id: Id761e66b71cd97e7c5fe0333c04d5778fec2f6c8
* Bluetooth/Wifi: center empty view and set textAppearance to mediumAlexander Martinz2016-01-313-14/+2
| | | | | | | * does not look weird anymore when toggling bluetooth or wifi Change-Id: Ibbf375e241f091bc27b76c273598da9fc0d67ed9 Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* Fingerprint: do not error out when stopping to listenAlexander Martinz2016-01-281-2/+8
| | | | | | | | | | | | | | * when stopListening gets called, we cancel via the cancellation signal, which calls the onAuthenticationError callback. * detect if we are canceling and do not execute the error code * fixes the finger print icon hiding when closing the LockPatternActivity, which causes the lock pattern to resize TICKET: RM-208 Change-Id: I5bb62064f885b67836bd78af854cca950c3401fa Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* ProtectedApps: add up navigation and fix action bar iconsAlexander Martinz2016-01-284-3/+71
| | | | | | | | | | | | | * ProtectedApps has up navigation, but the lock pattern has not. I catch myself many times when trying to press the up arrow and noticing later on, that it is not there. * the drawable used as action bar icon is not white, tint it white and use it instead. TICKET: RM-208 Change-Id: Icdd24816af47b16efc38e4e8379811d412f50454 Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* Settings : Finish SimPreferenceDialog on dismissDanesh M2016-01-281-1/+6
| | | | | | CYNGNOS-1515 Change-Id: I2f69a876419a0ace61a6a8e682496db0d62bbfa1
* 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 : Improve app info screenDanesh M2016-01-281-7/+4
| | | | | | | | Move packagename label to newline to avoid jank marquee. CYNGNOS-1649 Change-Id: I060290510e819096dd1496356d592dcfc81f57f4
* [2/2] Settings: blacklist: update iconographyjrizzoli2016-01-2821-16/+18
| | | | | | | Made with Asher and Dave Change-Id: I0457596078553d170e16d46d7ab30660586d5207 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Settings: hide light pulse settings if not availableRoman Birg2016-01-281-16/+26
| | | | | | | | | Instead of disabling the pulse length and speed hide them, since they will not be enabled during the lifetime of the dialog REF: CYNGNOS-426 Change-Id: Ie0c8b9f27e1de32c9559e5ffdb61c73d8b2ff42f Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: fix a few color picker inconsistentciesRoman Birg2016-01-281-2/+4
| | | | | | | | | | | | Don't assume we can pulse when calling setAllValues(). Don't display both on/off pulse values when it cannot pulse. Default to Always on when we can't pulse. Ref: CYNGNOS-403 Change-Id: Ie356cdc35cb545dd51896697f89ef265ada1147f Signed-off-by: Roman Birg <roman@cyngn.com>
* MasterClear: update UIRoman Birg2016-01-276-225/+439
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also squashed the following related commits from 12.1: MasterClear: fix FRP wipe crash Requesting setRequestedOrientation() right after showing a custom dialog in a DialogFragment does not play nice. It forces the activity to be recreated instantly, so when the task finishes, there original activity the AsyncTask is tied to is no longer valid. However, if we let fragment manager keep track of all the dialogs, it doesn't break the expected behavior. REF: CYNGNOS-427 Change-Id: I0609816182a6b5319d2a88ff0075d53e3c2fed16 Signed-off-by: Roman Birg <roman@cyngn.com> Settings: make FRP wipe dialog not cancelable User should not be able to interact with the screen after the process has started. Otherwise we can get in a bad state and never perform the factory reset. Ref: CYNGNOS-427 Change-Id: I197a6ca70487a33b0ce402fda7a2d58828e8e1bb Signed-off-by: Roman Birg <roman@cyngn.com> Settings: don't crash when dismissing FRP If the user has pressed home while the dailog is up, there may be nothing to dismiss by the time the task finishes. Ref: CYNGNOS-427 Change-Id: Ic4fdec1ecb32f88181feba4bfd3eb337b1b61efd Signed-off-by: Roman Birg <roman@cyngn.com> Settings: continue factory reset if user leaves activity If the FRP dialog is up, and the user presses the home button, the FRP task will finish, and then try to use the activity context to initiate the wipe, and the fragment to retreive args, both of which is no longer valid. Cache all variables before the task begins, and use the application context to complete the calls. Ref: CYNGNOS-427 Change-Id: I5c8b286195a0b57fd879a1022d64ea548363b925 Signed-off-by: Roman Birg <roman@cyngn.com> Ref: Settings-86 Change-Id: I759de586bf5cb8558d42575d08df63aaf84fffa6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Add overlay for hiding wifi region codeDanesh M2016-01-262-5/+12
| | | | | | CYNGNOS-1637 Change-Id: Ieb1f6553a2addb17ec6b93b51ab8fb19f6c5ca49
* Fix alignment on dashboard.Dave Kover2016-01-261-13/+10
| | | | | | | | | When the switch is present, the text is aligning to the top instead of centering to the iconography on the left. Shuffle the layout to make it center where it belongs. Change-Id: I5f2b497385c9370473df441c79e8fc7ddf3b740f Ticket: CYNGNOS-1669
* Automatic translation importMichael Bestas2016-01-2554-187/+2239
| | | | Change-Id: I976c45499030cc38127e57a9ecec7aa602e6722f
* Regulatory text color: make this readableAbhisek Devkota2016-01-251-1/+1
| | | | | | OPO-320 Change-Id: I944f91f70d18f55542deee14f5153626f539ad29
* Settings: Apps started on boot shortcut in memory settingsAdrianDC2016-01-245-4/+43
| | | | | | | | | * Implement an intent extra to retrieve a tab target * Use a tab identifer from apps_ops_categories_cm to make sure the selection is correct or ignored Change-Id: I79d963ecbadc624dc45a398387a348691318b6be Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Settings: Move Do Not Disturb Access under DND settingsAdrianDC2016-01-244-20/+24
| | | | | Change-Id: I4763577b4cd5aae01705cc693dfaaf06152bd3e6 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* Improve a SIM enabler stringMichael Bestas2016-01-251-1/+1
| | | | Change-Id: I019c5f7676f9870ea170c2bc6c9043953cd9f52f
* Add left QS quick pulldown (2/3)Michael Bestas2016-01-244-6/+54
| | | | Change-Id: I0e8c944039e5a6702bfbbcdbfbf89a3f734f37e3
* Settings : Improve usage stats screenDanesh M2016-01-224-49/+67
| | | | | | CYNGNOS-1317 Change-Id: I9df05539c46ea27f8e4e975c8d3bc4aee9823704
* Settings: Add fingerprint authentication for protected apps.Adnan Begovic2016-01-226-13/+147
| | | | | | | | Protected apps users can now authenticate via fingerprint if they have at least 1 fingerprint enrolled. Change-Id: I47504d9183d42ff974b0e1b0f271a424fd747608 TICKET: CYNGNOS-84
* Settings: Actually expose protected apps settings.Adnan Begovic2016-01-223-0/+35
| | | | | | | | Since protected apps are seemingly useful now, promote them within the privacy guard menu. Change-Id: I9024cd88f2655f18fb2b68fcf9d75b12e4b5a97e TICKET: CYNGNOS-84
* Break out status bar icon from extdesk icon.Dave Kover2016-01-218-6/+33
| | | | | | | | | | | | | Create a separate resource for the dashboard category icon for Status Bar. Rename the extended desktop icons so they are further distinguished from the dashboard iconography. The goal is makea sure only dashboard icons are using the ic_settings_ prefix and rename iconography that is not part of that view. Ticket: CYNGNOS-1681 Change-Id: I54165bd4338bb1d73f1d453f75ee1c06cfd62a8f
* Fix up increasing ring tone volume preview behaviour.Danny Baumann2016-01-202-13/+52
| | | | Change-Id: Ibe7fdf1ee7f0aa1c7c76052df69fa92e8b6a2ffd
* Settings: update FOTA link to be implicitRoman Birg2016-01-181-3/+4
| | | | | | | MC-826 Change-Id: Ife9c6a7779d1ff9f74e2ba9e13b1b3948fb2c4d4 Signed-off-by: Roman Birg <roman@cyngn.com>
* Allow launching notification manager settings externallyMichael Bestas2016-01-172-0/+18
| | | | Change-Id: Ic9acab571fc78d139d4924f9a95194423bf1d267
* Support multiple SAR values, separate args list with ','Edward Wang2016-01-141-2/+2
| | | | | | | Issue-Id: YAM-68 Change-Id: I21fcb3128a115388ed25d61daae88f4f3356929a (cherry picked from commit c4ce19ad8fb570d9d561d3a560f6eeeeccc99de5)
* Settings: show warning in lock screen settings when disabled by qsRoman Birg2016-01-132-1/+28
| | | | | | | | | Tapping the setting will re-enable the lock screen. Ref: CYNGNOS-1513 Change-Id: Ifbd53fb3d1cd199c85dedb0d96b01e8f29e7c024 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Set regulatory information dialog to non-translatable.Adnan Begovic2016-01-121-1/+1
| | | | Change-Id: I0d5012dc84ec8e6488b0b09d82e2d7bce1afdd38
* Settings: Show ringtone per sim for multi sim deviceAdnan2016-01-123-17/+61
| | | | | TICKET: CYNGNOS-1589 Change-Id: I56244242cece2c0ab732a2edb8d8c57e9d2c29b3
* Squash commit of SAR and IC Code.Adnan Begovic2016-01-126-19/+90
| | | | | | | | | | | | | | | | | | | | | TICKET: CYNGNOS-1586 Settings: Show SAR on Regulatory Info (from CM11) This brings these three commits from CM11: Settings: Create SAR level preference, allow overlay. Change-Id: I1af616696702f72b8a6276b3b01e940d61735137 Change Regulatory Info Activity to prefer string over image Change-Id: I9ea5c2bf469af8f654ec4e4bb4f2a8a5738e6a95 Settings: Allow Regulator Information Dialog Title to be overlaid. Change-Id: I5aead313589f5d5291d20a0388d2d8bc7242b711 Settings: Refactory regulatory dialog. Display IC Code. Change-Id: Id268830404d09eed318e38474fe1a9062fc4e962
* Settings: Add CMMetricsLogger constants to proper pages.Adnan Begovic2016-01-1119-36/+43
| | | | Change-Id: I6e1d0ec2be4c6da51267c163575472827c9c50cd
* Automatic translation importMichael Bestas2016-01-11115-417/+9077
| | | | Change-Id: I6a73233e7c5689c683bc444bcea93b910f69124e
* Lower minimum vertical range for data usage.Danny Baumann2016-01-111-1/+1
| | | | | | | | Both 50MB and 20MB are kinda arbitrary, but the latter provides a better overview for people with small data plans and/or at the beginning of a month. Change-Id: I99bd9e220592f0f7acdb00f40635dfc574b4e81b
* Update vertical axis bounds when resetting network policy.Danny Baumann2016-01-111-9/+11
| | | | | | Makes sure axis gets updated when entering app data usage details. Change-Id: I5a8573a1bcbab08da2c9eee4538b4e133008343c
* Revert "Hide usage graph on app usage details pages."Danny Baumann2016-01-111-13/+1
| | | | | | | | | | | This reverts commit 1740ce4f0ca39635eeb8a286bc271dd11438ff09. The data usage graph is useful information to show for a single app as well (as it shows the app's share of data usage compared to the total). Additionally, this commit broke navigation back from data usage when entering it from an app's details pane. Change-Id: Ia1de61d24aebfef3537e4d2c358e63b12a588838
* Some text are missing in eject sdcard warningHenrik Baard2016-01-111-5/+0
| | | | | | | | | | | | | | | | | The eject sdcard warning page shows incomplete texts in some languages (german) and it is not apparant that that you can scroll to see the text. The layout is divided into three parts, the button and one blank line, and the text. The text and the blanke space will have equal parts of the screen since they have the same weight. Because of this the (complete) text is not shown in som languages. Remove the blank part and let the text use the whole screen. Change-Id: Id8fd88fc6c0aa6105d64c100e3365cd9b00bf851
* Settings: Set default value for 'Volume keys control ringer stream'Gabriele M2016-01-111-1/+2
| | | | | | | The option is enabled by default, but we show it as disabled, so set the default value to true. Change-Id: I757d51b45cf0634497f1aad81e155148f2a688dc
* Settings: request runtime permissions inside VoiceWakeupRoman Birg2016-01-113-12/+39
| | | | | | | | | | | | | | | If the user has selected a Direct dial shortcut for their voice wakeup action, then the app which launches this intent must hold the dangerous permission CALL_PHONE. So when the user picks an intent which would require this permission, make sure VoiceWakeup requests and grants the permission. Otherwise reset to default. Ref: CYNGNOS-1560 Change-Id: I02e2c7a7d9958a5b15f438687f509802e75db704 Signed-off-by: Roman Birg <roman@cyngn.com>