Commit graph

2757 commits

Author SHA1 Message Date
Ilya Lebedev
06773b94fb Contributors: Add maintainer for ARK Benefit A3(peach)
Change-Id: I3ca16eeec0fd30150f2ca7277151135e42ec291a
2016-12-17 16:04:26 +03:00
Alex Naidis
a3a76f5d1c webview_packages: fix incorrect signatures
Chrome Stable and Google Webview had incorrect
signatures. That was due to an incorrect method
of determining the right signature.

That mistake wasn't noticed because Android
disables the signature check on "userdebug" and
"eng" builds. It is only enabled on "user" builds.

So this commit replaces the wrong signatures
of Chrome Stable and Google Webview by the
correct ones and thus makes them avaliable
webview providers on "user" builds.

Main credits go to @KreAch3R for his
extensive research on the issue.

Change-Id: I081783b59254bfed0b2e3568ba8ae2801d86efea
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2016-12-15 18:10:15 +01:00
Vishnu Vardhan Reddy Naini
a053944472 Add Reliance Jio India IMS volte apn's
See AOSP for verification https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/apns-full-conf.xml#23115

Change-Id: If4f1b12ba598a4a9aed81ccfa069d4c0fd738c19
2016-12-11 21:39:03 -08:00
Vishnu Vardhan Reddy Naini
d40e1496f6 Fix Reliance Jio India APNs.
See AOSP https://android.googlesource.com/device/google/marlin/+/nougat-dr1-release/apns-full-conf.xml#23105

Change-Id: Icafc3450aa06426ba3d837b95bef0865992b4782
2016-12-11 21:38:58 -08:00
Joey Rizzoli
08f65cdc3e cm: bring back storage manager
7.1.1 added this additional overlay

Change-Id: I776f86380d93a2ebb0cf39607ca5bb98238d47a9
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-12-10 12:49:18 -08:00
Michael Bestas
3ada201b05 Add permissions & sepolicy for HBM
* Devices with AMOLED panels use HBM instead of SRE

Change-Id: I6710e038997b04d5d7d6b5f4f6b01d3f18b4750f
2016-12-10 12:28:07 -08:00
Adrian DC
13b02ff101 repopick: Avoid failing on commits lookup
* Some projects with multiple merges and
    discountinuous histories could trigger
    an error here when the HEAD~{?} does
    not exist, hence avoid this by ignoring
    the commit and continue the search

Change-Id: Ice28c87d1bf8897da52236b637bbb0c5d349f848
2016-12-10 11:03:57 -08:00
Zhao Wei Liew
64fc5aeb49 cm: build: envsetup: Add mmmap command
It doesn't make sense to have:
1. mm and mmp
2. mma and mmap
3. mmm and mmmp
4. mmma BUT NO mmmap

Add the mmmap command for consistency.

Change-Id: I8cb1041113e6d56a0ac1d34898b07615da22b459
2016-12-10 16:48:27 +08:00
Zhao Wei Liew
afc9ad24ec cm: overlay: Enable auto-power-save modes globally
The framework disables aggressive power-save modes when appropriate,
such as when the device lacks a significant motion detector.

Thus, instead of enabling it in each device tree,
enable it by default for all devices.

Change-Id: I1999b04876f1ddce1574c050b6bc582e9a9a96da
2016-12-08 17:14:05 -08:00
Alexander Martinz
e7f4058593 cm: Fix Trusted Face
Trusted Face depends on libprotobuf-cpp-full.
Some devices already ship it (eg RIL needs it).

Include it here to build it for every device.

Link to OpenGapps issue:
https://github.com/opengapps/opengapps/issues/390

Change-Id: Iffee0aa6218dfef45f5cd728a999fa1114c0dd57
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
2016-12-08 02:10:35 -08:00
Michael Bestas
047385afe9 sepolicy: Escape '.' character
Change-Id: I35a726170f77e3f144ab7b79eac054d7fec9dc97
2016-12-07 17:53:20 -08:00
Michael Bestas
22abf9d4d1 sepolicy: Fix "Allow adb pull of executables without root"
* The policy file had the wrong extension

