summaryrefslogtreecommitdiffstats
path: root/src/com/android
Commit message (Collapse)AuthorAgeFilesLines
* Add LCD density settingTom Marshall2015-11-251-0/+95
| | | | Change-Id: I3d55615127cc735ea0443d519520d0cb6cfbfb38
* settings: Fix crash when saving button backlight enabled/disabledChristopher R. Palmer2015-11-251-1/+1
| | | | Change-Id: I2b6de8e9c908803dcc510a378188e40fac4141f1
* settings: Only show mobile_networks if we have telephonyChristopher R. Palmer2015-11-251-0/+5
| | | | Change-Id: I937eaca7abefb4354cc274d5d5934a33149f4414
* perf: Enable app-profile pref only if profile has supportKhalid Zubair2015-11-251-0/+2
| | | | | | | | | Use new perf manager APIs to query if a perf profile has support for app profiles. Enable the pref only when supported. Currently, only the 'Balanced' profile has app specific rules. Change-Id: I9aa96bd869c6e80a4d3ba3b97646647db3b47d57
* perf: Add CM secure settings for app profile prefKhalid Zubair2015-11-251-0/+66
| | | | | | | | | | Implement CMSecureSettingsSwitchPreference to handle CMSettings.Secure preferences. The `app_perf_profiles_enabled' pref is defined in CMSettings.Secure and without this fix it cannot be changed. Change-Id: Ic85def69e4d120051a95fa64e6539f9771ec6628
* storage: Do not allow eject for volumes on non-removable disksTom Marshall2015-11-252-1/+2
| | | | Change-Id: Ib10747f27ef46ebdca906a904271f7c1e9bc3e73
* Settings - Display Rotation: Checkboxes to SwitchesSTELIX2015-11-241-8/+9
| | | | | | | | | | Display rotation: Switches to checkboxes According to the guidelines, checkboxes should be used in lists Checkboxes match better than switches in this cas Change-Id: I631c0ef65985d336e1a0790b6bb07ef7524ff6b2 Signed-off-by: STELIX <ssspinni@gmail.com>
* Re-Implementation of Protected App SettingsVineet Patil2015-11-249-1/+1425
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protected App [2/3] Protected Apps Settings -> Apps: - Added Receiver which can send in a call to PackageManager to toggle a components protected status. - Add Protected Apps activity (available from Apps fragment) - Reads from ApplicationInfo state - Requires Pattern Lock to view/modify protected apps - Updates Settings Secure DB with protected components - Support resetting protected apps pattern lock Change-Id: If07a7b69ac963ffae855621881e1944fc8754782 Protected Apps: - App Info for protected Apps doesn't allow Uninstall or Clear data - App Info menu item for launching into Protected Apps when looking at protected components - Prevent process dialog from getting dismissed on touch or back key (can cause odd behavior if cancelled mid-protect) Conflicts: src/com/android/settings/applications/InstalledAppDetails.java Change-Id: I64104d7ff3fbf9d8c393ebf262d4de0b28abbc5c Reset Pattern: - If user cancels while creating new pattern, old pattern is restored Change-Id: I55955b1ffadca2ba712c40c7d443c4fc4b0f528c Clean up protected apps code (1/2) - Work with actual ComponentNames instead of converting them between String and ComponentName all the time - Name protection state parameter in methods 'state' instead of 'protect', as a value of true actually means it's not protected. Also consistently use the respective constants for its values. - Some misc. cleanup Change-Id: I2855978c8aef3cfa14249e3398039c7cdd145ede Settings: Create a security fallback on protected apps. -- Allow a user to bypass pattern lock on protected apps by inputting their primary account information for the device. Conflicts: res/values/cm_dimens.xml res/values/cm_strings.xml Change-Id: I39e5a89a8699cfd2ffaba8aea2daa4f477f2cc9b settings: reset protected apps view instead of finish the activity Finish the app after resettings the account, will lead to the protected app selection without a valid pattern. Instead this should reset the pattern view to create a new pattern prior to go to protected apps. Change-Id: Ida41a29f4f8787940f803a23014a68a2f8beb969 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Settings: Don't show protected apps options in restricted profiles. Change-Id: I38c2e8fd3508d360f0e23703ce6c939f02f3714e JIRA: 4668 Issue: https://jira.cyanogenmod.org/browse/CYAN-4668 Follow normal lock screen convention - allow user to retry when creating pattern lock Change-Id: I6ad39b07b8de3de03146322b37b60e3f846093d1 Fix: Even when the list is entirely unchecked there may still be components which are still protected and need to cleared when Reset is triggered. https://jira.cyanogenmod.org/browse/BACON-679 https://jira.cyanogenmod.org/browse/CYAN-4835 Change-Id: Ifee3e8b87be39769aedfed0f9a5bda366c67ee45 ProtectedApps pattern lock for landscape mode. Change-Id: I9ef70a0e363d4d17510188d24f4742f458fba38e Launch Protected Apps Change-Id: I2dc2e1e05c1979118d5324c3c05adfcc6f7ee22a Protected Apps: update protected apps screens UI Change-Id: I2dd922956f8ffd9ed153c3d1aa1f9161a127e4c6 Remove unnecessary drawables for launching Protected Apps Change-Id: I58f471ef9d64c7ced79befbfc30b94d75a0085a2 ProtectedAppsReceiver: fix NPE when components are null * To reproduce: create a folder at Trebuchet, lock it and leave the screen Change-Id: I49a2e76fdaa3e375b0ea5aa2bb05eaa92528dd19 Protected Apps: Show state by component instead of by app Change-Id: Idbe1d69b376fc3f42980404d9448152f606e7f8e (cherry picked from commit 56e11c8640cb9e34d07eb11fb1b67f3283b2f6f6) Protected Apps: Increase hit target of the launch app button Change-Id: I38355aca37079d43975d287ee9d81c3a500c3575 (cherry picked from commit 47e8e46f53cdf4f536845d57cc383d3c5f0ca893) Protected Apps: Monitor unlock status Monitor the Activities unlock status so that we can rotate the screen in this activity without having to unlock again. Change-Id: I8feab5cb4d55c4df0d0d1475ab6646c046f01925 Protected Apps: add some side padding in app list view Change-Id: I2549fd8f8b662e2e2c542e67cbc20e6a366fba42 Conflicts: AndroidManifest.xml res/values/cm_dimens.xml res/values/cm_strings.xml res/values/strings.xml src/com/android/settings/applications/ApplicationsState.java src/com/android/settings/applications/InstalledAppDetails.java src/com/android/settings/applications/ManageApplications.java Conflicts: res/values/cm_dimens.xml Conflicts: res/values/cm_strings.xml . Change-Id: I065ac7965a8c7253ad67a20806201fe8fc6cec84
* Settings: Fix hiding button backlight optionKonsta2015-11-241-3/+10
| | | | | | | | | Recent change added volume rocker to hardware key configuration so config_deviceHardwareKeys is non-zero on pretty much any device. Button backlight settings are displayed on devices that don't necessarily have any hardware keys with backlight. Change-Id: I0f87b4043177e5d1b05b7d2e2565cddd298e3227
* Revert "Settings : Nav ring"LuK13372015-11-241-79/+0
| | | | | | | | * M no longer has nav ring This reverts commit 9cf9098e3f3a6d71ec600b862005452068db86b8. Change-Id: I1484c3b2b9d3656a9f928977ee2eeaec37170bbc
* Settings: Add CM UpdaterDvTonder2015-11-231-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | Squashed commit of the following: Author: DvTonder <david.vantonder@gmail.com> Settings: Add Updater and Changelog Change-Id: I8cf09962d9ba667bcdba78d7214fd6b5bb0feedc Author: Jorge Ruesga <jorge@ruesga.com> settings: hide settings of disabled components Change-Id: I977bd0c9668b479773802f99d03ecd1072e12f75 JIRA: CYAN-3552 Issue: https://jira.cyanogenmod.org/browse/CYAN-3552 Signed-off-by: Jorge Ruesga <jorge@ruesga.com> Author: Michael Bestas <mikeioannina@gmail.com> Move CM updater & remove summary * Move CM Updater to the top, like the fota app * Use android's default 'System updates' empty summary Change-Id: Ia3358397be97bc0ac19dd73598d053eb29efe31d Change-Id: I8cf09962d9ba667bcdba78d7214fd6b5bb0feedc
* Settings: Add FOTA updaterRicardo Cerqueira2015-11-231-0/+3
| | | | | | | | | | | | | | Squashed commit of the following: Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org> Support the signed-builds FOTA updater, too Change-Id: I2724881d6252ce7ce17ed9b3cfa94f6fecae1f7d Author: Brint E. Kriebel <bekit@cyngn.com> settings: Rename FOTA package Change-Id: Ic1131261c275c15de308dded0aea36b61942a986 Change-Id: I2724881d6252ce7ce17ed9b3cfa94f6fecae1f7d
* Settings: implement metrics logging interface from aosp.Adnan Begovic2015-11-232-0/+12
| | | | Change-Id: I4a656471a12821de2c16c2a19be01b7d9eba4e9a
* Settings: utilize STATS_COLLECTION from CMSettings.Adnan Begovic2015-11-231-4/+6
| | | | Change-Id: Id57336c400ebabcb525f1a5e741c49bfa11c2916
* Settings: add fallback strings to device versioning for metricsRoman Birg2015-11-231-2/+3
| | | | | Change-Id: Ia82f19d4248d5807282f076cfd76a462b1189f26 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: add opt out stats eventSteve Kondik2015-11-234-118/+117
| | | | | | | | | | | | - Get rid of keeping track of queued jobs, job scheduler does this and all we really want is a new job id to not interfere with old ones (unless we hit the max jobs allowed, then start the count over). - Persist whether we have reported metrics for the owner user (once per device) Ref: CYNGNOS-1131 Change-Id: Ib5bac2944b5ca4259ea82a357b24708377c1dc4c
* Settings: report stats upload immediatelyRoman Birg2015-11-231-20/+11
| | | | | | | | | | | | | We should report the upload status immediately to the job service and not let the executor leave doInBackground() even after the job successfully finished, and report a potential failure in onPostExecut(). Otherwise if conditions are no longer met, and the job has finished, it can result in the job reporting as failed, even though it has succeeded. Ref: CYNGNOS-714 Change-Id: I5e06ae9dbca5c1412641eed51acded7c67522ded Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: fix reversed name/id fields in metricsRoman Birg2015-11-231-2/+2
| | | | | | Ref: CYNGNOS-471 Change-Id: Icfe5bf69b30afcddc1f23ae9ce1589e1c6ca2f6d Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: improved stats upload logicRoman Birg2015-11-232-15/+21
| | | | | | | | | We don't get onStopJob() callbacks after the job is finished. Ref: CYNGNOS-714 Change-Id: I1906cb80854a193efaba0f662d66823fec5f7073 Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: update community metricsRoman Birg2015-11-234-149/+460
| | | | | | | | | | | | - Send community metrics to CM.org as well as Cyanogen server - Kill off Google Analytics - Use JobScheduler to intelligently schedule uploads when network connection is available Change-Id: Ibd7d84a961dda4af20db9226191380e9f977b5de Signed-off-by: Roman Birg <roman@cyngn.com>
* Settings: Rebase against GoogleAnalyticsV3.Adnan Begovic2015-11-232-7/+18
| | | | Change-Id: Ia015847be4bf985e206a5b4b2362959c6220e2ba
* Settings: Map to new Secure Setting for Stats Collection.Adnan Begovic2015-11-231-4/+4
| | | | Change-Id: I7de094ed9d0621f8744f8fb6236ae0085832d7ca
* Settings: Migrate stats opt out to global settings.Adnan2015-11-233-6/+36
| | | | | | Control newly introduced global setting Change-Id: Iea22206cd8ac8bf7d45e4b7dabfb9f0d1e602e0e
* Use SSL for submitting statsChris Soyars2015-11-231-1/+1
| | | | Change-Id: If830c05ee121d3951ffcf34cd3bbd499c5107f1d
* ReportingService: Fix service startupRicardo Cerqueira2015-11-231-2/+3
| | | | | | | Turns out the service wasn't starting at all until someone looked at the data, so no reports were being sent for CM11... Change-Id: Ib64ddbed4e0cae9c2f71d6c0c79f8081d6f15301
* Settings: Update Anonymous Stats Implementation.Adnan Begovic2015-11-231-88/+3
| | | | Change-Id: I0347b4401563acff1a9f488cde5d53bb76b02c10
* Settings: Anonymous Statistics (CMStats)Danesh Mondegarian2015-11-236-0/+505
| | | | | | CMStats is now integrated into settings. Change-Id: Ice1b2c0c4882620eef774aca26b91a39d27f7b47
* apn: Update the add actionbar iconDiogo Ferreira2015-11-231-1/+1
| | | | | | The add icon was using pre-L drawables and looked out of place. Change-Id: Icd2a522590b3ed01da99d8b1dc093019b5f46218
* Use Theme.SettingsBase for notification logLuK13372015-11-231-1/+16
| | | | Change-Id: I9241eb308926048ab4b59c63a4aa3d8c7f3a3209
* Only use device custom icon if it provides oneKeith Mok2015-11-231-2/+4
| | | | | | | | | | | | In function updateTileToSpecificActivityFromMetaDataOrRemove it tries to get devices specific icon from the meta data and set the iconPkg to the device specific package without checking the device actually provides one. This override the Settings default icon whatever the device specific icon is provided or not. Change-Id: I5d973617948a5dae0c7c1797f6f2b6bd7787a75a
* Settings: update layoutsjrizzoli2015-11-222-10/+12
| | | | | | | | | | | | | | | | | | | Settings: update layouts - User materialish oval shapes instead of rectangles - Rearrange notifications, wireless, display and sound entries - Update some strings Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it> Settings: update control ring stream string Signed-off-by: Jorge Ruesga <jorge@ruesga.com> WirelessSettings: Remove NFC category if there's no NFC adapter + Settings: add mobile network entry to dashboard Change-Id: I3fcd758f77a217e5c37a22f4d797398a7613b5a2 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* Add isSupported() method to VibratorIntensity classSam Mortimer2015-11-192-1/+6
| | | | Change-Id: I801af80f7b1e15954c50f6f9c5eca4f31f949575
* Settings : Update settings reference for powerButton/bugReportDanesh M2015-11-172-9/+9
| | | | | | | Switch INCALL_POWER_BUTTON_BEHAVIOR and BUGREPORT_IN_POWER_MENU to Settings reference Change-Id: I0a14e8b1a667e3922540a77479bfc1932cad7130
* Settings: Buttons: remove all camera button preferences if unsupportedScott Mertz2015-11-171-6/+8
| | | | Change-Id: Ib32263eabb2608b4324d756affd311dfb8dfc5bb
* Expose "ALL" hardcoded and @android colorsBryan Owens2015-11-171-1/+3
| | | | | Change-Id: I8ef92ae66d4828ca85d624a300ef7cf29f7367d8 Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
* Merge branch 'LA.BF64.1.2.2_rb4.7' of ↵Steve Kondik2015-11-164-43/+89
|\ | | | | | | git://codeaurora.org/platform/packages/apps/Settings into cm-13.0
| * Merge "Bluetooth: PBAP: Add support for PBAP UI preference"Linux Build Service Account2015-11-071-14/+19
| |\
| | * Bluetooth: PBAP: Add support for PBAP UI preferenceHemant Gupta2015-11-051-14/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pach adds support for PBAP UI preference in SettingsLib. Without this change it is not possible to properly use the pbap checkbox preference from Bluetooth subsettings menu. Also some map profile specific bug fixes are also incorporated in this change. Change-Id: I4981aa063b2541b58ce1d36e3576578cbeb02acc CRs-Fixed: 758697
| * | Merge "Wifi: Select SIMcard number based on index instead of displayname"Linux Build Service Account2015-11-071-4/+1
| |\ \
| | * | Wifi: Select SIMcard number based on index instead of displaynameSravanthi Palakonda2015-11-061-4/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The selected SIMcard number is saved to configuration based on display names, while doing EAP authentication using SIM/AKA/AKAPRIME. This leads to selecting wrong SIMcard number if the display names of SIM cards are same.This commit ensures to select SIMcard number based on index instead of SIM display names. Change-Id: Ic48af29428b49b9302cd136aae6bf88aa53521bc CRs-Fixed: 934268
| * | Merge "SimSettings: Cellular Data Preference"Linux Build Service Account2015-11-071-24/+63
| |\ \
| | * | SimSettings: Cellular Data PreferenceBeena More2015-11-051-24/+63
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | DDS switch triggered in an active CS session will fail PS attach on the sub to switch to. Fixing this by disabling cellular data prefrence when call state is not idle. Change-Id: I0a771e65d1e96835996b7f97ead37f4e864872eb CRs-Fixed: 757906, 915638
| * | Settings: Set the default protocol as "PROTOCOL_IPV4V6" when createdjianzhou2015-11-041-1/+6
| |/ | | | | | | | | | | | | Set the default protocol as "IPV4V6" when created, take it as a common requirement. Change-Id: I3564c499a1a8898c1b9b13a7ef631a51e02c4457
* | Multiple LEDs [2/3]: Illumination Bars supportAdrianDC2015-11-161-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the support of a multiple LEDs settings. The setting is deactivated by default and will be ignored by the unimplemented phones. Current LibLights will simply not use the new variable. Changes includes : frameworks/base hardware/libhardware packages/apps/Settings Change-Id: I5531093cd0543d7730a8c3f83c0aebb3678436d5 Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | LEDs Brightness [1/2]: Lights notifications brightness supportAdrianDC2015-11-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the support of an overall brightness control for the LEDs. The setting is deactivated by default and will be ignored by the unimplemented phones. Current LibLights will simply not use the new variable. Changes includes : frameworks/base packages/apps/Settings Change-Id: I6ff14ee0de8200f211302a868c5b43e3ec6f9f3a Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | Lights with Screen On [2/2]: Optional allowment of lightsAdrianDC2015-11-161-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a setting allowing lights to be activated for new notifications even if the screen is on. Lights with screen on and Custom values are separated in an advanced section for a cleaner overview. This setting gives the user an oportunity to activate lights with the screen on and also during DayDream screensaver. The option is not activated by default. Changes include : frameworks/base packages/apps/Settings Change-Id: I3650a014554ce50eb9030cc41e5ce1780bcc2dfe Signed-off-by: AdrianDC <radian.dc@gmail.com>
* | Settings: fix restoring DEV_FORCE_SHOW_NAVBAR setting on bootAltaf-Mahdi2015-11-161-2/+2
| | | | | | | | Change-Id: Ic6014149aed4367561c011c485c528dbd13289ad
* | Fix profiles toggleLuK13372015-11-162-4/+160
| | | | | | | | | | | | * Also implement CMBaseSystemSettingSwitchBar used for it. Change-Id: I1109cf06066a6c5f57044a484b0af6bbb38dc1b1
* | ProfileGroupConfig: Use correct metrics categoryLuK13372015-11-161-2/+3
| | | | | | | | Change-Id: Ieedeaf03a3ba8246a643bfb9003c45f25b4facf5
* | Settings: Fix FC on Notification Light settingsAragaoAnderson2015-11-131-2/+3
| | | | | | | | | | | | AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.ClassCastException: com.android.settings.cyanogenmod.CMSystemSettingSwitchPreference cannot be cast to com.android.settings.cyanogenmod.SystemSettingSwitchPreference Change-Id: I3afa8bb4cfe9dcd76054b9c9bd9ba87a069f74e0