Commit Graph

2640 Commits

Author SHA1 Message Date
Abhisek Devkota
e900dddb9e Fix Discovery permission blockage
RM-290
Change-Id: If1f9fe3b1821b8880ac75044dbb1a660edd78679
2016-08-23 11:43:07 -07:00
Brandon McAnsh
5f562fde33 charger: Fix 640dpi symlink
Change-Id: Ibb2cd183221bc7887af52835bf33fe1b3ba0ab7e
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-08-19 00:02:45 -04:00
Adnan Begovic
a194731dd4 cm: "Released" means current.
Since mainline devices will always identify as a latest
  release api level (due to userbase volume), make sure
  we check against the current api vs api -1.

Change-Id: I9e9b41a1af5d3a93f58b2e0e0545b979d1cef978
2016-08-17 14:15:14 -07:00
Brandon McAnsh
850dd22e12 charger: Add 640dpi support
* xxxhdpi

Change-Id: I53f86c3bf68d8ba3ad21273b44f75ea6434d7883
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-08-17 05:44:20 -07:00
Adrian DC
3e85bf7907
version: Keep the maintenance version defined and use it if needed
* The maintenance version should not be set optionally
    to its official value status, but only be used when needed

 * Use the TARGET_VENDOR_SHOW_MAINTENANCE_VERSION := true
    introduced in I77c924a13122c8e1d9af14501e46bc532f7aefbd
    to show the value of the maintenance version in releases,
    with an intermediary CM_VERSION_MAINTENANCE variable

Change-Id: I22b944a1d2d8586e5f3c75e19ca1c53aa3b22b59
2016-08-16 19:26:11 +02:00
dzadzev
ec6c945852
apns: Fix T-Mobile MK DATA access
* Authentification type "PAP or CHAP"
    required to get DATA access and MMS

Change-Id: Iddd1fc66668426c5a4c90b398bb5d5ff52f59a3f
2016-08-15 12:03:03 +02:00
Steve Kondik
e73b8c1bd6 cm: Allow LiveDisplay to write to display misc dir
* Need write permission to create file containing the current mode.

Change-Id: I4ed26412e7ec38861156110c7eb51ef707a0999f
2016-08-15 01:43:06 -07:00
Adrian DC
e91605ce48 cm: charger: Export the RTC Clock and Alarm timestamps
* Gives easy access to the RTC values in order to verify or debug
    the current status of the RTC clock and alarm, for example
    if a user says powered-off alarm doesn't work

Change-Id: I47e71433a53a25fe9880e7be6a1f5bdb1105ef78
2016-08-14 21:53:56 -07:00
Adrian DC
cadd0be089 cm: charger: Add support for double backlight displays
* Some devices using AMS AS36xx LEDs controllers
    are using 2 backlight paths to light the display,
    mostly on Sony Huashan and Sony Blue board devices

 * Although most of the displays have interlaced backlights
    and the half dark path can be hard to see, other displays
    have a top / bottom path that make half the screen on / off

 * Control the backlight level of both path if the device does have
    BACKLIGHT_PATH set, and if present, SECONDARY_BACKLIGHT_PATH

 * Leave the HEALTD_BACKLIGHT_LEVEL config accessible
    to override the default 100 / 255 brightness used in healthd

Change-Id: If774c3e66acedddf7ba676581e7c88b7e83a66b6
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2016-08-14 21:53:37 -07:00
Steve Kondik
7595620750 cm: Add custom off-mode charging screen
* Moving this to open-source from CyanogenOS :)
  * Thanks to Chao Chen, Ethan Chen, Pat Erley, Scott Mertz,
    and Keith Mok for various contributions to this.

Change-Id: If79f9c279668d14ee0cde62889bb09e7185ef08c
2016-08-14 14:10:53 -07:00
Steve Kondik
48f8df8ddb extract-utils: Add pinning support
* In many cases, we would like to keep certain files which do not
   exactly match what might be extracted from a factory ROM. This
   becomes extremely annoying over time to manually reconstruct,
   and it's easy to miss these special cases when updating to a
   new vendor release. It's also useful to flag additions which
   aren't found in the upstream release at all.
 * To solve this, we can now "pin" files to a specific sha1 hash.
   Simply append the sha1sum of the file to the appropriate line
   in your bloblist, prepended by a | delimiter.
 * This works by backing up the current files first, running the
   extraction, then checking if any pinned files need to be
   restored.
 * Also add an exit trap to clean up all of our tempfiles

