Commit graph

2904 commits

Author SHA1 Message Date
Chippa-a
ce6d812fab
cm: overlay: Use restart action
* Google has added its own implementation in 7.1

Change-Id: I0a4890adcfeaa4a7b6463754c6b4d73b73e5f12e
2016-10-27 14:54:31 +03:00
Steve Kondik
36ae30b879 cm: mka nicer
Change-Id: Iec38c313c9eb88a74c7bf7a5cf424131b568ac0a
2016-10-26 17:37:40 -07:00
Jeff Sharkey
e4831010f3 Follow FBE refactoring.
Bug: 26668510
Change-Id: I4460bf8e1c58eb15afe067f1d3811d118540e6ac
2016-10-26 17:15:18 -07:00
Steve Kondik
2fd50c4369 Merge branch 'cm-14.0' of git://github.com/CyanogenMod/android_vendor_cm into HEAD 2016-10-26 17:08:11 -07:00
Michael Bestas
89450fb971
More 14.0 -> 14.1 changes
Change-Id: I38a2589e5743aac0d8b13799b3d79cb2dab8e5d6
2016-10-26 22:35:18 +03:00
Adrian DC
13512fb86f backuptool: /system/addon.d explicit creation
* Add the addon.d folder creation to preserve_addon_d
    before copying the files back to /system/addon.d

 * On CM based ROMs, the path exists for built elements,
    but on other AOSP-based ROMs where this script might
    be used, the folder might not be created on build and
    copy fails, breaking backuptool on second ROM update

Change-Id: I7438823b8d7ad0972649d2bf491d0f6fe423bc99
2016-10-26 02:30:46 -07:00
Marc K
97b035dd88 envsetup: dopush: fix finding files to be pushed with ninja
Change-Id: I27b4e62d08dcd2a6dc95519197c6284c8c44636d
Signed-off-by: Marc K <morckx@gmail.com>
2016-10-26 01:12:03 -07:00
Marc K
2be9cac81b envsetup: dopush: allow (symbolic) host names for adb connect
Change-Id: Icfab874abab64b0a3e5e63091cb6c25dd9630737
Signed-off-by: Marc K <morckx@gmail.com>
2016-10-26 01:11:49 -07:00
Marc K
299137f39d envsetup: dopush: fix test if device is in recovery
Change-Id: I1687b879e00918813886b2c9c54535376aa62d99
Signed-off-by: Marc K <morckx@gmail.com>
2016-10-26 01:07:17 -07:00
Steve Kondik
7d4f0f2965 cm: We are cm-14.1
Change-Id: Ic8079001ad923c49bd8fe3e88c6a01f9448f1aec
2016-10-25 20:35:15 -07:00
Michael Bestas
e724a1c496 envsetup: Fix cafremote/aospremote for projects with non-standard paths
* Fix -caf and -caf-<platform> projects
* Fix AOSP HALs that are synced in "/default" subfolder

Change-Id: I33cc344a3234de6698676c32035622acbec03dd1
2016-10-24 10:40:12 -07:00
Ricardo Cerqueira
5bf45276b7 charger: Use the same metrics as recovery to pick a density
Change-Id: Ieb046c493ca3d367cff570bd08d38c84c74e5fbd
2016-10-24 05:15:30 -07:00
Michael W
4cc370ebe5 cm: charger: Center capacity and vertical offset
* What the title says :). Looks way better
* Use half a vertical font size as offset

Change-Id: I3e5cc039932a1016d419c4dbe5af5f7673631733
2016-10-23 22:49:49 -07:00
Luca Stefani
ab9ffbc1b4 Fix Truphone APN
Change-Id: I1027b6e3727e7b15bdc8e70f01557cbb42540753
2016-10-23 09:47:23 -07:00
amilcarpereira
a3a9a1379d Add a new APN to device/sample/etc/apns-full-conf.xml for new mcc/mnc assigned to Truphone
Change-Id: I67cd4cf7ef40e69c3f421a23c5385a2ab2a674f9
2016-10-21 16:47:53 +01:00
Steve Kondik
df96b447ef cm: Re-add WallpaperPicker
* And a little OCD organization

Change-Id: I139a0a704a06fae581175e6523a34e372e04646b
2016-10-13 13:46:52 -07:00
Sam Mortimer
2e994ce952 Update to smali/baksmali v2.2b3
The cli changed slightly:
https://github.com/JesusFreke/smali/wiki/SmaliBaksmali2.2

And, for deodexing angler at least, baksmali needs access to boot*.oat
rather than just boot.oat so point at source rather than copy


Resurrected from http://review.cyanogenmod.org/#/c/164958/

With fixed adb $SRC deodexing

