summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Core: NL translationEddy Witkamp2013-07-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ps2: move changes to cm_strings ps3: trigger fixed cid ps4/5: remove quotes Change-Id: I3b4a0fa8dbc8eac84aee9d5f59a8fbd5caa3fd82
* | | Merge "Make notification-shade-collapse-after-dismiss behaviour ↵Danny Baumann2013-07-303-11/+69
|\ \ \ | | | | | | | | | | | | configurable." into cm-10.1
| * | | Make notification-shade-collapse-after-dismiss behaviour configurable.Danny Baumann2013-07-173-11/+69
| | | | | | | | | | | | | | | | Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7
* | | | Merge "Improve notification shade collapse code." into cm-10.1Danny Baumann2013-07-3011-91/+107
|\ \ \ \ | |/ / /
| * | | Improve notification shade collapse code.Danny Baumann2013-07-1611-91/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Collapse after dismissing the last notification - Avoid duplicate code paths for collapsing - Improve variable naming according to AOSP review suggestions Change-Id: Ic6f26a61f263c5beebbcc9725fe8914d3858576f
* | | | Merge "Frameworks/base: Update italian translation" into cm-10.1Marco Brohet2013-07-301-0/+4
|\ \ \ \
| * | | | Frameworks/base: Update italian translationrheeze2013-07-251-0/+4
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed AOSP strings for SELinux PS2: ported strings to custom file cm_strings.xml (see http://review.cyanogenmod.org/#/c/45727) PS3: Cid trigger PS4: Cid trigger Change-Id: Iedafc7f598a80682dcabce4c71fb9c921bf3da25
* | | | Enable Estonian languageMarco Brohet2013-07-301-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | AOSP translations are present, but not activated Change-Id: I8cf7d0c128a5f12da5440882e6f2e8e91ccf57c5
* | | | Merge "Base-Core: CS translation" into cm-10.1Marco Brohet2013-07-281-0/+5
|\ \ \ \
| * | | | Base-Core: CS translationOndrej Zima2013-07-231-0/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | - added SELinux / MMAC policy Change-Id: I110a5871089989fa301830bfec5d67918852feda
* | | | Frameworks : FR translationDelphin PETER2013-07-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch set 1 : add new translation Patch set 2 : correction Change-Id: If4b5cc9695d129d3be3acc714c26ade87f35dcc8
* | | | Merge "frameworks_base: ES translations" into cm-10.1Marco Brohet2013-07-281-0/+4
|\ \ \ \
| * | | | frameworks_base: ES translationsdjMesias2013-07-231-0/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | - SELinux support Change-Id: I35de2435032bba44b077ddba9d5611443138c579
* | | | Merge "Core: HU translation" into cm-10.1Marco Brohet2013-07-281-0/+4
|\ \ \ \
| * | | | Core: HU translationTamas Toth2013-07-231-0/+4
| |/ / / | | | | | | | | | | | | Change-Id: I1612f9133f2037bc556db0630742ba2c87482bef
* | | | Merge "core/SystemUI: EL translations" into cm-10.1Marco Brohet2013-07-282-0/+16
|\ \ \ \
| * | | | core/SystemUI: EL translationsMichael Bestas2013-07-232-0/+16
| |/ / / | | | | | | | | | | | | | | | | | | | | Signed-off-by: Michael Bestas <mikeioannina@gmail.com> Change-Id: I9666255a607cbce8ea8c4898ce929684e7b770bd
* | | | BT: Fix memory leak when BT on & off done many timesSumit Bajpai2013-07-241-0/+7
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Solves a memory leak in BatteryStatsService when Bluetooth is turn on/off. Solution adds missing close of proxy then Bluetooth is turned off. Change-Id: I65f9db298459c7c15f6a10c752992f1d38469445 CRs-Fixed: 476145
* | | Fix hungarian keyboard layoutBuga Dániel2013-07-231-1/+1
| | | | | | | | | | | | Change-Id: Ib75a5b709a65a48bcc371ef23cc15490587b77d0
* | | android_os_FileUtils_getVolumeUUID: Fix the incorrect logical for call ↵YuanQY2013-07-231-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | blkid_get_tag_value. There are two problems in here. 1. For the function blkid_get_tag_value third parameter is should be the device, not the mount pointer, in the MediaPrivader.attachVolume, it will pass the mount path to call this function. 2. The UUID for device is hex, so call atoi is not right. I think call strtol is better than atoi. Change-Id: I76598a0993f08add3e9c7541cbc082d8d85e9af4
* | | Fix RIL_UNSOL_CDMA_PRL_CHANGED constant typo (1/2)liquid06242013-07-231-1/+1
| | | | | | | | | | | | Change-Id: I6eef9350fa62857cb5fd133a385cb09150cb6d1b
* | | Add support for Samsung extended AGPSghepeu2013-07-232-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The AGPS implementation in the GPS chipset used in some Samsung devices (i9100, i9300) can make use of the Psc field. Adapt the relevant functions hiding the changes incompatible with other devices under the AGPS_USE_PSC #define. Credit to Qaweck from xda-developers forum for finding the meaning of the field. Change-Id: Ie4691c79ca379a1f5c0a87500c1b06b56ae7ac0d
* | | Add tile dimensions into snapshot and use it for setting tile rectSreedhar Telukuntla2013-07-234-1/+41
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current tile rendering implementation in hwui sets the current clip rect as tile rect during restore. This will limit the rendering to the restored clip rect. Later in case if the app tries to render outside the tile rect by setting a new clip rect, then all the pixels, which are falling outside the tile rect are clipped off, this may result into UI artifacats. This change adds the support for preserving the tile clip as part of the snapshot and the same tile clip is used while setting the tile rect. This way it is taken care that the correct tile dimensions are preserved during save and retrieved during restore. CRs-Fixed: 499767 Change-Id: Ia66b6dc8e7be5857949751a81e9f702c2d1c5a57
* | Merge "Frameworks_base: PT-BR translations" into cm-10.1Marco Brohet2013-07-221-0/+4
|\ \
| * | Frameworks_base: PT-BR translationsGustavo2013-07-211-0/+4
| | | | | | | | | | | | Change-Id: I512d24bd517bc29be39ec93d31e722ed1a4a56ea
* | | Merge "Frameworks : move custom strings to cm_strings.xml" into cm-10.1Danny Baumann2013-07-212-8/+9
|\ \ \
| * | | Frameworks : move custom strings to cm_strings.xmlDelphin PETER2013-07-182-8/+9
| |/ / | | | | | | | | | Change-Id: Ie70f69474b9e83b6f9e2df4d34d6109008343356
* | | Signal strength: add more checks to signal strength,Shareef Ali2013-07-201-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so it doesn't fall under the range of poor signal and automatically assumes a gsm signal, actually checks if all values are true and not valid then pass it on to lte or gsm. This fixes cases when gsm signal is not valid and lte is active. When lte is active and shows a really weak and gsm signal is not avalible due some broken vendor ril or just running cdma lte and a few others senario creates this issue. Change-Id: If9c5dc1a969605cd1eeb9218de02a9f8dbbd3ae1
* | | Telephony: Consider EVDO ecio zero value as valid.Banavathu, Srinivas Naik2013-07-201-1/+1
|/ / | | | | | | | | | | | | | | | | | | When mEvdoEcio receives 0 getEvdoEcio returns -1. Ecio valid values are positive integers, to fix this consider EVDO ecio zero value as valid. Change-Id: Ice8415150e7502c7f39e1a4135d35ea2bec1eb1f CRs-Fixed: 402159
* | Allow device admin policy to override policy boolean state.Robert Craig2013-07-181-10/+8
| | | | | | | | | | | | | | | | | | | | Prior code only allowed a false to true transition for a device admin policy. This was to ensure that a default true was always upheld. Reverse this and allow a device admin policy to take over the setting of all booleans; even those set by the init.rc. Change-Id: I64ae4d397a8118614c83fa611f0191e2f934dade Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | Fix SELinux.java doc errorsRichard Haines2013-07-181-7/+5
| | | | | | | | | | | | | | | | This fixes five errors when building the Java docs. It also removes two obsolete lines. Signed-off-by: Richard Haines <richard_c_haines@btinternet.com> Change-Id: I814411cbc8d16eaed99a1389f5487529e36e647b
* | Restore support for labeling non-system apps based on their certificate.Stephen Smalley2013-07-181-12/+0
| | | | | | | | | | | | Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Change-Id: I814411cbc8d16eaed99a1389f5487529e36e637b
* | Drop "SE Android" from strings.Stephen Smalley2013-07-181-4/+4
| | | | | | | | | | Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Change-Id: I814411cbc8d16eaed99a1389f5487529e36e627b
* | Replace SEAndroid with SELinux.Stephen Smalley2013-07-182-5/+5
| | | | | | | | | | Change-Id: Ibbe544a9f025d71ad416bc01cee2145b62d7b2d4 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | Add data validation on seinfo labels.Robert Craig2013-07-181-2/+25
| | | | | | | | | | | | | | | | Ensure that policy contains a clean seinfo string. Where clean means no whitespace characters. Change-Id: I814411cbc8d16eaed99a1389f5487529e36e617b Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | Follow AOSP behavior for seinfo assignment.Stephen Smalley2013-07-181-3/+2
| | | | | | | | | | | | | | | | No distinctions can be made among third party apps. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Change-Id: Ic894086485bfea884c0e21af13f98a2d54346b15
* | Save off the seinfo value with packages.list.Robert Craig2013-07-181-3/+3
| | | | | | | | | | | | | | | | | | | | Patch adds the seinfo label per package to the file. This is of particular interest to the run-as program which uses the seinfo tag to correctly label the app security context before running the shell. Change-Id: I9d7ea47c920b1bc09a19008345ed7fd0aa426e87 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | Bring install-time code inline with AOSP.Robert Craig2013-07-182-25/+38
| | | | | | | | | | | | | | | | | | | | | | | | Recent submissions to AOSP rework some of the internal logic of SELinuxMMAC and the PMS. Bring our maintained version inline with those changes while still allowing policy to dictate all seinfo values regardless of location. Change-Id: I11ff4c4089217e6a9d95ca2841c5bc29bfd763ad Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
* | Move seinfo and install-time changes to inside PMS.Robert Craig2013-07-1853-78/+122
| | | | | | | | | | | | | | Per request by Google, move the install-time checks entirely inside PMS. Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8479e
* | Change DPMS code to accommodate enforce states on boot.Robert Craig2013-07-181-86/+95
| | | | | | | | | | | | | | | | | | | | We need to respect if setenforce (selinux enforce), setsebool (booleans), or setprop (mmac enforce) are set in the any of the init.rc files. This set of changes will allow the init.rc values to win over any potential device admin wishes. Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8473e Signed-off-by: Robert Craig <rpcraig@tycho.ncsc.mil>
* | Update location of policy filesWilliam Roberts2013-07-183-19/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | The location of policy files has changed from /data/system to /data/security. Also, a name change to mmac enforcing property name to place it under persist.mmac. namesepace. Adds api's for getting and setting the MMAC enforcing mode. Change-Id: I0e9468fe651cd6ec018d5c85d35d693e55479e89
* | Proper security labeling of multi-user data directories.rpcraig2013-07-186-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | This patch covers 2 cases. When an app is installed and the resulting data directory is created for all existing users. And when a new user is created and all existing app data directories are created for the new user. Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil> Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8478e
* | Implement Device Admin API for MMACJoman Chu2013-07-186-4/+457
| | | | | | | | | | | | | | | | Conflicts: api/current.txt core/java/android/app/admin/DevicePolicyManager.java Change-Id: I1df507ced67fbcab8fdcde9cce78705b5e54e346
* | Apply MMAC changes from master.Stephen Smalley2013-07-1850-116/+1613
| | | | | | | | Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8477e
* | Simplify check during admin removal for whether to cleanup SELinuxJoman Chu2013-07-181-100/+99
| | | | | | | | | | | | Also re-arrange and cleanup Change-Id: I1261e715d8d04b72f8a29b8a24268d75946d24dc
* | Remove SELinux additions from public APIRicardo Cerqueira2013-07-183-15/+15
| | | | | | | | Change-Id: If2e076312b0e411145c1cd900f3ae20d998a0f24
* | Add APIs to allow Device Admins to change SELinux settingsJoman Chu2013-07-187-1/+1009
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These calls, added to the Device Admin API, will allow Device Admin apps to change various SELinux settings, including: * Toggling SELinux enforcing and permissive modes * Toggle SELinux booleans * Load a new SELinux policy file (sepolicy) * Load new SELinux context files ({property,file,seapp}_contexts) In order to use these APIs, a Device Admin must first request USES_POLICY_ENFORCE_SELINUX, then become a SELinux Admin by calling setSELinuxAdmin(). All other set* calls relevant to SELinux are guarded by a check against whether the admin is a SELinux Admin. Otherwise, the style of the set* calls are very similar to the other calls setting device policy in the Device Admin API. That is, these calls change the Admin's internal state and then call a sync method to update the device's state to the Admin's state. Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8476e
* | Save off the seinfo value with packages.list.rpcraig2013-07-181-0/+3
| | | | | | | | | | | | Patch adds the seinfo label per package to the file. Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8475e
* | Added SELinux enforcing status and booleans keys to secure system settings.Stephen Smalley2013-07-181-0/+21
| | | | | | | | | | | | | | Conflicts: core/java/android/provider/Settings.java Change-Id: I01f2a9084dfe7886087b1497070b0d7f2ad8474e
* | Add seinfo parsing to PackageManagerService.rpcraig2013-07-1816-11/+632
|/ | | | | | | | | | | | | | | | | This patch set allows the PMS to parse the mac_permissions.xml file which contains the seinfo values. Each package that is installed on the device will be assigned an seinfo value based on policy. This seinfo value will help label the app process and data directory. Modifications also include, adjustments to ApplicationInfo.java to store the seinfo tag per package, adjustments to installd to communicate the seinfo tag to libselinux, and finally a set of unit tests. Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil> Change-Id: I61ad1ea12fb6a9a6d0b108ec163bc4bf4c954b58