Change-Id: I2010b5175b5701e19a3efb112e8907062ca37d66
2016-08-14 14:10:53 -07:00
Luis Vidal
049d4c52be config: Add WeatherManagerService to PRODUCT_PACKAGES
Change-Id: Ic6d18ebeec31d17104a4093f5da1f956417e345b
2016-08-13 01:34:17 -07:00
Steve Kondik
31125bccef cm: Build HexoLibre as part of common_full
Change-Id: I9af13beb525d118b48b5ca163760e14bd51c3a8a
2016-08-11 16:00:37 -07:00
Ziyan
0e9838ede5 contributors: update Galaxy Nexus maintainers
Change-Id: I65c0efbfe4f8ff5a5f7db9e874d7ae011790ae61
2016-08-10 09:06:13 -07:00
Adrian DC
8e9bf1ce59 cm: Update Xperia Blue contributor
* Update Xperia T (mint) and Xperia V (tsubasa)
 * Add Xperia TX (hayabusa)

Change-Id: I14c7ac1ffa29cbf477eb626fe2651dfee3a45de0
2016-08-10 08:48:36 -07:00
Steve Kondik
eac861613e sepolicy: Move new QCOM-specific policy to the right place
* Don't wanna break the build for anyone again :(  The
   native stuff is very QCOM specific and won't work elsewhere.

Change-Id: Id5dbba1a46dc12cbd5914cf3072ed92a72039b31
2016-08-09 00:07:19 -07:00
Steve Kondik
dfcd472673 sepolicy: Additional policy for LiveDisplay
* LiveDisplay needs to store the user-selected default mode somewhere
   in the case where we are mixing local sysfs-style modes with QDCM
   modes. Add a rule for this.

Change-Id: I42b80df7c0ee3c2815594c8a6feea3dc078c6ae2
2016-08-07 12:05:32 -07:00
Scott Mertz
a995059030 Allow maintenance versions to be ignored
CyanogenMod builds shouldn't show maintenance versions.  Allow the
environment to override this behavior instead