Change-Id: I47af98d80a950af4e4795646585b1b318e298405
2016-12-07 17:53:10 -08:00
Anik1199
ff8d3862cd Contributors: Add maintainer for Xiaomi Redmi 3/Prime (ido)
Change-Id: I90e0e90185aaee735c18ccde8e812ffe84a14bb6
2016-12-06 13:58:29 +05:30
Zhao Wei Liew
e2ec4c6051 cm: Revert the new boot animation generation process
The servers do not have ImageMagick installed right now,
breaking the automated builds.

Revert this for now.

This reverts the following commits:
840e781408 bootanim: Use a for loop to make part# folders
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
6179d9494f cm: Build bootanimation.zip
67ddf37281 cm: Rework boot animation generation

Change-Id: I63fc43da9b1a6afea5f791e879f0bfc9a385d98d
2016-12-04 01:00:43 -08:00
Adrian DC
01bdd55142 roomservice: Follow fetched android_device_ projects
* In a situation where the Android tree is already
    fetched and entirely set for a device tree,
    all additions to cm.dependencies in a common
    project were ignored due to being already fetched

 * Add a new array of projects to verify but not
    necessarily fetch, and fill it upon fetch request
    or if the project starts with "android_device_",
    to let the iterations follow the common trees

Change-Id: I9eea0ab9c46a4bed8366baa37a4e7e8696481504
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2016-12-03 01:56:54 -08:00
Rashed Abdel-Tawab
840e781408
bootanim: Use a for loop to make part# folders
Change-Id: Iec90f3521e589de4e8352c0349e1a0751d65d989
2016-12-02 23:06:47 -05:00
David Marble
ce5405d1f7 Fix wrong bootanimation.zip from mkdir .../part{0..2}
For some reason the mkdir command:
mkdir -p $ANDROID_PRODUCT_OUT/obj/BOOTANIMATION/bootanimation/part{0..2}
creates a directory part{0..2} instead of three separate directories.
Non-fatal build errors and a 386 byte bootanimation.zip file result.
This explicitly creates each directory.

Change-Id: Ia6ae0e4f64521992de8cc34a376af3eaac5c8819
2016-12-02 15:43:11 -06:00
Luca Stefani
6179d9494f cm: Build bootanimation.zip
Change-Id: I58fdfdbafd4ec1ce947c1d3c168a6e3f10bffd94
2016-12-01 22:43:30 +01:00
Griffin Millender
67ddf37281 cm: Rework boot animation generation
Keep the largest bootanimation extracted
and resize it at build-time.

Change-Id: Iee32f18440ff955d13ed85b273e97cbd540721fc
2016-12-01 22:43:29 +01:00
Dan Pasanen
1b19f16eb7 [2/2] cm: set cache partition location
* In init.rc, this prop will be used to set DOWNLOAD_CACHE
* If a device specifies having a dedicated /cache partition, by setting
  BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE, use it!
* Default to /data/cache per AOSP

Change-Id: I838672ca4638c9665333c1a67257fc435f33f388
2016-11-30 19:52:24 -08:00
fefifofum
f7ef4d6d32 Contributors: Add LG G Pad 8.3 and Xiaomi Redmi 1S maintainer
Change-Id: I144f559e83abcbaf0bc766dcbb9568055c5c2595
2016-11-30 17:59:26 -08:00
Luca Stefani
596e20c129 cm: Add more Mi 5 maintainers
Change-Id: I928eed74f828e2839d5baab6622ea75372901195
(cherry picked from commit 72f4855807ea63e7be95b9a1ccd3e54875c7249f)
2016-11-30 06:16:32 -08:00
Bruno Martins
ee962ccab2 Contributors: Add Xiaomi Mi 5 maintainer
Change-Id: I4643c06b28affcdec3c584d34f72e1f2975d01dd
2016-11-30 03:41:34 -08:00
Zhao Wei Liew
8dcba6834b cm: config: Remove enhanced NFC feature
This was used for the HCE implementation by SimplyTapp in CM 9 - 10.2.
Since then, Android has an HCE implementation and this is no longer used.

Change-Id: Icd9db39829c1863c4962aab53959ad527da28bcd
2016-11-26 01:25:42 -08:00
Luca Stefani
c66825b158 build: kernel: Remove duplicated targets
We call them already in TARGET_KERNEL_BINARIES

