Commit Graph

2842 Commits

Author SHA1 Message Date
codeworkx
b7c8dec762 cm: sepolicy: allow platform apps to crop user images
Needed for gallery3d when setting contact pics

avc: denied { write } for comm=4173796E635461736B202334
path="/data/data/com.android.settings/cache/CropEditUserPhoto.jpg" dev="mmcblk0p50" ino=65849
scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=file
permissive=0

03-05 13:07:40.741  22060-22207/com.android.gallery3d W/System.err﹕ java.io.IOException: write
failed: EACCES (Permission denied)

Change-Id: Iaa7f75abfd41c86e1a321d5f35b950f9dc7eb930
2016-03-16 15:48:15 -07:00
Adnan Begovic
f3610f55e7 cm: Commonize cmsdk specific targets.
Change-Id: I5e2f0b84ed34244b7549daf91053258193dd716f
2016-03-15 15:22:38 -07:00
Adnan Begovic
649c8328e5 cm: Remove externalCMServices overlay. (in cmsdk)
Change-Id: I518653830afd40a187bbbc56e145230671dbac49
2016-03-15 14:49:21 -07:00
Luca Stefani
8f239ee5c9 Add Z00L maintainers
Change-Id: I2cb96af2bb6dd270643d33882a715ae094f96f29
2016-03-15 21:17:24 +01:00
Abhisek Devkota
cf03e166be Bring back Exchange2
Dropped out via r22, but we want this

Change-Id: Iec52790d7c69594d1101d9062fb649a3aca866ab
2016-03-14 12:46:54 -08:00
Kasual
8b0f16fc3f apns: fix build
Change-Id: I4136da8c23f4508b41099178837b2cdce4aa2f01
2016-03-11 21:41:56 -05:00
Steve Kondik
bc61d8609f apns: Add ATT Nextgenphone
* For AT&T IPV6 / VoLTE enabled devices.

Change-Id: I403de7d4e52eb4e9d13ad221e61b9a8b8336a01b
2016-03-11 17:38:12 -08:00
Abhisek Devkota
73acac5b16 Resolve Orange RO authtype
Change-Id: I81b78437e5e7b90ce8958973804e6a183f6e7a3a
2016-03-11 09:52:09 -08:00
Ricardo Cerqueira
15c9ef4cc3 config: Lower the priority of vendor/cm overlays
The priority order for overlays is PRODUCT > DEVICE > LOCAL
Having PRODUCT here was overriding all of the DEVICE_ specifics
mentioned in device repositories, which was not the intent.
vendor/cm is present as a set of sane defaults, but for the most
part these overlays are intended to be overridable by the device
if needed.

The logic is that PRODUCT_PACKAGE_OVERLAYS should be used by a
particular product while DEVICE_PACKAGE_OVERLAYS is used by
several products that share common device configs. Yeah, the naming
is counterintiuitive, but that's the implementation in
build/core/package_internal.mk

Partially addresses CYNGNOS-2229

Change-Id: Icfbc92593e37f3c00c3d26dd09e08d09267621ed
2016-03-11 14:10:09 +00:00
Adnan Begovic
6a04a23a52 cm: Always verify against current CMSDK version.
Since cmsdk prebuilts lives in a single master branch,
  previous branches that apicheck will fail since they'll
  verify against an api that exists in future releases.

Change-Id: I56594d075b89cb1a3d7a606cc9c1699dfffd94cb
TICKET: CYNGNOS-2220
2016-03-10 12:25:26 -08:00
Evan Widger
fd018d5253 Modify APN for Orange Romania
per https://jira.cyanogenmod.org/browse/CYAN-7253

Change-Id: I56f2b0d390a8b5af36dceacc522a1d38da0c73e8
2016-03-10 11:03:50 -08:00
Kasual
8ab71a00ba vendor: Add maintainer for LG G3 (Sprint) (LS990)
Change-Id: I23b4bbc9ffeb6a31bd5f087ba36b6e1df2836fec
2016-03-07 17:16:33 -05:00
LuK1337
6f978dca19 Add Z00T maintainers
Change-Id: Iad23d053ec3fd4dc809e60f5b5f05bb3fb26cec4
2016-03-07 17:53:49 +01:00
Raj Yengisetty
fd28e9d819 Include AmbientSDK artifact
This module will be required by a number of packages across the
build tree.

The artifact is currently hosted on Maven Central and the version
defined in the mk file is the latest version of the artifact
available in the repository.

**Note: this change will require Maven to build (v3 is recommended).

Change-Id: I9459ae21b0f4c8f88d2b3a2b5014a36b17b9651b
2016-03-07 07:32:27 -08:00
Adnan Begovic
651dd50e59 cm: Create cmsdk coverage task.
Add ability to `make cmsdk-test-coverage`
  to generate an html page which denotes how
  much the testing package from vendor/cmsdk
  covers public interfaces.

