summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings
Commit message (Collapse)AuthorAgeFilesLines
* Settings: move high touch sensitivity setting to DisplayRoman Birg2016-08-123-25/+44
| | | | | | | | | For devices that support this feature, it makes sense to place this under display settings as most people wouldn't look under language. Ticket: CYNGNOS-3250 Change-Id: Ib99f5e8c5f0f2bdae7b5b5f788a364a1d63aa146 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings:Fix mImsi null cause ApnSettings crashxiaognol2016-08-111-5/+2
| | | | | | | | mImsi may be "null" in some case,if we use "" instead may cause crash in ApnSettings&com.android.phone. so fix it to use old way to set Apn in that "null" case. Change-Id: I0119e9a3f58c688e0e271ae62f50484ad8a29da9
* Settings: remove wifi hotspot timeout when hotspot settings are removedScott Mertz2016-08-111-0/+1
| | | | Change-Id: Id69c58ab5227286922518fe11243bc2134d7f300
* Settings: Show only one tab on PrivacyGuard direct accessAdrian DC2016-08-111-7/+11
| | | | | | | | | | | | | | | * Allow an intent request to a specific tab to be isolated, giving access only to the expected settings * "Apps started on boot" opens only Bootup * "Manage root accesses" opens only Root Access * Related to the following commits Ia5bc9d56fb11700b19d73336fad13c0a936091ff I79d963ecbadc624dc45a398387a348691318b6be Change-Id: I5a720fe2a8abe5fdf1a1b91c054d8b3a57d6cc5d Signed-off-by: Adrian DC <radian.dc@gmail.com>
* Settings: Root appops access in developer settingsAdrian DC2016-08-111-0/+21
| | | | | | | | | | | | * Allow users to directly access the root app settings, as the feature is mostly unknown and often a reason for users to try using alternatives to CM root * Use the appops extra intent to link the su tab, introduced in I79d963ecbadc624dc45a398387a348691318b6be Change-Id: Ia5bc9d56fb11700b19d73336fad13c0a936091ff Signed-off-by: Adrian DC <radian.dc@gmail.com>
* Settings: Animate pin/pattern fragment only if availableLuis Vidal2016-08-091-2/+8
| | | | | | | | To prevent NPE, check if the PIN/Pattern/Password confirmation fragment is available before performing animation Change-Id: I4ae78569f953daa6696e96c8318a0c059aaf3502 TICKET: HAM-1397
* Revert "Settings: Add screen color settings"Steve Kondik2016-08-053-992/+0
| | | | | | | | | | * We now have support for HSIC controls in LiveDisplay and this can be deprecated. A new UI to bring the same kind of functionality is underway as well. This reverts commit 853513841512a0fbf15dc22c7164a98d0a2de80b. Change-Id: I4fa3af25f64b05338a78ba7832e75333cf15e448
* livedisplay: Add picture adjustment settingsSteve Kondik2016-08-052-11/+283
| | | | | | | * Allow user setting of hue, saturation, intensity, and contrast * These controls are associated by the current display mode Change-Id: I5de24a0b5c2972f115920167fa97afa3a136b80d
* Allow restricted users to change status bar settingsSam Mortimer2016-08-041-0/+1
| | | | Change-Id: I121653cfd8e74333db32d7db18fc2dde05f00e2d
* ZenMode rules: Show days list in the correct orderLuis Vidal2016-07-281-1/+3
| | | | | | | | | Populate the days list based on what the first day of the week is for the current locale. Ex. Sunday is the first item in the list for US, whereas Monday is for UK Change-Id: Ib3c03a59cee73cfcd809fb115a5d49e5eb7c2e45 TICKET: CYNGNOS-3181
* SimSettings: Make provisioning optional even if qti-telephony is presentRicardo Cerqueira2016-07-281-1/+2
| | | | | | | Current code assumes the manual provisioning options should come up if the qti-telephony blob is present. Don't make that assumption. Change-Id: I5e4f28b628e3fe3fe9e506631e92c85103e87ccf
* Add SIM status string for localizing voice/data stringsd34d2016-07-271-1/+2
| | | | | | | | | SIM status hard codes "voice" and "data" and therefore cannot be translated. This patch adds a format string that can now be properly translated. Change-Id: I3797b795d00aae875c0d33a1ee152f4c1e09021b TICKET: CYNGNOS-3227
* Settings: Fix possible crashMichael W2016-07-271-2/+3
| | | | | | | applicationInfo is null sometimes, check that first Change-Id: I4c2d73cced26b8900c95ede08e5a9c478c107529 Reference: BugDumps 13-20160715-21 L#52
* Settings: Always set text value in color temperatureKeith Mok2016-07-251-0/+4
| | | | | | | | | | | | | onProgressChange is not always called if we set the color temperature to minimum, since it is the default value (no change). Causing the text showing the color temperature is empty. Call onProgressChange explicitly during init. FEIJ-1581 Change-Id: I7e0f8995cfc62a53770e787dc649109b9c3bf189
* settings: Add support for color balance in LiveDisplaySteve Kondik2016-07-202-21/+71
| | | | | | | | * Use the newly exposed APIs to map color temperatures to the linear color balance range using a power curve calculation. Change-Id: Ia1b7f26b5e4fff6d0f0e78d6cb62a7a9a2aec30e
* Settings: Always set ramp-up time value during bindViewKeith Mok2016-07-121-0/+2
| | | | | | | | | | | | | onProgressChange is not always called if we set the ramp up time to 5 sec (0 in seekbar value, since it is the default value, no change). Causing the text showing the ramp up time text value not updated and display as empty when user enable/disable increasing ring volume with ramp up time set to 5 sec. FEIJ-1572 Change-Id: Id32d6b51aab05e80be59bc1912c4ae7c5d114ac5
* Break out Bluetooth device icon from dashboard reference.Dave Kover2016-07-071-1/+1
| | | | | | | | | | | If a theme wants to use a different visual iconography style in the subsettings, the bluetooth icon is shared between the dashboard and that view. By adding this new reference, a themer can choose to independently theme the subsettings version if their design calls for that. Change-Id: Iac3a58175f90357e0c42efe57b1e698d5c8e2ad3 Ticket: CYNGNOS-3176
* InstalledAppDetails: fix refreshing storage summary after force stopAltaf-Mahdi2016-07-072-2/+1
| | | | | | | | | | | * if app is force stopped, current implementation causes a nasty loop which in turn causes very high cpu usage: refreshUi() > checkForceStop() > mCheckKillProcessesReceiver > refreshUi() * fix storage not being updated by running refreshUi() in onRunningStateChanged from AppInfoBase Ticket: CYNGNOS-2527 Change-Id: Iec24bb620d1a6287d7ccf583db978ef338ef762e
* Prevent orientation changes from destroying/recreating security settingsScott Mertz2016-07-052-0/+4
| | | | | | | | | | | Logic in SecuritySettings deliberately recreates the entire preference tree in onResume rather than onCreate. This causes the state to be lost when the orientation changes. Instead of destroying/recreating when the orientation changes, handle it ourselves. Change-Id: I6276d8f97cb64a4823286f263642926561d7f2d0
* Settings: Disable sim switch if subscription isn't validLuca Stefani2016-07-051-1/+1
| | | | Change-Id: I22ba9a3270da13f77fdd43586b7dc487f0929453
* Settings: Don't set the icon for sim activation / deactivation dialogLuK13372016-07-051-1/+0
| | | | | | | * This icon doesn't look any good. It's better to just get rid of it. Change-Id: I47f70a80136695e9aa61ff98999a2cf770390079
* Telephony(MSIM): Fix ANR on SIM deactivationVenkatraman Nerellapalli2016-07-011-15/+35
| | | | | | | | Dismiss dialog box on confirmation. SIM activation & deactivation in background thread. Change-Id: I0268a710f35e30b2abec3dd671942b52fc0e0b46 CRs-Fixed: 957308
* Fix to enable data for non-dds sub.Ravindra2016-07-011-8/+1
| | | | | | | | | When data is enabled\disabled on non-dds sub do not update the data base directly instead call TelephonyManager api to do the same. CRs-Fixed: 992072 Change-Id: I53b5ed2f4d6afcb05b09d65fd3d9843829cff995
* IMS: Set Wifi calling preference to Wifi preferred by defaultBenergy Meenan Ravuri2016-07-011-1/+1
| | | | | | | | Set Wifi calling preference to Wifi preferred by default instead of Wifi only Change-Id: I480db3d211566d0cb414ea50275b554c755b0a03 CRs-Fixed: 977149
* Wi-Fi: Do not display the not scanned saved networks foreverNalla Kartheek2016-07-011-0/+4
| | | | | | | | | A flag is introduced to signify it these saved profiles were scanned or not and this commit shall ensure that such entries are displayed only when the flag indicates to have scanned. Change-Id: I0c525a493caa39c3bed5149898160dd4662dd0c8 CRs-Fixed: 940917
* Don't start auto scan if screen recovers from frozen statevenkata Jagadeesh2016-07-011-1/+2
| | | | | | | | | | | | | | | | | | | Use case:Inquiry initiated from UI after connecting with blackberryZ30 Failure: Inquiry initiated from UI automatically after connecting with blackberryZ30,which is not expected Test steps: 1. Go to BT settings page. 2. Initiate pair and connect remote device from the available devices list Root cause:mInitialScanStarted set always to false and for every onActivityCreated,scan will be triggered from UI Fix: mInitialScanStarted set to false only for new instance,if any screen recover case,it should not be set as its not a new instance. Change-Id: Ia38323d5136857e6fe8fa69ed6336d889e29287b
* Fix mcc-mnc population issue in apn editorSusheel nyamala2016-07-011-2/+2
| | | | | | | | | | When creating a new apn in LTE mode, mcc-mnc values populated on apn editor are wrong if uicc card is used. Replace getSimOperator with getIccOperatorNumericForData method, which returns mcc-mnc values based on PS RAT registered. Change-Id: I263848bfbeabd4636dccd203c366ab00858ceaaf CRs-Fixed: 931556
* Update OperatorInfo in Simstatus settings for correct subidSridhar Dubbaka2016-07-011-0/+9
| | | | | | | | Update OperatorInfo in Simstatus settings for correct subid, on which Channel 50 CB message is received. Change-Id: I0876c94d53f2b4eef8571037c9a0e7d880bc043f CRs-Fixed: 906537
* Grey out PIN1 enable/disable option when SUB is not readyRuthwar Kumar Ambeer2016-07-011-3/+13
| | | | | | | | | Since it is not possible to interact with UICC card for PIN1 enable/Disable when SIM is deactivated, PIN1 option is Disabled in UI. Change-Id: I64d2ad3a85c15c4ea8936987e384ffd013c1f533 CRs-Fixed: 662114
* 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