Change-Id: I1a9cf89d59416fdb6c9c570d17fb490440d44159
2016-11-24 15:54:11 +01:00
Luca Stefani
84fda60f6b build: Set android jack args to global jack server args if existing
Change-Id: Iafd416aaac81642c7ec736712b45ecbe05b0d55e
2016-11-24 05:31:23 -08:00
Rashed Abdel-Tawab
5b38c4fb34 extract_utils: Use shasum on macOS
macOS doesn't have sha1sum but instead shasum, so use that
if 'uname -s' returns Darwin

Change-Id: I1ab8721327a561e8df78562bbc0b12e884cc4a93
2016-11-23 20:39:44 -08:00
Joey Rizzoli
73a3965995
cm: enable hidden storage manager
Change-Id: I18ac1f27d73837e08d25f441543faf30cc58f8ee
Signed-off-by: Joey Rizzoli <joey@cyanogenmoditalia.it>
2016-11-23 21:19:00 +01:00
Chau Truong Thinh
5cec3974ab Clean up 3G config for Vietnamese network
Change-Id: Iab208827af814ccc3b41de849035bfd71ef9a806
2016-11-17 22:26:58 -07:00
Sean hoyt
52592a4a4b cm: Update APNs
- Vodafone TR is now IPv4/IPv6
 - vlive no longer exists

Change-Id: I954f35f834b8b242f4bd0400fc0dab80cb52c1a3
2016-11-17 17:37:08 -07:00
Zhao Wei Liew
aae6c62687 config: common: Remove obsolete RomManager props
RomManager hasn't been properly updated in years.
Is this still even a reliable ROM updater anymore?

Change-Id: I3ea57ec0121e6d6f933dd80031bb53514a44e362
2016-11-15 03:10:40 -07:00
Silesh K Nair
11af61ac83 apns: Remove loop and bpl mobile
These service providers no longer exist.

https://en.wikipedia.org/wiki/Loop_Mobile

Change-Id: Ic6263b6e8721ee81d902e0bd42553749411d8860
2016-11-15 08:28:52 +05:30
Hriday Sharma
be2fca13e2 apns: Add Reliance Jio apn's
Change-Id: I4b44ce88abaf794f47683d13ed3b91172dea03ef
Signed-off-by: Hriday Sharma <hridaysharma42@gmail.com>
2016-11-14 14:11:00 +00:00
Ethan Chen
2a5d907bbd qcom_target: Remove unused support for CAF manifests
* This code was introduced to support building from Qualcomm hardware
  manifests, placing the appropriate Qualcomm HALs at the AOSP
  hardware/qcom/$(HAL_TYPE) location. This isn't a supported use case
  anymore, so remove the dead code.

Change-Id: Id7d53b33f53289bc1ead8eb983d7e252940b0387
2016-11-13 13:46:38 -07:00
Ethan Chen
367802bcad qcom_target: Remove unused sony HAL support
Change-Id: I046d860127918858af98e9ab73bebc253502d08f
2016-11-13 12:46:05 -08:00
Ethan Chen
3681177eb4 qcom_target: Restore original AOSP hardware/qcom/media pathmap
Change-Id: I3d11f750e0c784da049c9618a44934f8a4c9d304
2016-11-13 11:04:02 -08:00
Luca Stefani
aa92150dba config: Add missing \ in bootanimation pick
Change-Id: Id61a196f97115c70b7d1dcf84fe830b72834a17c
2016-11-13 18:53:07 +01:00
Zhao Wei Liew
9689bb9dba build: kernel: Set prefix based on KERNEL_ARCH
KERNEL_ARCH specifies the kernel architecture, not TARGET_ARCH.

Change-Id: I97407caa15cacf53489e8ebb31f5c059991a9493
2016-11-10 15:55:42 -08:00
Zhao Wei Liew
e7573daa4c build: qcom_target: Enable BOARD_USES_ADRENO
Newer QCOM HALs use this flag for libc2dcolorconvert,
examples being msm8937 and msm8996 media HALs.