Change-Id: I76556df1822934a6b7e86ebf2ff42e302acff46d
TICKET: CYNGNOS-2189
2016-03-04 15:24:11 -08:00
d34d
e7036e8387 Themes: Refactor themes to CMSDK [3/6]
Change-Id: Ia8f3a5080f2ca2cecc3474058db4970c5661c89c
TICKET: CYNGNOS-2126
2016-03-01 09:57:15 -08:00
Ashwin Ramesh
7ad2824e37 vendor: Add maintainers of OnePlus X (onyx)
Change-Id: Idb645be038d29291afd4e7c7846d86712c5a6e63
2016-03-01 08:27:33 -08:00
Evan Widger
92b72594da add yufone APN
per https://jira.cyanogenmod.org/browse/CYAN-7425

Change-Id: I4feedaa1303ccc98876b5160b1866a277c2ceac3
2016-02-24 13:36:17 -08:00
AdrianDC
36cb29d509 recovery: Add new rule for sys.usb.ffs.ready
init: avc:  denied  { set } for property=sys.usb.ffs.ready
    scontext=u:r:recovery:s0 tcontext=u:object_r:ffs_prop:s0
    tclass=property_service

Change-Id: Id3441ccc3c6a8915a5fdf50efd8c617d1242868a
2016-02-23 16:28:56 -08:00
FrozenCow
ec0322e31b cm: sepolicy: allow kernel to read storage
This fixes issues where the kernel would need to read and write
files from internal or external storage. More specifically, the
kernel needs these rules for USB mass storage to work correctly.

Change-Id: I8cb0307727bc0c464d5470e55275ad808e748ee0
2016-02-20 14:26:41 -08:00
Dave Daynard
4a2f567dc9 init: add permissions for max_freq_hysteresis node
Change-Id: If556282e37daabf270be4af922c7c9a4112c3771
2016-02-20 09:14:46 -08:00
Matt Mower
2880cc802b apns: Net10 310410: Fix port
The 8080 port appears to be only for the T-Mobile mvno, not the AT&T
mvno.

Change-Id: I44330aaa98fdcc9b577ed507ed0be093750c0afe
2016-02-20 08:59:12 -08:00
Wolfgang Wiedmeyer
9c205f0603
sepolicy: remove mac_permissions for proprietary google apps and cmupdater
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-17 01:16:14 +01:00
Wolfgang Wiedmeyer
69f77a4cfd
sign-build: remove hack to force rebuild of recovery
sign_target_files_apks is now fixed and properly recreates boot and recovery images

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-16 23:33:01 +01:00
Scott Mertz
2b4ec05fc0 Revert "recovery: default recovery updating to false"
The default behavior is as if this setting is off.  There's no need
to set it.  Settings will now set it at boot if not configured.

This reverts commit e0e8c2772e.

OPO-490
Change-Id: I77963dfc9eea8ece25ed1b6b17bd2c6936ae69ee
2016-02-16 12:02:38 -08:00
Wolfgang Wiedmeyer
cd25e76555
sepolicy: allow bootanim and surfaceflinger execmem and access to ashmem
This allows the device to boot with software rendering
using build/target/board/generic/sepolicy as reference

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-16 17:32:25 +01:00
Wolfgang Wiedmeyer
49500810a7 Merge branch 'replicant-6.0' of https://code.fossencdi.org/vendor_replicant into replicant-6.0 2016-02-16 14:49:31 +01:00
Pat Erley
18037e7462 sepolicy: Allow system server and uncrypt access pipe
System server needs to be able to create a pipe in the cache partition
for uncrypting OTAs. Uncrypt needs to be able to read and write the
pipe.

Change-Id: Ie03ee7d637eaecff8fe38bf03dc733b3915cd336
2016-02-16 14:49:04 +01:00
Arne Coucheron
3f4d8432e3 Cleanup APN list for Norway
* wap? WAP? What?!? Are we living in the dark ages with our dumbphones? :)
 * Remove redundant Telenor entries
 * Tele2 are part of NetCom now, and all users have been transferred there
 * Talkmore and djuice can use the Telenor APN
 * Remove providers that doesn't exist anymore
 * Update some APNs according to info on providers webpage
 * Consolidate some APNs

Change-Id: I2bd6441e476aebf1c0c63b34d659efce40e42847
2016-02-16 06:30:45 +01:00
rogersb11
cb8c139a35 Contributors: Update Note 2
Change-Id: I8e7b11ed12dd3ef8c7d542bcb0204c72f48590e9
2016-02-13 19:38:01 -08:00
Wolfgang Wiedmeyer
87fa0e5b22
overlay: remove stats_collection setting from default values
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-13 10:38:38 +01:00
Matt Mower
137ba2e278 Contributors: Add mt2 dolts
For the record, I do not like my name being first here. When all is
said and done, u-ra chose his handle unwisely and is relegated to the
end of the alphabet -- a doltish move.