Change-Id: Id6ae0e9d7a5554687124e99fb03a808f3115bb95
2016-10-13 04:13:32 -07:00
Zhao Wei Liew
763438beef cm: changelog: Update changelog for 13.0 releases
Change-Id: Ic46cafca504c862cae84a2a9264b0ffb0e87933e
2016-10-13 14:30:36 +08:00
Zhao Wei Liew
e6ba745017 cm: config: Build telephony-ext for all devices
TeleService (com.android.phone), which is built on all devices,
also has dependencies on telephony-ext. As telephony-ext is
currently absent on non-telephony devices (most tablets),
FCs are rampant on these devices.

Build telephony-ext for all device configurations to fix
the dependencies.

Change-Id: I4094ace3764d9f41ed28fbb62067ad2b2228c3a7
2016-10-13 13:57:44 +08:00
Arvin Quilao
e3ed12c546 Gello artifact v40
Change-Id: Iac70d70296244863ae766facc1a926745fe48e63
2016-10-11 02:41:41 +00:00
Steve Kondik
ae07227c2d sepolicy: Allow apps to find the weather service
Change-Id: I9cc5ca54eef9e9a32851c6ef896ee518a44349a8
2016-10-09 03:44:51 -07:00
HashBang
d303031019 extract_utils: Do not change app SRC if there are arguments
Do not prepend app or priv-app to the src when a path is explicitly
given as an argument. This fixes the SRC path in such conditions.

Change-Id: I43370f17fe224df323fcfa9b0d5eae4ee2996524
2016-10-06 18:01:56 -07:00
Rashed Abdel-Tawab
d53bff1f45
extract_utils: Add ability to set custom device guard
In some cases we may not want to check against TARGET_DEVICE so allow
setting a custom variable to check against

Change-Id: Ia2fb338f453137a95a59c6940b0cc16b261505bf
2016-10-04 16:02:09 -04:00
Rashed Abdel-Tawab
5f173157c4
extract_utils: Add ability to set custom vendor.mk name
In some circumstances we might want to set a custom vendor.mk
filename. If not set, then just default to the current device name

Change-Id: Icb59ebee67ce17b41ac613020685773efb01103d
2016-10-04 16:02:09 -04:00
Zhao Wei Liew
805a7a25e5 cm: config: Select the appropriate default alarm tone
In Nougat, CAF removed Helium as it is a duplicate of Hassium.
Switch back to choosing Hassium as the default alarm tone.

This essentially reverts commit 2b999181c8.

Change-Id: I62ff1565c76fddf2f744c26c44f30e940cf25b7b
2016-10-03 15:30:05 +08:00
Felipe Leme
49b6048db4 Added option (-z) to generate a zipfile with the bugreport.
BUG: 22489826
Change-Id: Ic5dabda666991a7c2cd1954a8e989c8b51a64f37
2016-09-30 14:44:13 -07:00
Steve Kondik
90db8adf1e sepolicy: Fix class* property trigger denial
Change-Id: If22f46b9bc8b3acd80c83e98de84cd77b34157a1
2016-09-29 22:31:25 -07:00
Michael Bestas
1d55ece94a
kernel: Default to androidkernel toochains
* androidkernel is a set of toolchain symlinks for kernel builds that
point to the regular toolchain binaries, except with ld pointing to bfd
instead of gold.

Change-Id: Id1e2d3b1c50db581bff13cfa00b5b35d5badb8ed
2016-09-28 20:16:25 +03:00
LuK1337
d823ca236f sepolicy: Fix adbsecure_prop denials
Change-Id: I78a5570f330e703b7f7ac2b34370a83bbb2a0d87
2016-09-26 16:47:24 +02:00
Simon Shields
2bdb18f3cd repopick: fix indentation derp
Change-Id: I0673779363b1963219a2765399f2e20c9cdd78a8
2016-09-26 17:52:03 +10:00
Prasath Balakrishnan
f29fa7f711 Telephony(MSIM): Add telephony-ext to boot jar path and PRODUCT_PACKAGES
Include the telephony-ext jar library in PRODUCT_PACKAGES
and in boot jar path.
The telephony-ext jar is needed for MSIM manual provisioning
and other telephony related functionalities to work.

Change-Id: I049ec39e88ec734e3770a9439d4c7ba8949b4357
2016-09-25 22:51:27 -07:00
Steve Kondik
6a3782824f cm: Add missing bits from system-ccache commit
Change-Id: I5936a9a3f3ded09aa7d3ec4f1061cbccf324c759
2016-09-25 22:37:01 -07:00
Michael Bestas
3952f6cb0d Import CM build additions
Change-Id: Id1eb902129754e61dfcc2b5d95c3a75172ff0c5e
2016-09-25 22:32:37 -07:00
Arne Coucheron
61536d4497 cm: Minor config reorganization
* Move extra tools to common.mk. These are needed for CMFM, and should
   be included for all.
 * Move PhotoTable, LiveWallpapersPicker, SoundRecorder and Screencast
   to common.mk. These apps are extremely small, and only takes up
   less than 1 MB combined.
 * Remove obsolete live wallpapers.
 * Move sound property overrides to common.mk. There's no need
   to have them spread across several files.
 * Include CM audio files from common.mk

