Commit graph

2823 commits

Author SHA1 Message Date
Christopher N. Hesse
70658805a6 bootanimation: Use mogrify to convert images in place
Fixes bootanimation generation for Darwin/BSD.

Change-Id: Id9e38bcb9db7b550f22bda1250dbb515599e8f93
2017-02-06 20:11:19 +00:00
dh-harald
7ee326d463 LatinIME: re-add (fixed) Hungarian dictionary
Change-Id: Id9e57161a4afc7cbb414d91be615d75d1c69f914
2017-02-05 16:36:38 +00:00
Zhao Wei Liew
c85375217f cm: charger: Correct res_create_multi_display_surface() usage
Number of frames comes first; frames per second comes after.

This fixes commit 7d2b6d238b.

Change-Id: I06218a01242a327cbb9be08d3efbb3d1e4cbb217
Issue-Id: LINN-11
2017-02-05 13:24:09 +08:00
c457
9641864ebe contributors: Add Axon7 maintainers
Change-Id: I60e1fcebd4583ec88ee2369f53fbf29a021e6962
2017-02-04 22:03:15 +00:00
FireLord1
0a107468ca vendor: fix lunch combo name to lineage
Change-Id: Iad70988cba9bccdeb51681e806e8b96be3551f51
Signed-off-by: FireLord1 <firelord.xda@gmail.com>
2017-02-04 12:15:28 +00:00
Zhao Wei Liew
cc61a1c4d8 cm: Enable long-press on power in suspend by default
As of fw/b change I14365389990eb06daaa127f5db66df45abf6c064,
we now have an option to long-press on power to enable torch.

To support this feature, we need to enable long-press on power
while the device is still non-interactive.

Change-Id: I4e2b4af86d397f68e119963054c33fd890c77cc5
2017-02-04 00:33:01 +00:00
Brinly Taylor
b5471a201c contributors: BQ updates
* bq-dev are now called "aquaris-dev"
* we've also taken over paella (aka picmt) as Marcos Marado is currently somewhat busy.

Change-Id: Id24ecbbe7558bcb48df12ab3e28d95b4f834849e
2017-02-03 08:02:22 +00:00
nicknitewolf
0258f3e8a2 apns: Add SingTel hi!card sim APN
Change-Id: I0715dcdfb7ff845f0d156e2a0919ae6ce02a72b0
2017-02-03 06:09:18 +00:00
Daniel Marsee
a434e63395 apns: Update H2O Wireless for LTE
New H2O Wireless APN to allow LTE is PRODATA, not att.mvno
New settings were copied from 
http://easygo.h2owirelessnow.com/easygo/images/english/APN_SETTING-2014.pdf.

Change-Id: Ic09f9c9a8db90877fa2842d076762a14bdf154ca
2017-02-03 06:09:05 +00:00
Zhao Wei Liew
087b53c654 cm: overlay: Settings: Enable gesture settings
We'll be placing our custom touchscreen gesture settings
into the AOSP gesture settings.

Change-Id: If9d5dbf155415a01eaa96e21749517c1a8e135e7
2017-02-01 01:21:15 +00:00
Zhao Wei Liew
22ccf5ef16 cm: contributors: Update translator list
Based on an export of Jan 30, 2017

Change-Id: Ia2c2a318b481508840ffc425f45b29e24bc1eb6d
2017-01-31 07:19:13 +00:00
Joey Rizzoli
2656197902 cm: add LineageOS recorder
* remove aosp soundrecorder and cm screencast
* add only on full builds

Change-Id: I68f7c62d2f78ce3d34e3ecaa554544d11fd7cc92
Signed-off-by: Joey Rizzoli <joey@lineageos.it>
2017-01-29 20:26:15 +00:00
Paul Keith
4f16373865 apns: Remove differentiation between FreedomPop GSM APNs
* Unnecessary due to differing mcc/mnc

Change-Id: Ica43ec381d4aa1873f2e332adf31381fac309e1b
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-01-29 19:46:02 +00:00
Paul Keith
6dc33ac9c5 apns: Correct FreedomPop US LTE APN
* This is not run on 3 UK's network, but AT&T's

