summaryrefslogtreecommitdiffstats
path: root/src/com
Commit message (Collapse)AuthorAgeFilesLines
* Bluetooth : Handle SQL memory situation during OPP.Sravan Kumar V2016-07-011-7/+20
| | | | | | | | | | | | | | | | | | | Use case : 1) Use Any tool to Fill memory 2) When available memory is very low, enter settings-Bluetooth Failure : "Unfortunately, Bluetooth share has stopped" error comes. Root Cause : Because of Memory Issue application was unable to perform any SQL operations. Fix : Catch SQLite FullException and SQlite Exception in bluetooth settings to avoid crash in this use case. Change-Id: I621816ef6214eead49ba9f5a98a4152572fb1379
* fingerpint: Allow devices to configure sensor locationd34d2016-06-301-0/+21
| | | | | | | | | | | | | | | | The text for enrolling a fingerprint always assumes the sensor is located on the back. This patch adds a config integer that defines where the sensor is located on the device. 0 = back 1 = front 2 = left side 3 = right side This patch also adds a new drawable that shows the front of the device when applicable. Change-Id: Ia8f5f8ff4ba4d13d35aed3052f60ff665dd4f294 TICKET: CYNGNOS-3089
* Settings: Set root access options appropriatelyTom Marshall2016-06-291-0/+22
| | | | | | | | | It is possible to be running a user build with a debuggable boot image. In this case, "su" will not be available. So only show none/adb. Jira: BACON-4461 Change-Id: Iaa7df8311b9ea81eabb1566ba6f9159fdc9fab34
* Settings : Add country code to blacklist entry dialogDanesh M2016-06-271-1/+74
| | | | | | | | | | | | | | | | Enforce country code when adding an entry. If the user has regex enabled, * is added to the list as a choice. This avoids the confusion users are currently facing where blocking only the number + regex doesn't work, since country code is expected. Eg : 206* won't work +1206* works CYNGNOS-3049 BACON-4953 Change-Id: I9236898f17fcef425e561aaa10e56c5e8c2171a7
* Settings: Fix possible NPEMichael W2016-06-211-1/+1
| | | | | | | | extras seems to be null sometimes so the call to extras.get() causes an NPE Change-Id: I8a95da51aadda8fd6191131570a2f4b2bed762e7 Reference: BugDumps 13-20160610-16 L#64
* Settings: handle 'always ask' for SMS subscription on 3rd party appsRoman Birg2016-06-211-1/+45
| | | | | | | | | | | | | We need to ensure that the SMS app has a valid subscription to use as 3rd party apps don't know how to use our custom "always ask" logic. Don't allow the user to choose "always ask" if a 3rd party SMS app is currently the deafult. Ticket: CYNGNOS-3068 Change-Id: I4aabf43adfb4fdc39e7656aa872abf73d9a5edbe Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Move trust agent search index to LockscreenSettingsDanesh M2016-06-204-18/+20
| | | | | | | | Ensure smart lock takes you to LockscreenSettings instead of SecuritySettings CYNGNOS-3053 Change-Id: I2d6f4b29cfad259cebfb3ee97b055f59a131d3de
* Settings: Dissallow privacy guarding system apps on overlay.Adnan Begovic2016-06-152-5/+16
| | | | | | | | | | Bandaid fix for google play services inundating the permission dialog request queue within AppOps service and causing watchdog to consistently kill the system server's activity manager service which is deadlocked retrieving dialogs from the queue. Change-Id: I10c432cebe6a4199517839598046eee7d19dcf72 TICKET: CYNGNOS-2869
* Settings: Remove hide navigation bar settingsKeith Mok2016-06-151-3/+13
| | | | | | | | | | Remove hide navigation bar settings in Expanded desktop if the device has no on-screen navigation bar currently available. FEIJ-1194 Change-Id: I4d0a5cc453a13140236f5e2e9f39e970fe759607
* Settings: fix crash when reset App preferenceAnkit Gupta2016-06-141-10/+12
| | | | | | | | | | | | | 1. mExtraInfoBridge is null when there is no change made in any app. Calling reset app preference cause crash in this state. 2. move initialization of mApplication to onViewCreated from onCreateView to make sure View has been created. Issue-id: OPO-760 Change-Id: I7a26b27325b54694d2513e8365482c221a5c6b13
* Settings: Allow sorting Applications by sizeRoman Royer2016-06-091-2/+4
| | | | | | | Allow sorting applications by size in Settings->Apps just like in Settings->Storage/USB->Apps Removed extra whitespace Change-Id: I9e022162110e1feff20f257992086e66735e0f5e
* Use child fragment manager for nested dialog fragmentArtem Shvadskiy2016-06-081-8/+12
| | | | | Change-Id: I7748b15f45c88b00bc1251121d6760cf16e25646 issue-id: CYNGNOS-2911
* Settings: use subid & imsi for MSIM apn lookupsRoman Birg2016-06-071-7/+33
| | | | | | | Ticket: PAELLA-158 Change-Id: Icca65a9a46533e1bbcfd4dd08e974d736ea1253b Signed-off-by: Roman Birg <roman@cyngn.com>
* Radio info to control QC dbg prop'sDeepak Kundra2016-06-031-0/+217
| | | | | | Issue-id:FEIJ-679 Change-Id: Ia1c9e5d5899ae173d4fd7fa9b2339013b42f115b
* Settings: Add per app controls for LP keyguard notifications (2/2)Lars Greiss2016-06-012-0/+68
| | | | | | | | | | | | | | | Nice done by google but the UX is a problem especially for ppl who are using a lot apps and just want to see from important apps the notifications on the lockscreen. This commit adds the ability to - enable/disable per app the keyguard notification at all - enable/disable per app ongoing notifications on the keyguard We handle this over the app policy conf file like the other per app notification options TICKET: CRACKLING-1127 Change-Id: I12df484379621c3baba333d30a8b545b3a0ec0ae
* Settings: Disable cancelable with multi-windows confirm dialogKeith Mok2016-05-241-0/+1
| | | | | | | When muliti-windows confirm dialog is dismissed by back button, the status will become inconsistent. Change-Id: Ie00099dce395f08d9ad782482863f2120977d240
* Settings: Update oem unlocking status with back buttonKeith Mok2016-05-241-3/+4
| | | | | | | | | When oem unlocking confirm dialog dismiss by back button, the enable oem lock status is not consistent. FEIJ-780 Change-Id: I42a33896c8d844d965cfc706872903175ffbf1cc
* Settings: Update oem unlocking status when dismissKeith Mok2016-05-241-2/+4
| | | | | | | | | When oem unlocking confirm dialog dismiss, need to update the checkbox status also. FEIJ-780 Change-Id: I9b5c4446ecd9736051fb7b6c12ad22aa0d985a85
* Fix NPE when user has his lockscreen set to "None"LuK13372016-05-241-1/+1
| | | | Change-Id: Ib4d9612de740009f68f995fdb00c0e5bb38858f6
* Settings: Remove redundant definition of SoundSettingsActivity.Adnan Begovic2016-05-231-1/+1
| | | | | | | Causes CTS cross-profile intent verification failure. Change-Id: Id1c92c45cb1fb89e34598d54b9eb45497d629eac TICKET: FEIJ-104
* Settings: Fix blur preference removalluca0204002016-05-231-2/+2
| | | | | | * The preference lives in the General category group Change-Id: Ia6ab514557f6ff0c731a9d2a342f8bfea98bd0a6
* Give user control over lock screen blurd34d2016-05-201-0/+9
| | | | | | | | This will provide control over blurring since the current implementation assumes it is always on provided the device config specifies it supports blur. Change-Id: I7add45c607fcf47777d61629a3fc6245ffedb339
* Settings : Rebuild app list after resetDanesh M2016-05-202-3/+16
| | | | | | | | | | If the user resets app states, we need to rebuild the list so the new app info is fetched FEIJ-706 FEIJ-511 Change-Id: I5d6261d38dc2f06e37b29e6b7ba1f7a1e49a6ab8
* Settings: Wrap invocation on search view.Adnan Begovic2016-05-191-1/+3
| | | | | | | Exception thrown during monkey testing. Change-Id: I2f08df1e36c386aec0d57e3b6714cdbdd0f29246 TICKET: FEIJ-677
* Settings: Fix Storage Applications Manager dropdownraroyer2016-05-191-1/+2
| | | | | | Disabled Filter Dropdown in LIST_TYPE_STORAGE is hidden but pops up when clicked, does nothing. Disabling completely. Change-Id: Id497e59876f0d0adb5997eb300596f17fe9f5cdb
* Settings: persist "always ask" sms sim selectionRoman Birg2016-05-191-1/+2
| | | | | | | | | | The dialog was prompted, and the user has picked always prompt, don't ask them again, the Messaging app will need to request which SIM to use. Ticket: CYNGNOS-2185, CYNGNOS-2570 Change-Id: I95a510974b89945da252f4c6c3e905e9a0de81af Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings : Add title to xml preference screensDanesh M2016-05-191-1/+1
| | | | | | | | | | | Search indexing was inserting null as the title, which results in the default "Settings" title if the user selects a search result. This is inconsistent with the title the user sees when they manually navigate to that preference screen. FEIJ-512 Change-Id: I6f6ed7b851c998aa2cb5531bef04e8000ccb8ddd
* Revert "wifi: forward port avoid poor connection setting"nadlabak2016-05-171-18/+0
| | | | | | This reverts commit d77990f4cccd4fdc4bd479305ae6c2419d2f8610. Change-Id: I0987d8eb9e8e6c7730f0576f174b61115973d5fb
* Settings: update time zone strings on date changeLuis Vidal2016-05-172-0/+41
| | | | | | | | | | | | | | If the user changes the date, most obvious case being from 1970, to a current date, and the user's selected Locale's country time zones have been changed (according to ICU), we must update the time zone strings in the system. Ref: CYNGNOS-453 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 926c3b0a50e521368628ef0d9975c99fa4cd3480) Change-Id: I487c54cd4f933286c5004d24a3f8730ee2d4e4f6
* Settings: Ignore process kill receiver events if activity is destroyed.Adnan Begovic2016-05-171-2/+4
| | | | | | | | | Following the logic for refresh ui attempts to getContext() from the underlying activity which may have already been destroyed causing an NPE. Change-Id: Ibe110022ebedcc55a01f3bda66501580c8d92fed TICKET: NIGHTLIES-2935
* Close "Protected apps" activity during power cycleKamaljeet Maini2016-05-161-5/+10
| | | | | | | | | | | | | | Protected apps activity in Settings is accessed after entering correct pattern. If user turns off/on the phone while Protected apps is in foreground, the user must enter pattern again before using the Protected apps. Added code in onPause method to close the Protected apps activity if the user has already been authorized and there is no screen orientation change. Change-Id: Ie36ac0f54cce62228f6d0d56fef2e1f24096a803 Issue-Id: FEIJ-491
* Settings: Move vibrator value restore to onActivityStopluca0204002016-05-151-2/+10
| | | | Change-Id: Ia35f1dcffd86c8c2717e68cd91537d652ecfa982
* Use correct icon for sim cardArvin Quilao2016-05-141-1/+1
| | | | | | Instead of storage/sdcard icon, use the correct vector drawable sim card icon. Change-Id: I8349eae870b774671e635aabfb42b2b455ff1cd3
* Profiles: Disable notification item if ringtone & notification volumes are ↵Luis Vidal2016-05-131-1/+12
| | | | | | | | | | | linked The notification item will be disabled if the notification and ringtone volumes are linked. This is to keep consistency with the sound settings Change-Id: Ibbe7612eae5e9b7b18d63450ab8331f02becf5ca TICKET: CYNGNOS-958
* Settings : Filter livelockscreen, button for secondary usersDanesh M2016-05-133-10/+9
| | | | | | | | Secondary users should not be able to configure either of those. OPO-696 Change-Id: I43409c090fb12df576c29297fb506c70e6583bce
* Disable cellular networks settings menu if airplane mode is enabledLuis Vidal2016-05-123-1/+23
| | | | | | | | Cellular networks settings menu will be disabled if user enables airplane mode Change-Id: I83d78754918d50c02e19121ffcfb673bb1dc5797 TICKET: CYNGNOS-2697
* Add config to hide/show weather menuLuis Vidal2016-05-101-1/+4
| | | | | | | | This config controls whether the weather menu should be displayed in settings Change-Id: I89502d22cb56496825f497e6b19fce3d8e0a7a3c TICKET: CYNGNOS-2796
* Disable battery pulsing if segmented battery LED is enabledLuK13372016-05-091-1/+2
| | | | Change-Id: Ic5b4e7ce7830c43e84f9a14919ea85bbe993ac99
* Add option to select temperature unitLuis Vidal2016-05-061-126/+236
| | | | | | | | | | | | | Added a menu in the weather settings to select the temperature unit. This setting will be visible only if the user has at least one weather service provider installed. The weather settings layout was refactored to make room for this new preference Change-Id: I5e9f206573e0ff95fcee31a010b52530a907acc6 TICKET: CYNGNOS-2605
* WifiSettings : Fix forgetting saved networks crash after rotationDanesh M2016-05-051-6/+8
| | | | | | FEIJ-310 Change-Id: If6e3e28025ae4eba0bf20d53c68b7d840f76ce6c
* Settings: sync qs invert color with color inversion in SettingsAnkit Gupta2016-05-052-1/+3
| | | | | | | | | | | Color inversion in settings is not consistent with the quick settings tiles for the inverted color. This patch registers the invert color settings variable to content resolver to apply any change to it from either qs tiles or settings menu. Change-Id: Ib1433238d4985e930f3a1c650198dbeb05ccba52 Issue-id: FEIJ-164
* Partial revert "Settings : Add per app internet/data control"Sam Mortimer2016-05-052-23/+0
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit a3549a2715e47ce07297315586ea9c5798da2997 Revert changes only to: src/com/android/settings/privacyguard/PrivacyGuardManager.java src/com/android/settings/privacyguard/AppInfoLoader.java We currently have inconsistent behaviour where: *) if pg is on by default, a newly installed app will not have restricted network access *) if the pg state for an app is toggled off/on it will end up with restricted network access Newly installed apps where pg is on should result in the same end state compared to flipping pg guard off/on per app. This partial revert stops the data control setting changing when pg state is changed on a specific app. Change-Id: I1eba14204abe0d137ebd45c5a6a3b7db354339bb
* Protected apps: fix rotation statesRoman Birg2016-05-041-9/+12
| | | | | | | | | Don't try to relaunch the activity if it's already been launched. Ticket: FEIJ-224 Change-Id: I597417570f2f937afb0195fecd7dc406ff2508f3 Signed-off-by: Roman Birg <roman@cyngn.com>
* LockPatternView: persist state across rotatesRoman Birg2016-05-041-1/+37
| | | | | | | | | | We need to persist and restore the activity states across rotates so the user doesn't have to restart from the beginning. Ref: CYNGNOS-141 Change-Id: I18458d55748666b439cf7b6fcecd81ee5c4c7865 Signed-off-by: Roman Birg <roman@cyngn.com>
* LLS: Load title and summary from ext. package if avail.d34d2016-05-031-2/+41
| | | | | | | | | | | | Query for packages that support the ACTION_OPEN_LIVE_LOCK_SCREEN_SETTINGS and load the title and summary for the preference from that package. If no other packages exist or we are unable to load the title AND summary, then we use the defaults and carry on as usual. Change-Id: Ibbd5347aa35994877fa067b29cacbe9a9ed12dad TICKET: CYNGNOS-2696
* Settings: Make sure to rebuild on app entries loaded.Adnan Begovic2016-05-031-4/+3
| | | | | | | | | | Previously, notifydatasetchanged would only be called in oncreate, and any further callbacks from the application state session would be ignored. Now, make sure to handle the various scenarios and rebuild as necessary, notifying the ui as needed. Change-Id: I61572ff082629046d1fdf5fedb1e8ec37343f588 TICKET: FEIJ-334
* Settings: fix backlight illumination wrong summaryRoman Birg2016-05-032-22/+1
| | | | | | | | | | | | This fixes the visual indicator of the button illumination summary after trying to disable. Previously after setting the timeout to never, would display a summary of "1", or with 5, it would end up displaying 6 after applying the settings. Ticket: CYNGNOS-2565 Change-Id: Ia982e4849d0099b6e208b362770a431dc89dd2f1 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: refresh ui on foce stop/diableRoman Birg2016-04-291-0/+12
| | | | | | | | | | Fixes the storage summary not updating after force closing, enabling, or disabling the app. Ticket: CYNGNOS-2527 Change-Id: I000459d27d06071a36ab0ac6761c1af56c132dde Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Ensure user has to wait 30 before retrying patterncretin452016-04-291-9/+39
| | | | | | Issue-id: FEIJ-257, FEIJ-273 Change-Id: I08f16c6863ca5bbdb586d756da813453124851b2
* Settings: restore proper live display color profileRoman Birg2016-04-271-3/+5
| | | | | | | | | Select currently selected, not default, profile. Ticket: CYNGNOS-2575 Change-Id: I8db23feefd88776949fe0af356b320b8b4a7b8cb Signed-off-by: Roman Birg <roman@cyngn.com>