Change-Id: If308506cd9cd0a75014de988c242d700db5d16f3
2016-09-23 09:30:01 -07:00
Steve Kondik
0525ff2a9e sepolicy: Fix a few denials
* From sysinit and adbd

Change-Id: I56505e34774f9697a7f336efb43808a651a871f8
2016-09-20 02:41:48 -07:00
Abhisek Devkota
bb358130b8 Gello artifact v37
RM-290

Change-Id: Ied5055a31b7c56d9886d13fe075c500953e2f48f
(cherry picked from commit 4b6f22700fbd66b74c3e1941a3d28ef8e99f2a84)
2016-09-18 20:15:10 -07:00
LuK1337
314a2bc163 sepolicy: Allow vold to getattr on mkfs_exec
* Fixes denial while trying to format external
  SDcard as adopted storage.

Change-Id: I244ec9b5886888e1cbe488c671b9862b653f73a9
2016-09-18 09:02:08 -07:00
Steve Kondik
b5ee377780 cm: Enable stagefright-plugins
Change-Id: I9cce46504937783b607781977e5f570ac11f75f7
2016-09-14 16:06:14 -07:00
Brandon McAnsh
e9c25ce206 cm: Update disabled components for nougat
Change-Id: I88cc8e6d89e7c9b23c36e627877f3b3e906283fd
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-09-13 23:16:57 -04:00
Brandon McAnsh
8209a9bb47 overlay: Keyguard: Default amPm visibility to false
Change-Id: I6699b3fb8a87d1d20a13c53a54ba6aa166dd942a
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2016-09-11 03:07:36 -07:00
Zhao Wei Liew
726a4fcf28 cm: etc: Mount BFQIO cgroup as /dev/bfqio
AOSP doesn't mount cgroups in /sys/fs/cgroups anymore.
Follow the convention and mount BFQIO cgroups in /dev/bfqio.

Also, remove the ioprio write as we only need ioprio_class
when dealing with 2 different priorities.

Change-Id: I8ff6c601547c445368e80832e736bb926d86b4d1
2016-09-10 18:29:51 +08:00
Zhao Wei Liew
c4e4e0df41 cm: Create cgroup mount point for BFQ
The global init.rc no longer creates this for us in N,
but we still need it for BFQ cgroups.

Thus, create the mount point in the CM vendor init.rc.

Change-Id: Ice5ff15737329aefd1dad2401bb530a18008fc4d
2016-09-08 03:49:37 -07:00
Zhao Wei Liew
087ec8386d cm: etc: Remove unused superuser.rc import
We are now using the LOCAL_INIT_RC macro for the su daemon.

Change-Id: I333e31179503e4625ec166adeebdce05731f6d8f
2016-09-08 03:49:37 -07:00
Caio Oliveira
58c7d40ec9 cm: charger: Add support for Watch/LDPI devices
* resized by 75% from MDPI

Change-Id: I52fa71feb3813b412d01508c48699778a5a45d5f
Signed-off-by: Caio Oliveira <caiooliveirafarias0@gmail.com>
2016-09-08 03:39:16 -07:00
Steve Kondik
52ffa567f5 cm: New CMSDK API level 7 - Guava
Change-Id: I38bd9b5dea02593801f130a7d790d0dddb1e800e
2016-09-04 04:48:03 -07:00
Steve Kondik
4992d385e7 cm: Update projects and overlays
* Disable non-working stuff (themes)
 * Re-enable now-working stuff

Change-Id: I929fabb2d9068616c48b5f16672cbb66f2600490
2016-09-04 04:46:47 -07:00
Steve Kondik
5b98d78fa9 sepolicy: More cleanups for N
* Fix up recovery stuff
 * Disable themes until ready
 * Disable CMUpdater until ready

Change-Id: I99073b91fbd1ec16e59602da644727a0d019f330
2016-09-04 04:46:06 -07:00
Steve Kondik
a3765ca9ef hax: Disable system-api generation
* Do we even need this? CMSDK doesn't annotate anything as SystemApi,
   and it fails on N.

Change-Id: I73e1021079e05ab56f96008446f12b086d8b41c6
2016-09-04 04:40:57 -07:00
Steve Kondik
21e414adad cm: Build CMParts
Change-Id: I9b4c7ccd478751ae05c68c00ff1939b0f722e03b
2016-09-04 02:52:23 -07:00
Steve Kondik
960c4f46f0 cm: Add partner makefile
Change-Id: I81d46bb7f492abd95be65af58514ae395d9c6cfc
2016-09-04 02:52:04 -07:00