Change-Id: I28e8a42b58b4f5f71126df7ad97c377724da5bab
2016-11-10 06:13:15 -07:00
Steve Kondik
c86fb126c6 cm: Fix bootanimation sorting
Change-Id: I7d45f6790406db826fbb822fedb4484427b18c31
2016-11-08 13:43:33 -07:00
Dan Pasanen
4f1743470f common: add quotes to satisfy kati/bash/make/whatever
* Honestly, I have no idea why this works. Or, to put it more
  precisely, why it works without this on _some_ devices and not
  others. All of a sudden?

* Without this patch I'm getting:
    /opt/out/14.1/build-cm_d2vzw-clobber.ninja is missing, regenerating...
    terminate called after throwing an instance of 'std::out_of_range'
      what():  basic_string::erase
    make: *** [build/core/ninja.mk:167: /opt/out/14.1/build-cm_d2vzw-clobber.ninja] Aborted (core dumped)

    #### make failed to build some targets (5 seconds) ####

Change-Id: I4bf43868bf7dfe13df57151ae3597246164cbebc
2016-11-07 21:09:41 -06:00
Adrian DC
143269c242 vendor: cm: Move fuseblk to system/sepolicy
* The rule is needed earlier in system/sepolicy

Change-Id: I3f6c45d48f4af28266f124e918966991016a4e1a
2016-11-06 21:30:27 -08:00
Alexander Martinz
1bbf3e9346 envsetup: block SDCLANG on Darwin for now
Snapdragon LLVM is not supported on Darwin yet.
There might be the case where the directory structure is set up
by default and the build system will try to execute the linux binaries.

This will fail obviously:
  /bin/bash: /Volumes/Android/build/prebuilts/snapdragon-llvm/toolchains/llvm-Snapdragon_LLVM_for_Android_3.8/prebuilt/linux-x86_64/bin/clang: cannot execute binary file

Change-Id: I1f4d0bbda88b540b7ac3159f8e83de4501b9073b
Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
2016-11-06 21:28:57 -08:00
Sam Mortimer
b0cecb7335 Always create a kernel defconfig build artifact
It's just easier having it always built for you
(and it really takes no time).

Change-Id: If183cef50b1de0bf228e27bab77607df71350345
2016-11-05 08:25:45 -07:00
Marcos Marado
8ab9e00832 Added contributors for vegetalte
Change-Id: Ia7d140ea3810df186c9dd38905361a8cf278e312
(cherry picked from commit c279b9f854bf9ef340f64da8adcbe4add8d5b73d)
2016-11-05 01:58:44 -07:00
d34d
6ddd83551c themes: allow system_server to relabel them dir
On a fresh install the theme service broker creates the initial
theme directory which needs to be relabeled to a themeservice_app_data_File
in order for the brokered theme service to write to this directory

Change-Id: Ifd689a0c619c0e954192749b83a0cacaa945468f
TICKET: NIGHTLIES-3349
2016-11-05 01:58:27 -07:00
Kra1o5
8614943445 Contributors: Add maintainers for BQ Aquaris M5 (piccolo)
Change-Id: Ifb9e8443200e2ab2276aa8b56c0acfd072e6246f
(cherry picked from commit 5f54a4a144febc8882e5cd2083f9cbbf21fa8f07)
2016-11-05 01:58:21 -07:00
c457
7f3e6dfc77 Contributors: Add maintainer for Alcatel Idol 3
Change-Id: I47432d8f9e99a8d743c5629ae7fe718c1a4067d3
(cherry picked from commit 18a1b3aa9d38bbbaf50edb28ed7e62b82d0ba276)
2016-11-05 01:52:29 -07:00
Ethan Chen
63984ef361 ambient: Remove from OSS builds
* There should be no dependencies here anymore.

Change-Id: Ib316d07b859e5855269fd906f0578087beafb3fe
2016-11-04 13:16:07 -07:00
doc HD
1998914e91 vendor_cm: Vodafone TR: Fix mobile data on first boot
Vodafone Live is TV service for Vodafone TR,
but is getting choosed after full wipe and needs to be toggled everytime.

Change-Id: Id0db8a433d3e2cff0f893913dcd8361f51f72817
2016-11-04 13:11:12 -07:00