Change-Id: I81c8881b04ebd5c7a24794835097056d9075d9a2
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-01-29 19:45:40 +00:00
Scott Warner
db8d7afd54 bootanimation: Limit the PNGs to 250 colors
Some systems seem to have with the convert command as-is:
convert: Cannot write PNG8 or color-type 3; colormap is NULL

Because we are writing PNG8, there area a max of 256 colors total.
Explicitly telling convert to stay under the max fixes the issue.

Change-Id: I595fb4503396ca20226ea76bf7b15ed9878752fd
2017-01-29 09:47:56 +00:00
codeworkx
33f4c4ca47 contributors: add LeEco Le 2 (s2)
Change-Id: I92809cf89a74887b9a244946376af03fbf8fcbfe
2017-01-29 10:27:44 +01:00
Rashed Abdel-Tawab
0180664282 envsetup: Use GNU sed commands if GNU sed is detected
The current check only checks for Linux, but many of us
use GNU sed on darwin as well, which means the non-Linux
command will fail, so read the sed version and use the GNU
command if GNU is found in the version string.

Change-Id: I7eefd0309751b069eef5e5e2b907d3d4f38f1638
2017-01-27 14:58:14 +00:00
Paul Keith
4e3f276736 apns: Add differentiation to FreedomPop Global GSM APN
Change-Id: Ifd45a3ce39002ff3f1668e03b2ddb822a096d326
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-26 14:47:43 -06:00
Paul Keith
3576ede78c apns: Add FreedomPop US LTE sim APN
Change-Id: I91a9f5d503e49161399ab3f73cad4d8a8174c40b
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-26 14:47:43 -06:00
Paul Keith
1bbf68ffee apns: Correct FreedomPop Global GSM APN
* Type configuration is empty, not "default,supl"

Change-Id: I4d9bb0e4d61058dbf256059c3ba6b217faabcf78
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
2017-01-26 14:47:41 -06:00
Eloi Carracedo
9ec810f683 apns: Add Freedompop foggmobile APN
Used for freedompop in Spain.
Change-Id: Iae465f70bc7dad535eea8f13de425857093045c3
2017-01-19 23:15:07 +00:00
Dan Pasanen
46973d7b79 bootanimation: get all the parts
Change-Id: I6f2b38a64629f918b79d28ba8b1d0d6535901142
2017-01-19 22:03:15 +00:00
Rashed Abdel-Tawab
b48c27f04f
build: Append -dtb to kernel image name if TARGET_KERNEL_APPEND_DTB is set
Currently devices that have TARGET_KERNEL_APPEND_DTB set also have to set
BOARD_KERNEL_IMAGE_NAME to Image.gz-dtb (or zImage-dtb on arm32) in order
to properly build the image with an appended DT. Automatially append -dtb
if TARGET_KERNEL_APPEND_DTB is set so BOARD_KERNEL_IMAGE_NAME does not need
to be set.

Change-Id: I5464c67092a7b9f86669902e5c0e4a47836f7cbd
2017-01-19 15:57:13 -05:00
Asher Simonds
070053c6ab cm: bootanimation: Improve boot animation
* Make it run at 60 FPS
 * Slow down the pace to make it more relaxed

Change-Id: I563b09da875c53f1cd456606ee7a6200e8841bb1
2017-01-19 13:25:07 +00:00
Adrian DC
3c6bdac74b extract_utils: Detect output existence before moving it for backup
* Avoids:
    Cleaning output directory (./../../../vendor/.../.../proprietary)..
    mv: cannot stat './../../../vendor/.../.../proprietary/*':
    No such file or directory

Change-Id: I3258e64f3997f139d8db4fb4e07d14964a469c78
2017-01-18 23:20:47 +00:00
Zhao Wei Liew
e796a286bd cm: bootanimation: Clear intermediaries
Make sure that any changes to the boot animation can be picked up
and rebuilt by running 'mka bootanimation.zip'.

