summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* SECURITY: Don't pass a usable Pending Intent to 3rd parties.HEADreplicant-4.2-0004replicant-4.2Carlos Valdivia2015-08-301-1/+17
| | | | | | | | | | | | | | | Unfortunately the Settings app has super powers. We shouldn't let untrusted 3rd party authenticators re-purpose those powers to their own nefarious ends. This means that we shouldn't pass along PendingIntents that can have addressing information (component, action, category) filled in by third parties. Bug: 17356824 Change-Id: I397d26c5f465ddfb0e58bbc66cd44756e58cc507 (cherry picked from commit f5d3e74ecc2b973941d8adbe40c6b23094b5abb7) Signed-off-by: Carlos Valdivia <carlosvaldivia@google.com> Tested-by: Moritz Bandemer <replicant@posteo.mx>
* Proper CPU info parsingreplicant-4.2-0003replicant-4.2-0002Paul Kocialkowski2014-06-241-3/+12
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Show Development Settings as defaultreplicant-4.2-0001Paul Kocialkowski2014-01-181-2/+1
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Get rid of market application installation propositionPaul Kocialkowski2014-01-021-70/+0
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Get rid of CyanogenMod StatsPaul Kocialkowski2013-10-296-505/+0
| | | | | Change-Id: I3e5cacf404dcbf934bd9b561e69e2acf985aaeaa Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* Also remove preferences if app is installed, but disabled.Danny Baumann2013-08-071-3/+15
| | | | | Change-Id: I7f23e7a05c336bd16cda3426c7b31922cb92e1b2 JIRA:CYAN-1861
* Hide the camera widget option if no camera on deviceVeeti Paananen2013-08-031-0/+6
| | | | Change-Id: I034c246651fc9ae698bc32fd4af16cf14adb5314
* Merge "Sort disabled apps to the end of the list in privacy guard manager." ↵David van Tonder2013-07-301-1/+6
|\ | | | | | | into cm-10.1
| * Sort disabled apps to the end of the list in privacy guard manager.Danny Baumann2013-07-301-1/+6
| | | | | | | | | | JIRA: CYAN-1703 Change-Id: Ie3c1cf0339d66405d27c06dba07cc80e4001d669
* | Merge "Fix app selection when adding apps to app groups." into cm-10.1David van Tonder2013-07-301-10/+13
|\ \ | |/ |/|
| * Fix app selection when adding apps to app groups.Danny Baumann2013-07-301-10/+13
| | | | | | | | | | | | | | | | - Don't drop separate apps with the same title - Sort case-insensitive - Sort disabled apps to the end of the list Change-Id: Iffadca4896468aaee5fcfd60f8776c2bb1a8ce7f
* | Fix derp.Danny Baumann2013-07-301-2/+0
|/ | | | Change-Id: I473684a9ec4763c33709d5f59a5403eff63ce97e
* Merge "Make notification-shade-collapse-after-dismiss behaviour ↵Danny Baumann2013-07-302-81/+91
|\ | | | | | | configurable." into cm-10.1
| * Make notification-shade-collapse-after-dismiss behaviour configurable.Danny Baumann2013-07-272-81/+91
| | | | | | | | Change-Id: Icbf706a582279b86d901fb727b58663713606521
* | CellBroadcast: Disable App links on wifi-only devicesJorge Ruesga2013-07-261-10/+14
|/ | | | | | | PatchSet 2: Remove unnecessary check Change-Id: I359b5fef2932dfa072b72384edf9ba730a1f71a1 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Hide the AM/PM preference completely if using a 24-hour clockVeeti Paananen2013-07-231-16/+17
| | | | | | | | | | | | | In addition, this commit also fixes a bug where the switch would not be disabled on a fresh 24-hour clock install, as the preference value would be null. This is avoided by using a higher-level method from DateFormat to check the clock mode. Patch Set 2: improve code styling Patch Set 3: remove pointless application context retrieval Change-Id: I80de938df61803649688723843439905e9909b07
* Merge "Add a quick SELinux mode toggle" into cm-10.1Ricardo Cerqueira2013-07-181-0/+17
|\
| * Add a quick SELinux mode toggleRicardo Cerqueira2013-07-191-0/+17
| | | | | | | | | | | | | | There's no way to make it persistent, by design. This is purposefully undocumented and meant to test policies at this stage. Change-Id: Ic79ed773b199b68fee15f94acd2107a5ad20dc25
* | Fix IllegalArgumentException in Privacy Guard ManagerScott Brady2013-07-151-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On tablets such as manta a this occurs. To reproduce go into PGM, press the back button one time, then go back into PGM. http://pastebin.com/N7XAybUB Remove privacy guard fragment in onDestroyView Change-Id: I61cebe273fa6fd514f18c86894acd176701148f6 Check if fragment transaction is empty before attempting to remove it Change-Id: I08591c89559d33fee30ac2934fdbcc30637147da PrivacyGuard fragment fix - change from empty check to isDestroyed check Change-Id: I52fe44b7446cd16793df6ac9cdbe31e2ddd70210 Signed-off-by: Paul Beeler <sparksco@gmail.com> PrivacyGuardManager: Reduce calls to getFragmentManager Change-Id: I74f07a58b09cf0e9114d0c1c56e9a97d55ab0900
* | Add lockscreen rotation as an optional rotation setting (2/2)Kelly2013-07-102-14/+34
|/ | | | | | | | | | | This will allow the user to select wether or not to use the rotation settings for the lockscreen. This is dependent upon the rotation setting being checked. Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: If45c13a395e0d71b7c4cdcf484a6b8cef964ee37 JIRA: CYAN-339
* Merge "Let accessibility feature instructions scroll." into cm-10.1David van Tonder2013-07-091-1/+2
|\
| * Let accessibility feature instructions scroll.Danny Baumann2013-07-091-1/+2
| | | | | | | | | | Change-Id: Ie0a9eae16e8bf2ea6033a9e5e4e2c149ab4859cc JIRA:CYAN-1531
* | Settings: Improve QS tiles config codeThiago Vinícius Freire de Araújo Ribeiro2013-07-093-143/+207
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tile configuration has some unusual coding, like having a public static Map (QuickSettingsUtil.TILES) to hold all tile information. That map is modified directly during the execution of QuickSettings.onCreate(), which removes unavailable tiles from this global map. Once those tiles are removed, they are gone for good (until the runtime decides that it must reinitialize QuickSettingsUtil.TILES). This patch tweaks this process a bit: - The global TILES variable is now immutable. - There is a distiction from disabling and removing a tile - Removed tiles are those related to the device capabilities, and can never be enabled, once removed. - Disabled tiles are those related to the device state, like the ProfileTile, which is unavailable if the user has disabled the profile feature. Disabled tiles can be re-enabled later. - All code that actually removes/disables tiles is now at QuickSettingsUtil. The results of such operations are reflected on the TILES immutable view. - It is possible to enable tiles that have been disabled. This changes improve [citation needed] coding style a bit, but, furthermore, allows one to disable and reenable tiles when needed be. For instance, enabling Profiles or Expanded Desktop will cause the corresponding tile to be available for selection immediately. That would not possible to accomplish, once those tiles were removed from the available TILES map. Patch set 2: Rebased Patch set 3: Rebase, refactor Patch set 4: Check network tile availability at every resume Patch set 5: Sort tiles at the adapter, revoke caveats Patch set 6: Some cleanup Change-Id: Ifd46d81a49b0ce036e9ccd6d13b6e2251ecbf42a
* Storage Settings: Allow user to trigger a volume rescanJorge Ruesga2013-07-052-3/+123
| | | | | | | | | | | | | | | This change allows to trigger a rescan of a volume with the next restrictions: - Internal volumes if they are emulates - Primary volumes - Non-Removable volumes Requires http://review.cyanogenmod.org/#/c/44585/ Change-Id: I42aebc9fc0d3530cf0a3efb4d2139b688707d43d JIRA: CYAN-1391 Issue: https://jira.cyanogenmod.org/browse/CYAN-1391 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* Merge "Settings: privacy Guard enhance app logic" into cm-10.1David van Tonder2013-07-042-8/+41
|\
| * Settings: privacy Guard enhance app logicLars Greiss2013-07-042-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the following - do not show apps signed with the plaform certificate at all (like settings, systemUI, android system etc) IMO the user should trust the android signed apps to be save and this will prevent weird behaviours user can get when they activate it on this packages all other system apps (like calculator, browser) and all which are not signed with android key are not effected. - to go inline with AOSP disable the checkbox in detail app screen for built in apps cheers SlimRoms Change-Id: I12b5522f6e58047173778381fb7290bb1c71bab3
* | Lockscreen Options : Disable keyguard camera onlyDanesh Mondegarian2013-07-031-6/+9
|/ | | | | | | Current method of disabling camera does so for entire system, not just lockscreen. This patchset addresses that. Change-Id: Iba357214df36ddd8afd49a3e39abcaaba4ec808e
* Show the "no action" summary for unitialized gesture valuesVeeti Paananen2013-07-031-1/+2
| | | | Change-Id: I023ee587669103aa4d2a819af700ce3daa53695d
* Lockscreen Options : Fix toggling of statesDanesh Mondegarian2013-07-031-10/+12
| | | | | | | Every time we set ourselves as the active admin, the previous states are reset. Hence set both camera/widget states each time one of them is changed. Change-Id: I678a8155a04ef3822b49bcfb997a248ea99c128c
* Merge "Lockscreen options : Camera/widgets toggle" into cm-10.1David van Tonder2013-07-032-10/+57
|\
| * Lockscreen options : Camera/widgets toggleDanesh Mondegarian2013-07-032-10/+57
| | | | | | | | | | | | | | As per https://jira.cyanogenmod.org/browse/CYAN-1243 this commit allows user to control visibility of widgets/camera on lockscreen. Change-Id: Idab2ff4f058e355a1e5936531d9a264b1fea16a1
* | Settings: Introduce Privacy Guard ManagerLars Greiss2013-07-034-13/+544
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due that on the one hand a lot user are not familiar with permissions and how to read them and on the other user want to have a faster easy access to setup privacy guard for several apps this small manager assist the user to setup. Privacy Guard Manager shows a list off all installed apps Per default it shows only user apps which have critical permissions privacy guard can protect. The user can optional show in the list as well all system apps or turn off the filter to show all apps undependent of the permission the app has. To activate privacy guard for an app a simple click on the entry activates it so that the user can go fast trough the list. Longpress opens app detail page. Initial help dialog tells the user how to use it. Due the filter user who are unfimiliar with permissions can fast see which apps are effected without deeper knowledge cheers SlimRoms PatchSet3: - go inline with AOSP style - move PrivacyGuard by default into manager - change behaviour off active icons PatchSet4: - change app icon size to 36dip PatchSet5: - string change PatchSet6: - add reset option to disable privacy guard for all shown apps in the list PatchSet7: - Cleaned up the intro dialog a bit. PatchSet8+9: - cleanup - fix alignment of top checkbox PatchSet10: - fix permission filter PatchSet11: - improve icon loading Change-Id: I6bc886393bf90f8daed92b66d5fee1ce9e1accd0
* Merge "Add option to hide music controls in lockscreen." into cm-10.1David van Tonder2013-07-021-0/+13
|\
| * Add option to hide music controls in lockscreen.Danny Baumann2013-06-301-0/+13
| | | | | | | | Change-Id: I736df60139f1b977838c16136c0c30198633fcb2
* | Add an option to allow a (subtle) notification vibration during calls.Danny Baumann2013-07-021-0/+12
|/ | | | | Change-Id: I7dfbb64334e0e8e7f98d38bf503c053ff1880658 JIRA:CYAN-1550
* Fix derp.Danny Baumann2013-06-291-0/+1
| | | | Change-Id: I2766f4c89460c967e32349be008e38b3600b7e76
* Handle cancellation of the 'enabling PrivacyGuard' alert box.Darren Salt2013-06-271-4/+16
| | | | | | | I noticed that the option could remain ticked but not actually enabled if the alert box is cancelled. Change-Id: If9a4e88641a5e4283d6ea16c17ca4461841580e3
* Merge "Add 2G/3G option to profile connections (2/2)" into cm-10.1David van Tonder2013-06-262-5/+18
|\
| * Add 2G/3G option to profile connections (2/2)Jo De Boeck2013-06-262-5/+18
| | | | | | | | | | | | Only show option when network type is GSM not CDMA Change-Id: Ib225366c63ae928f23afd5bbe8b5f68818a4976b
* | Merge "QuickSettings: Camera tile" into cm-10.1David van Tonder2013-06-262-20/+21
|\ \
| * | QuickSettings: Camera tileNebojsa Cvetkovic2013-06-262-20/+21
| | | | | | | | | | | | Change-Id: I8de198c6144e1b0194ebeaffffec084035492635
* | | privacy guard: Fix crash when uninstalling an appSteve Kondik2013-06-261-1/+6
| |/ |/| | | | | | | | | | | * Don't try to update the privacy guard flag while refreshing after an uninstall since the PM will throw an exception at us. Change-Id: Idadb99fefc2861e871f6206b08c844dda742fa68
* | Merge "Make system UI settings work for multi-user (2/2)" into cm-10.1David van Tonder2013-06-241-18/+11
|\ \
| * | Make system UI settings work for multi-user (2/2)Danny Baumann2013-06-221-18/+11
| | | | | | | | | | | | Change-Id: I88ab9fa0cb7791c5f9d859ab6531346f2aa55193
* | | settings: Privacy Guard supportSteve Kondik2013-06-242-3/+65
| |/ |/| | | | | | | | | | | | | * Add toggle to InstalledAppDetails to enable/disable privacy guard flag on a per-application basis. * Add toggle to enable privacy guard by default for applications. Change-Id: If03aa5319c520b6c4a78887f0f46ef1443ddaa83
* | [1/2] Add bluetooth triggers to profilesJo De Boeck2013-06-226-170/+328
|/ | | | | | | | | | | | | Renamed WifiTriggerFragment to TriggersFragment as it is used by multiple trigger types Made AbstractTriggerPreference used by multiple trigger types Renamed some strings to make more sense Make sure the configured triggers are shown even if type is disabled. E.g. when Wi-Fi is disable listing AccessPoints does not work for triggers, already configured triggers will still be shown. Change-Id: Ife78269586aa2ab7fa94d3462582e259f9228ab2
* Fix lock settings pattern crash on configuration changeJens Doll2013-06-201-0/+1
| | | | | | | | | | | | | | | | A helper class used in LockPatternView.onSaveInstanceState() and .onRestoreInstanceState() wasn't set, causing to NPE settings once a configuration change would happen while displaying lock pattern input. This is now set on creation. Test case: 1) Enable rotation on device. 2) Open Settings/ChooseLockPattern preference. 3) Rotate device Change-Id: Ic8091bc92dee2a9a23f4ddebd6de4111ec8ac318
* Merge "Show application's package name in the "App info" screen." into cm-10.1David van Tonder2013-06-171-0/+4
|\
| * Show application's package name in the "App info" screen.Chirayu Desai2013-06-131-0/+4
| | | | | | | | Change-Id: I7dac8ffa0b10abb5ff235750e90a96d801b2f919
* | [2/2] Add triggers to change profile based on APJo De Boeck2013-06-143-2/+229
| | | | | | | | | | | | Add UI for configuring triggers to active profiles. Change-Id: I4903ef64d3eced687136a7dcf4d2048ce4b7ca63