summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SimDialogActivity: Check whether there is no default subDiogo Ferreira2016-02-091-1/+2
| | | | | | | | | | | | | | | On an out-of-the-box device, no data subscription will be selected by default. If a single SIM is added, it will become the default data subscription but if two sims are added at the same time there will be no default. In this case, this dialog will crash because it's trying to get the subscription id from a null default. This patch short-circuits the clause to always update if there is no default. Change-Id: Icd4dffaf918d43d85f807cd6a14f93abb118eca4 Ticket: CYNGNOS-1940
* 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-086-1/+43
| | | | | | | | | | | * 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-083-1/+87
| | | | | | | | 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-083-7/+43
| | | | | | * 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-083-15/+2
| | | | | | * 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-052-0/+4
| | | | | | | This way a specific mcc-mnc combo can overlay some defaults as needed. Change-Id: I5e0c46830c1ab7845ce3372dcb06a70a144c651a Signed-off-by: Roman Birg <roman@cyngn.com>
* Use settings' theme when inflating account prefsd34d2016-02-051-1/+7
| | | | | | | | | | | | | | When inflating account specific preferences, the settings style is set so the inflated preferences have the same style. If a different theme, than the rest of the system, is set for Settings it is possible for the inflated preference to try and reference a theme specific item which won't be part of that apps resources, resulting in an InflateException. To avoid this we attach the themed resources that are applied to settings to the newly created package context so that those resources can be properly resolved. Change-Id: I0cf0430db379b146fe80ce3173f050e5b120bbbb TICKET: OPO-437
* Settings : Add radio button / selection states for default SIMsDanesh M2016-02-032-35/+84
| | | | | | CRACKLING-928 Change-Id: I786d4d921987d483cd0a5fa77976a0b8047d06db
* Forward port pattern visibility settings (2/2)Michael Bestas2016-02-032-4/+34
| | | | 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
* 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>