Commit graph

2693 commits

Author SHA1 Message Date
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
Steve Kondik
79fa59b3be extract_utils: Add flag to disable pinning
* We might want to disable pinning entirely for an extract run.
 * Set DISABLE_PINNING=1 to turn it off and override everything.

Change-Id: I1be90dda68f0de1c5f5a70c946052d70bfaab7ed
2016-09-04 02:52:04 -07:00
Adrian DC
9b4114ee47
vendor: cm: Updates for CM-14.0
* Fix the backuptool for the new version
 * Update text references

Change-Id: I3d557cc4eb5feb07ebbff372dae6d165d29d94ee
2016-09-03 20:31:52 +02:00
Steve Kondik
7561d19795 extract_utils: Fix device online check
* No need to look for /sbin/recovery as adbd will report
   the device as being in recovery mode already. Also, this
   check appears to hang on N.

Change-Id: I3bcb427835ae3cd37c7ea56cbc57bba0d18fcc04
2016-09-02 20:43:02 -07:00
Dan Pasanen
a70323c1d0 common.mk: don't forget your quotes
* Not having these causes kati to wig out in unpredictable ways

Change-Id: I9d0932f5e5719204eae75c25acfdf60e9c533d3f
2016-08-30 14:52:35 -05:00
Hashbang173
3b3a0e1c8b extract_utils.sh: Disable dex preopt on prebuilt apks
Change-Id: I230f1a8bb95cbc1df36bc652b03e58829ec278f5
2016-08-28 20:50:03 -04:00
Luca Stefani
2580197b78 config: Don't include cmsdk_common if cm sdk is disabled
Change-Id: Ie5ef054213c5804352ae0e076d515b1de9e11396
2016-08-26 23:51:44 -07:00
Luca Stefani
9b58af504a build: Kill colors
* Also exclude apickeck if cm sdk is disabled

Change-Id: I48fbb3b2c3130d2a5d49ca726883babea4e5a455
2016-08-26 23:49:44 -07:00
Luca Stefani
90565e3335 Remove unexisting overlays
Change-Id: I5a4c334b035ad78d85686a3270547b3dc67f64d1
2016-08-26 23:48:16 -07:00
Steve Kondik
14761fd865 Revert "selinux: Add rules for the audit daemon"
* No longer used

This reverts commit 15df17f9ac.

Change-Id: If2a187179e4c93e2afc78be4cb863a48dbbe1dd0
2016-08-26 03:15:10 -07:00
Steve Kondik
aa38b56dac sepolicy: Clean up policy for N
Change-Id: I39ddec0f60a9995de13b82f09705d246d7e0f454
2016-08-26 02:52:20 -07:00
Luca Stefani
7d2b6d238b cm: charger: Fix cm healthd
Change-Id: Ibd8e9470e01d14a11941e47c099d6dd13d5d51cc
2016-08-25 15:08:19 +02:00