summaryrefslogtreecommitdiffstats
path: root/res
Commit message (Collapse)AuthorAgeFilesLines
* Update textview styles for better theme compatability.Dave Kover2016-02-082-3/+9
| | | | | | | | | | | | | | In the battery & notification lights preferences, the textview attached to the custom color is locked to a color which is only visible against light backgrounds. If a theme changes to a dark theme, they are unreadable without modifying a core material style. Let's create a new style that points to a better material style but also allows a themer to change it independently if needed. Change-Id: I039f154282035c5123fddf8c20c18bdb3be90060 Ticket: CYNGNOS-1790
* lockscreen: Add option to pass swipe-up-to-unlock (2/3)eray orçunus2016-02-084-0/+19
| | | | | | | | | | | * Option appears on PIN,pattern and password methods * User should press back button to see notifications, clock etc. * Instantly hides keyguard if Smart Lock has unlocked phone. CYNGNOS-1873 Change-Id: I31256770869b20842c69edb4a7a57b2bad7b3ea7 Signed-off-by: eray orçunus <erayorcunus@gmail.com>
* Add Sound Panel to Power Menu (Part 2/2)Italian Quadcore2016-02-081-0/+1
| | | | Change-Id: Ifa62246acdc59e9529431ae3642b67add89ce7ac
* Settings: don't allow duplicate APN entriesRoman Birg2016-02-082-0/+7
| | | | | | | | Prompt user with warning if they are about to add a new APN which is a duplicate. Change-Id: I86c6a6d272a7ba079b81dedb05b44575fd4d86e7 Signed-off-by: Roman Birg <roman@cyngn.com>
* settings: Add preference for automagic LED colorsSteve Kondik2016-02-082-0/+7
| | | | | | * And use the automagic color as the default when picking custom colors. Change-Id: I9861d3d889dfcb5eba62b69339e7afb0db2fd364
* Settings: Remove duplicated stringsElektroschmock2016-02-081-11/+0
| | | | Change-Id: I0aee338711720194aae25c5c8f4a1d2978dff1dd
* Remove leftover profiles entry from power menuMichael Bestas2016-02-082-3/+0
| | | | | | * No longer available Change-Id: Ifac7e1181dc53af5788f54444ef75a345a888fa2
* Settings: Improve hotspot timeout stringsMichael Bestas2016-02-081-2/+2
| | | | Change-Id: I9fd0d182fd54ddf0d93f2400357e79c5cb36896f
* Settings: add config for new APN type defaultsRoman Birg2016-02-051-0/+3
| | | | | | | This way a specific mcc-mnc combo can overlay some defaults as needed. Change-Id: I5e0c46830c1ab7845ce3372dcb06a70a144c651a Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Add radio button / selection states for default SIMsDanesh M2016-02-031-24/+36
| | | | | | CRACKLING-928 Change-Id: I786d4d921987d483cd0a5fa77976a0b8047d06db
* Forward port pattern visibility settings (2/2)Michael Bestas2016-02-031-0/+10
| | | | Change-Id: Ic627953c5df854c442671a98b5da539b994da18b
* String update, change wording from "Mobile" to "Cellular"razorloves2016-02-032-10/+10
| | | | | | Bring inline with aosp's terminology Change-Id: I16d21879037beed5171bc5b12975f90459a9ea3c
* LiveLockScreen: Add live lock screen settingsd34d2016-02-022-0/+116
| | | | | | | | 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-023-7/+45
| | | | | | | | 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-021-0/+3
| | | | | | | | | | | | | | | | | | | * 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
* 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-311-1/+2
| | | | | | | * does not look weird anymore when toggling bluetooth or wifi Change-Id: Ibbf375e241f091bc27b76c273598da9fc0d67ed9 Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* ProtectedApps: add up navigation and fix action bar iconsAlexander Martinz2016-01-283-0/+62
| | | | | | | | | | | | | * 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 : 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>
* MasterClear: update UIRoman Birg2016-01-274-0/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-0/+1
| | | | | | 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-242-2/+11
| | | | | | | | | * 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-242-8/+10
| | | | | 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-243-6/+24
| | | | 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-224-0/+64
| | | | | | | | 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-222-0/+12
| | | | | | | | 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-217-2/+29
| | | | | | | | | | | | | 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
* 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>
* Settings: show warning in lock screen settings when disabled by qsRoman Birg2016-01-131-0/+5
| | | | | | | | | 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-121-0/+2
| | | | | TICKET: CYNGNOS-1589 Change-Id: I56244242cece2c0ab732a2edb8d8c57e9d2c29b3
* Squash commit of SAR and IC Code.Adnan Begovic2016-01-124-4/+49
| | | | | | | | | | | | | | | | | | | | | 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
* Automatic translation importMichael Bestas2016-01-11115-417/+9077
| | | | Change-Id: I6a73233e7c5689c683bc444bcea93b910f69124e
* 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-111-0/+1
| | | | | | | | | | | | | | | 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>
* Settings: EL AOSP translation fixesMichael Bestas2016-01-112-7/+7
| | | | | | | | | | Come on AOSP, we're fixing these since ICS... Change-Id: Ic94f25a2335d187c98d8712e8dbd3bcaac82cfb9 Settings: Modify AOSP EL translations Change-Id: I7e3a59412a2884c26a5eb165676e381d003f0fca
* Improve DPI warning stringMichael Bestas2016-01-111-1/+1
| | | | Change-Id: I3dae9dfc15a2dcfbbb59dcdf3f6d44d694598c05
* Integrate mobile network settings into SIM settings for MSIM.Danny Baumann2016-01-062-0/+5
| | | | Change-Id: I3ab67d0dcb2979d2b527d40642d0c0f5b3e07034
* Remove a few MSIM tab hosts.Danny Baumann2016-01-063-72/+5
| | | | Change-Id: Idd0b7738685ba05fc7c6a85306fcf5e5b08203ff
* Settings: add link to statusbar icon config screenRoman Birg2016-01-062-1/+15
| | | | | | | | The SystemUI tuner allowed you to hide specific statusbar icons. Add a link in Status bar settings back to the status bar icon config screen. Change-Id: Ib239c8b893769bcf273664a15e8112caca8a0618 Signed-off-by: Roman Birg <roman@cyngn.com>