Change-Id: Ice10e919df4c1b651c5c5dbb9700cab38eeac748
2017-01-18 13:19:59 +00:00
Asher Simonds
e035b9ab41 vendor: lineage boot animation
Change-Id: Iff2087eb97aee5e586eecf3898f0066d99bc885c
2017-01-17 08:13:19 -06:00
micky387
ffdd0dc110 Sepolicy: Add perm for find cmstatusbar
01-11 20:56:42.459   367   367 E SELinux : avc:  denied  { find } for service=cmstatusbar pid=4069 uid=10094 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:cm_status_bar_service:s0 tclass=service_manager permissive=0

Change-Id: I807db436c6e983244c08ca025d41d75d035dbc0f
2017-01-16 20:08:12 +00:00
Zhao Wei Liew
a18b05792f cm: config: Remove obsolete props
All usages of ro.com.android.dataroaming default to false.
The rest of the props are no longer used.

Change-Id: I2320e82a1859f8c13f3430a43aa8714186158ee0
(cherry picked from commit 76b66c1ab812e6e4749bec53e03bfc5084c38257)
2017-01-16 10:33:50 +00:00
Abhisek Devkota
6af9acb650 Disable SU by default
- We plan on distributing an addon for our SU
- Developers that want SU by default can export
    WITH_SU=true to their env
- This helps with application compatibility for
    various services, while maintaining user flexibility

Change-Id: I6d52159676f805c3698ff59c896d943a3a4b25db
2017-01-15 04:21:13 +00:00
Abhisek Devkota
f2d6fe2b98 vendorsetup: match lineage naming for build roster
Change-Id: Iaeb6b323ca00df3c9121d68fdadd1c32cd550861
2017-01-14 15:46:07 -08:00
Zhao Wei Liew
e407ec7035 cm: build: kernel: Remove obsolete checks
* BOARD_USES_UBOOT is unused.
 * Same goes for BOARD_USES_UNCOMPRESSED_BOOT. Furthermore,
   it is superseded by TARGET_USES_UNCOMPRESSED_KERNEL.

Change-Id: I9f0e2848fcd0cd212bccacf14df55ad03f821051
2017-01-14 19:48:07 +08:00
rahulsnair
7c3adf8c8e vendor: Add maintainers of Moto G4/G4 Plus (athene)
Change-Id: I4ce9c3dc371a85071abd1cca0a233089ba73daee
2017-01-13 14:49:24 +00:00
David Hays
7f001b1c37 overlay: Enable Visual Voicemail for Verizon devices
Change-Id: Ic49ce790cf7710f59dad913b6ccada21ea2e8e9f
2017-01-13 04:18:47 +00:00
Ziyan
54648c2a3b build: kernel: build arm kernel modules with -fno-pic
With androidkernel (androideabi) toolchains, -fpic is enabled by default.
At least on my 3.4 arm kernel, this causes an issue with kernel modules:
"Unknown symbol _GLOBAL_OFFSET_TABLE_".

On traditional armeabi toolchains, -fpic is not enabled, resulting in working
kernel modules; let's follow that here.

Change-Id: I3058b5213b34bdde9bb9d744563c7d55cd42d2a5
2017-01-12 18:28:12 +00:00
David Marble
20c06fd75e http_prebuilt: Improve retrieval of artifacts from archive
The current version always redownloads the artifact.
Kali does not like the nested md5sum command and ignores it
leaving file checksum value blank so the test always fails.
A temporary variable is used to get around this limitation
of kali.

The echo "Downloading..." command has been modified to actually
print and has been moved so it only does so when downloading
the artifact.

Change-Id: I115860a87e55399a652d6548fe50f6204337f854
2017-01-12 00:50:44 -06:00
Matt Mower
0e57974630 apns: Update H2O Wireless
* It's H2O, not H20
* Update based on
  - https://www.h2owirelessnow.com/mainControl.php?page=dataManualConfig
  - https://www.h2owirelessnow.com/images/pdf/ManualConfigurations011211.pdf

Change-Id: I181f0aa1fe3a67afd37b65a0f93107f242b479e1
2017-01-10 22:45:13 +00:00
Brandon McAnsh
66792510a9 http_prebuilt: Implement archive of artifacts
* checksum will be downloaded and asserted to prevent a
    redownload every clean