Change-Id: I77c924a13122c8e1d9af14501e46bc532f7aefbd
2016-08-05 12:26:54 -07:00
Louis Popi
a516c2f0ac cm: extract_utils: Add a firmware extraction method
Change-Id: If14f6932cbdccf45ca0cc91c403e951363e91260
2016-08-05 08:31:55 +01:00
Luca Stefani
3a03012242 cm: extract_utils: Fixup xml files
Change-Id: Icb8efcca0e6e37a3ea7432716fcbfbd631d96c19
2016-08-05 00:01:45 -07:00
Luca Stefani
7f9fff2317 cm: extract_utils: Implement oat2dex
* Shipping baksmali and smali (version 2.1.3) in vendor/cm
   (Official sources: https://github.com/JesusFreke/smali)

Change-Id: Iaca6337fa2d4b5f2d6654ef5142ec0313af63f5a
2016-08-05 00:00:52 -07:00
Adrian DC
463feb6005 cm: sepolicy: Fix the vold blkid.tab denial from recovery
* denied  { link } for  pid=190 comm="minivold"
    name="vold_blkid.tab" dev="tmpfs" scontext=u:r:vold:s0
    tcontext=u:object_r:vold_tmpfs:s0 tclass=file

Change-Id: I0b3e47dd00c5a32261691f51838a8d9af9778faa
2016-08-05 00:00:03 -07:00
vm03
ce489f178c
Add LG msm8226 family maintainers
Change-Id: Ibc71e03c23aa13dc8a2dc34258d0fa315d510c12
2016-08-04 13:48:47 +03:00
vm03
fea2dc9ae8
Add Asus Z380KL maintainer
Change-Id: I7604a82028dfcfbcd040b2a19056992185d93f8b
2016-08-04 13:47:05 +03:00
Jessica Wagantall
79204e6a99 version: Set version string to 13.0.1 to reflect security update
CYNGNOS-3177
Update security patch for 2016-08-01

Change-Id: Iaa1d8d9efef067030b0d37803381827d2a4ac0c8
2016-08-03 15:53:29 -07:00
DodoGTA GT
19b67c6cfc Tele2 (LT) APN updates
Tested and working

Change-Id: I88b9a64bb665ab502ab9bbeb3bd99cfc5e3a928d
2016-08-03 03:43:05 -07:00
d34d
851457aedb config: Add ThemeManagerService to PRODUCT_PACKAGES
Change-Id: I8f858b3932ffd557cd752918fbb059caf3770a42
2016-08-02 12:15:46 -07:00
d34d
79eda9ebb8 sepolicy: Put theme service in its own context
Allow the theme manager and its data to be sandboxed in
its own context

Change-Id: I7898663d1c196bfe04fa4c539d20191a43fde284
2016-08-02 12:15:34 -07:00
TheStrix
7f81f3ce33 cm: Update contributors
* Add kenzo maintainer
* Update klte, jf and flo maintainers and contributors

Change-Id: I9e588bbce614809a6056d8884f81e92cdc129249
2016-08-01 08:54:20 -07:00
Steve Kondik
cd726ac1db sepolicy: More IOP rules
Change-Id: I6d6cfd7202c94135344eb718e0c6ac5347a0ece7
2016-08-01 02:08:38 -07:00
dianlujitao
5b6ff16746 sepolicy: Fix MTP for sdcardfs
Change-Id: I8fe011140798925ee5b5926355868febd595a788
2016-07-29 21:25:15 -07:00
Abhisek Devkota
fdd1ffcc19 Gello artifact: v29
Change-Id: I5466ef563b337efb9147a08b5c253454d1263e29
2016-07-29 13:02:12 -07:00
Christopher N. Hesse
fb00ca6f88 Add missing OnePlus Two contributors
Change-Id: Ia3c9f5b61869951b7401c46b26fca1e8b3b6f151
2016-07-29 12:14:59 -07:00
Steve Kondik
fa37074c9f sepolicy: Let the IO prefetcher look at sdcardfs
Change-Id: Ie618887fbf292c702df720f04840ab3c8ff222f7
2016-07-29 04:24:05 -07:00
Steve Kondik
03ce400352 Revert "extract_utils: Don't write multilib tags on 32-bit only devices"
* Not gonna work without preparsing all the lists combined together.

This reverts commit b7b7f88443.

Change-Id: I63ceead414d7f8416e2c2c8e4b12098077b545e2
2016-07-29 04:24:05 -07:00
Luca Stefani
630d7ed01f cm: sepolicy: Allow system_server dir read access
Change-Id: Ia6fc26781c1cb576c2feee3e941d7206e7878bb5
2016-07-28 20:21:24 -07:00
Bruno Martins
3b96ba5841 cm: extract_utils: Rewrite file existence checks
Change-Id: I7c1584ec7162e0e18fae471e6aceef6123a5d10b
2016-07-28 16:24:28 -07:00
Steve Kondik
b7b7f88443 extract_utils: Don't write multilib tags on 32-bit only devices
Change-Id: I41b6f71c45a566ba1b4dd5cb72c4ebf44388b363
2016-07-28 16:12:19 -07:00
Steve Kondik
a991cf1f9b extract_utils: Add support for files in rootfs
* A final "rootfs" tag in the last column will place
   the chosen file into the ramdisk
 * Currently only supports files in /sbin
 * Cleaned up usage of class-specific flags
 * Simplified code

Change-Id: Id823d70aab51f8767522f697eaf65f52fc64b94b
2016-07-28 16:12:19 -07:00
Steve Kondik
441752f996 sepolicy: Allow media_rw write to fix camcorder denials
Change-Id: Icc892d8b2c34950431564738b66d8e8baefc62be
2016-07-27 23:58:08 -07:00
Marcos Marado
73709d3ffb Add missing truphone APNs
Issue: CMM-42
Change-Id: I31a1f2774b9de8278ec67810ca55503800cc8a06
2016-07-27 03:05:28 -07:00
Steve Kondik
6905134e76 sepolicy: Revert custom sdcardfs policy in favor of AOSP
* Upstream policy showed up in AOSP this morning. Dropping
   ours in favor of AOSP.

Revert "sepolicy: A few more denials"

This reverts commit 522c421f66.

Revert "sepolicy: More policy for sdcardfs"

This reverts commit 4a24ffeb6a.

Revert "sepolicy: Add sdcardfs support"

This reverts commit ba87877dd0.

Change-Id: I4f066b9bd5d8c899137fcaa12999f2547f9e0ec0
2016-07-26 18:43:41 -07:00
Steve Kondik
522c421f66 sepolicy: A few more denials
* Hopefully the last of the sdcardfs denials

Change-Id: I2a9fbc33696d2517fd2596f64f55656a14d66c2c
2016-07-26 07:53:16 -07:00
Steve Kondik
4a24ffeb6a sepolicy: More policy for sdcardfs
Change-Id: Iddc6f86bd1e4b9942139acf9b7e75279b3865b8a
2016-07-25 22:11:33 -07:00
Roman Birg
cdb0ea61fa cm: include CMAudioService in builds
Change-Id: I318f6f9aca96edba056c1a5a2dc010279f389e78
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-07-25 09:56:30 -07:00
Jason Riordan
005d47e04c Movistar [ES] APN updates
Change-Id: Ifae773b9f0de7813feefa9dcfdd79bce79406436
2016-07-25 01:28:34 -07:00
Steve Kondik
d4a0f0adff sepolicy: Add rule to allow sdcardfs to read package list
* Do not carry forward into N release.

Change-Id: I1f90695c48ac5a19848efafb146eabdff1ca4b6a
2016-07-24 04:28:55 -07:00
Steve Kondik
ba87877dd0 sepolicy: Add sdcardfs support
Change-Id: Ib9486b0ad7ed0e4c53494271e6fd35bcfedba40a
2016-07-24 00:16:22 -07:00
Bruno Martins
6fed2cf409 sepolicy: Allow batterymanager and batteryproperties services to be found
Change-Id: Ia2a1734a74c4bba0bc09f150442aec573d769370
2016-07-23 20:51:04 -07:00
Abhisek Devkota
df0ba3a0fe Gello artifact v26
Change-Id: Icd15825eff33a3f5d14108186a111a77cd9f2770
2016-07-22 08:24:46 -07:00