Change-Id: Ib1f15af12c1118e6fda5673b08e870dfdb941e15
2016-02-12 10:20:30 -06:00
genesixx
3f9f7a6b3d contributors: add LG V10
Change-Id: Ia791576dee92aad832b83e7e28a8aeaf2fbcb487
2016-02-12 02:59:20 -08:00
Adnan Begovic
97ac30ec9c cm: Set explicit dependencies on stubs for checkapi-cm.
Change-Id: I2c8b8425262a6812f1061326c55ffc7418967444
TICKET: CYNGNOS-1950
2016-02-10 15:22:17 -08:00
Pat Erley
15697319ca sepolicy: Allow system server and uncrypt access pipe
System server needs to be able to create a pipe in the cache partition
for uncrypting OTAs. Uncrypt needs to be able to read and write the
pipe.

Change-Id: Ie03ee7d637eaecff8fe38bf03dc733b3915cd336
2016-02-09 13:24:46 -08:00
Adnan Begovic
f84ce1b738 cm: Fix checkapi makefile typo.
Change-Id: I96d1acba8e8f665dabf6d18dac5fc5c3132ad0f7
TICKET: CYNGNOS-1950
2016-02-09 11:38:40 -08:00
Adnan Begovic
e738087fdd cm: Provide verbosity for checkapi-cm.
Also a helper text for how to unbreak yourself.

TICKET: CYNGNOS-1950
Change-Id: I8311e19905b507c3a65eba37a6b4ea6606108e4f
2016-02-09 11:05:03 -08:00
Wolfgang Wiedmeyer
6d31d282c0
most of jack and jill is now build outside their respective repositories
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-08 18:04:54 +01:00
Simon Shields
ce212158a5 contributors: add i9300
Change-Id: I947ac687e7604c41bae51c4f9a66a15bb041c34d
2016-02-08 08:55:56 -08:00
Michael Bestas
d914b185b9 Remove leftover profiles entry from power menu
* No longer available

Change-Id: Ifac7e1181dc53af5788f54444ef75a345a888fa2
2016-02-08 05:55:50 -08:00
Wolfgang Wiedmeyer
81c0e370a4
sign-build: enforce abort on error
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-06 18:02:17 +01:00
Wolfgang Wiedmeyer
c49058c815
add script to properly sign builds
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-06 11:16:34 +01:00
Wolfgang Wiedmeyer
290e1e924f
build-toolchain: add copyright header
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-05 19:58:38 +01:00
dianlujitao
8d21e67e9f contributors: Add cherry and nx510j
Change-Id: I454553414ff39e15dd850b636047532e4c2f4b77
2016-02-05 17:18:16 +08:00
Wolfgang Wiedmeyer
9a1ff87c49
fix path for org.cyanogenmod.livelockscreen.xml
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-02-03 12:52:30 +01:00
Wolfgang Wiedmeyer
5b2d5516ff
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_vendor_cm into replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>

Conflicts:
	overlay/common/frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-sw600dp-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-sw720dp-nodpi/default_wallpaper.jpg
	overlay/common/frameworks/base/core/res/res/drawable-xhdpi/default_wallpaper.jpg
2016-02-03 12:23:07 +01:00
Michael Bestas
34b5b9756c cm: Add live lockscreen feature
Change-Id: I62e5229c9688619c2f7809f001d761b4bdf13a10
2016-02-02 12:23:43 -08:00
Matt Mower
144291005d apns: Cricket AIO 310150: Remove duplicate
Change-Id: I7f68a8bb531e02fe74971565a425327e79a70604
2016-02-01 09:10:28 -08:00
Matt Mower
92a49a949d apns: T-Mobile 310260: Compatibility update
* Allow both IPv4 and IPv6 protocols for data and mms
* Provide an apn name for the initial attach profile

With respect to initial attach, it seems at least the qcom ril blobs
on my device require the apn field to be set. The following error is
produced and data will not connect on boot unless radio resets (e.g.
airplane mode toggle) so that the default APN is used.

E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_data_request_set_lte_attach_profile: ril_apn (provided NULL) is mandatory param for looking up profile.
E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_data_request_set_lte_attach_profile: EXIT with FAILURE
E RILQ    : (0/231): RIL[0][cmd-111(680)] qcril_qmi_nas_set_initial_attach_apn: Data RIL call for Attach APN failed with Error code 2

Change-Id: Ie983474780a7443c870911994234ea2f2025de12
2016-01-29 20:44:14 -06:00
Wolfgang Wiedmeyer
46b133c041
toolchain: add jack/jill build
remove patch, commit is now included in prebuilt ndk

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
2016-01-29 01:22:01 +01:00