* Archives will exist (invisibly) at vendor/cm/prebuilt/archive

Change-Id: I637e86cacd146d665044a119885900dc4660e22b
Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
2017-01-09 13:42:29 +00:00
Matt Mower
8945f5e8c7 extract_utils: Introduce variable INITIAL_COPYRIGHT_YEAR
Let a device specify INITIAL_COPYRIGHT_YEAR=XXXX in setup-makefiles.sh
so that the correct copyright(s) is/are included in vendor makefiles.
The CyanogenMod copyright is retained when INITIAL_COPYRIGHT_YEAR<2017
and the LineageOS copyright is now included for >=2017.

Change-Id: I6895b5b69bc7ba399042ac3c29e17f3209d15f1b
2017-01-09 01:26:44 +00:00
Dan Pasanen
c6b5c382a2 build: core: include platform helper macros in target makefiles
* These are now needed sooner than we had been importing them
  in android_build. This ensures they'll be imported before
  their macros are needed.

Change-Id: Id7e31f36393414f6d51a8bc80686ceaebfe7cb28
2017-01-08 07:47:39 +00:00
Zhao Wei Liew
fb4b8c54b5
build: envsetup: Update CAF remote
CAF recommends using https://source.codeaurora.org/quic/la now.

Change-Id: Ic8d6451111f0e71bce044ffaae79f0acfc34caa1
2017-01-08 05:14:08 +02:00
Zhao Wei Liew
a63bf9536b build: qcom_target: Define MSM_VIDC_TARGET_LIST
Currently, in the media HAL, we're replacing the usage
of this variable with a check for TARGET_BOARD_PLATFORM.

Instead of having to do that every time a new branch is made,
define the variable in qcom_target.

Change-Id: Idd85b6f0b167bbc64833eb03335abcaa7b9de4a9
2017-01-08 10:14:07 +08:00
Zhao Wei Liew
9838ea37f6 build: qcom_target: Clean up QCOM_HARDWARE_VARIANT checks
Change-Id: I97f812412f94a0638e78eaf7e45112b6924120a9
2017-01-08 10:11:14 +08:00
Ethan Chen
b69c2ff494 envsetup: Fix indentation of eat function
Change-Id: I14afa4c8f7c705cfa04ad07f56f7e7a13a8c9378
2017-01-08 01:58:14 +00:00
Zhao Wei Liew
046484f8c7 cm: common: Correct indentation
Indentation should be 4 spaces here.

Change-Id: I3484eb8bd04eb4457c4f17403381b286e1bdb1ed
2017-01-07 15:55:35 +08:00
Tom Powell
e4c8c8296f build: include lineage releasekey in recovery
Change-Id: I3335af3b490ef1af5fdd786654f4e68bb3290b27
2017-01-06 22:29:06 -08:00
Tom Powell
343b594650 build: remove deprecated recovery keys
Change-Id: I7bb6548315520b387a06b5d66a85dcfbeb5c3f82
2017-01-06 22:26:29 -08:00
Luca Stefani
7021706d0d extract_utils: Update smali/backsmali to v2.2b4
Change-Id: I91a2c5569ac0e6cf99d742f2b207f8222f9c01f0
2017-01-06 10:24:41 +00:00
Gabriele M
4cf635a5ad extract_utils: Update backsmali command
-e no longer exists starting from v2.2b3, so update the
command. While at it, add the logic to deal with Android N
separated boot oat files.

Change-Id: Iab8e3946d6421824fea74e26dc43d2db38573022
2017-01-06 10:23:46 +00:00
Matt Mower
ed8c248ec0 envsetup: Fix check for deprecated CM device tree
By the time lunch is run on a product name, it's too late to check
whether a deprecated CM device tree is being used (roomservice runs in
lunch). Instead, rely on check_product() to identify whether a tree
uses cm_ or lineage_ before running lunch.

Change-Id: I16288365f791ff68c3226f3808427168b2fc06fa
2017-01-02 03:00:58 -06:00