Commit Graph

2974 Commits

Author SHA1 Message Date
Luca Stefani
76dd1e5e16 Charger: Remove old alarm interface and update timerfd interface
Oreo doesn't allow usage of the old alarm interface anymore, so
simply remove it and switch to timerfd. Also update the timerfd
interface from CAF O release

Change-Id: I22fc00630072cbf18976239dc039bf2135946045
2017-09-11 04:10:59 +00:00
Adrian DC
f69910d67f libhealthd: Add android-base and minui include paths
* Required to access android-base/unique_fd.h

 * Includes following commit from CAF device/qcom/common

healthd: Add include path for minui.h
The minui.h header file path has changed such that it
now resides within recovery/minui/include. Update the
healthd makefile to reflect this
Change-Id: I4ed371156b075f5b96404480b3703f113003979b

Change-Id: I60bc31ecaa07dad40b37265ded37d64b492bd029
2017-09-11 04:10:35 +00:00
Gabriele M
f395bed811 Create /data/lineage_updates to store updates
GmsCore deletes the files in /data/ota_package/, including the files
downloaded by Updater. Create a new directory where Updater can store
its files not to have them disappear randomly.

Change-Id: Ifdfbc7f81eb5f2c4370d02f0634c869fdbb848b4
2017-09-02 19:44:15 +03:00
Gabriele M
c7b874ba03 Replace CMUpdater with Updater
Change-Id: I117f6c062177cace86766085d190c629f036d4da
2017-09-02 19:43:28 +03:00
Gabriele M
afbbe4bf7e config: Add new prop for major.minor build version
This only include the major and minor version as returned
by the updater.

Change-Id: I4b203fcddb9ab60958063906c3ed4aa6f0607277
2017-09-02 19:42:57 +03:00
Michael Bestas
9c720fd55d lineage: Remove partner interface
Change-Id: I22ad161f4587703b7f3c2919890a19e69c1a8e0f
2017-09-02 19:39:38 +03:00
Michael Bestas
5eeceeb6a3 lineage: Remove app suggest feature
Change-Id: I3322de2eb8b49fd7b32d03a2c2c0421692c4ff40
2017-09-02 19:38:56 +03:00
Michael Bestas
d0cc480de5 lineage: Remove LiveLockScreenService
Change-Id: I8148e8a6c49f940c23b89e4f5fe697808dd08e93
2017-09-02 19:38:09 +03:00
Michael Bestas
366426fb12 lineage: Remove theme engine leftovers
Change-Id: Ife3fa6d6bfb5994fa120a959e6c5ba1faf6b2416
2017-09-02 19:37:09 +03:00
Michael Bestas
ad3a57032a lineage/aosp/cafremote: Make variables local
* Certain order of running these commands on different repos can
  end up producing broken remotes, because the variables are
  exported globally (looking at you PFX)

Change-Id: I0b679f04264d964ed9a0f0d1adfdbaeac9403ec8
2017-08-27 12:39:42 +00:00
Michael Bestas
af3532bef5 envsetup: Fix lineageremote for AOSP projects
* lineageremote was not working properly for pure AOSP projects
  because there is no github remote.
* Read and convert AOSP remote name if there is no github remote

Change-Id: I629f0a8ae3be09d539e18d63a9738c32fb24496c
2017-08-27 12:39:15 +00:00
Luca Stefani
9f3c85ae11 vendor: Kill telephony-ext
Change-Id: If50a5f28f1d90758f4cddec74b34bf18c2765cfa
2017-08-26 12:04:48 -07:00
Adrian DC
154df245a5 build: Remove breaking global flags
Change-Id: I9bbc75ce4701dc70c17b1d80c40e8b98e961dd2a
2017-08-25 07:57:31 -05:00
André Pinela
f3a4230e9f tasks: enhancement to create LineageOS ota package
- modify for LineageOS
- add bacon target
- don't touch aosp otapackage target

Change-Id: Id243c3099b4914ed3b53efc42c0c7dac9d56dea8
Signed-off-by: André Pinela <sheffzor@gmail.com>
2017-08-25 07:57:31 -05:00
Simon Shields
4ed4605ed8 lineage: add soong bits for boardflags
Change-Id: If01db1eb6b1432a6c4d26d5c9701895ab4dc3ff5
2017-08-25 07:53:37 -05:00
Luca Stefani
19464ebac0 vendor: Kill sepolicy
* Will be re-written in device/lineage

Change-Id: I755d129efbc69b712a20833b7b51187bfd66e844
2017-08-25 07:53:36 -05:00
Luca Stefani
52b7080796 vendor: Add project pathmap defs
Change-Id: I5357eadcf6efe6ddbd6686ed69db0d59114e0a5d
2017-08-25 07:53:02 -05:00
Luca Stefani
c22b0dcf34 vendor: Move to PRODUCT_DEFAULT_PROPERTY_OVERRIDES
Change-Id: I96c4da13c0f15795432eef7af24a21e7a5903cd4
2017-08-25 07:51:48 -05:00
Luca Stefani
75a79d6889 core: Move ro.device.cache_dir to common.mk
Change-Id: Ic2e2284de064c6f9fa1aa8d9ba6b7af19c671c4e
2017-08-25 07:50:34 -05:00
Luca Stefani
076c27b91a vendor: build: Add mk_timer
Change-Id: Ib7ce1e7c662fe0555d296e125241c222f89f671d
2017-08-23 17:33:26 +03:00
Luca Stefani
085af72a05 vendor: build: Kill schedtool
Change-Id: Idd6cc6679b1e84f365a5a18645590c549af20af5
2017-08-23 17:33:25 +03:00
Luca Stefani
74df07039a envsetup: Update mka for O
Change-Id: I36ec10be9152f135ec3645b4304e63ea30d06774
2017-08-23 17:33:25 +03:00
Luca Stefani
eae93144d2 envsetup: Kill mms
* soong/ninja is blazing fast rendering this command useless

Change-Id: I2241d7309f41c0d11b6c32b9a2c1193f6e0a2ab2
2017-08-23 17:33:25 +03:00
Luca Stefani
5c60e4fd24 lineage: Complete the rebrand
* TODO: Rebrand cmsdk when it's in a working state

Change-Id: I0d8d573f9e0032110ae3a0f54ebe11a877b83137
2017-08-23 17:33:22 +03:00
Dan Pasanen
91f7620c4d vendor: change vendor to lineage
Change-Id: I2df13091f5d62b552ef434aef1a389f4fe1249e0
2017-08-23 03:26:28 +03:00
Ashwin Ramesh
b0ea62a5df envsetup: Fix installboot on ZSH
* ZSH errors out when it doesn't find anything in $OUT/system/lib/modules/.
* So add a check to avoid error while using installboot() with a target
  that doesn't have modules enabled.

Change-Id: Ibe66f6962943e9b90c7059a4c9b4ded558318326
2017-08-21 16:46:34 +00:00
Michael Bestas
4279948a43 charger: Remove battery_fail images
* These are copied from system/core/healthd,
  avoid unnecessary build warnings

Change-Id: Id087169ebb2d70d2d1ad4d8c9a8cfd20578fc7f2
2017-08-20 12:58:56 +00:00
Abhisek Devkota
62764465b1 Update initial attach for Tmo US
Change-Id: Ib7b0db56099be1fbe10787014c0b3730edb865e4
2017-08-19 20:57:49 +00:00
Luca Stefani
d6e2fbcf8e tasks: kernel: Kill unexisting wiki reference
Change-Id: Ib43012206ba7028072d39495bda32d82dd72bdc6
2017-08-17 18:54:35 +00:00
dianlujitao
3bc9c18e11 build: qcom_target: Add sdm660
Change-Id: I90a44e040280bd43c40b06e14f658a5cf7e30297
2017-08-17 16:55:48 +00:00
Bruno Martins
0753ae0d68 templates: Default to sanitize vendor folder during extraction
* This was always the default behaviour and doesn't require
   any additional argument in order to make use of pinning feature
   (pinned blobs are only considered when vendor folder is removed)

Change-Id: I34ff7678bd6800a2c593e9fe128cc151c59967da
2017-08-16 23:00:21 +01:00
Alexandre Oliveira
3af5191522 Add Correios Celular (BR) APN
Change-Id: I34b2aa557fc0532194423b1c04b6469ad4ead2ec
2017-08-08 02:17:32 +00:00
Harry Youd
9c5d129d90 Fix extract_utils when not using blob sections
"$3" evaluates as "" when $3 is empty, and so $# is still 3
When $3 is empty, do not use it

Change-Id: I87df7dd8ed23cac3d4cff16dce0996bbe0a3e6cc
2017-08-05 08:21:38 +00:00
Keita Espinoza
36dcbd41d3 Add WOM Internet/MMS (CL) apn
Change-Id: I2a3e39ff76f78c9ad37fb2f36b9d40b7b5bf6a4d
2017-08-05 02:11:45 +00:00
Rashed Abdel-Tawab
deed26fd06 qcom: Allow setting custom audio, display, and media HALs
Currently, using project-set-path is blocking us from overriding the pathmap
for the audio, display, and media HALs, so set them with set-device-specific-path
to allow overriding the HALs with USE_DEVICE_SPECIFIC_* and DEVICE_SPECIFIC_*_PATH

Change-Id: Iee3723cf251d0f485a77a17fd61cb62178833582
2017-08-01 02:23:17 -04:00
Rashed Abdel-Tawab
58ce825b6e templates: Update to show usage for new extract_files features
* Allows extracting only a specific section from proprietary-files.txt
* Defaults to not cleaning vendor folder before extraction
* Adds script options rather than depending on apredefined order

Change-Id: I74cd3bf4a1f652232c97c78d6164f0730599c1a7
2017-07-30 14:09:29 -04:00
Rashed Abdel-Tawab
8b87b09ef7 extract_files: Add support for paths without system/
Sometime blob directories are contained in dirs not named system
(ex. extracting blobs from another vendor dir) so check if the file
exists without system/ before appending "system/" to filenames.

Change-Id: I4ba946e178260b4f4804b1ac4422645e3085c665
2017-07-30 12:48:18 -04:00
Rashed Abdel-Tawab
855fbdd4bc extract_files: Add support for specifying blob sections
Sometimes the need arises to update one specific subset of blobs
while holding others steady. Introduce a way to specify the "section"
of blobs to update (obviously requires the proprietary-files to be
properly split up first)

Requires additional changes in device tree extract_files.sh to support
passing the additional arguments

Change-Id: I98feab56f8bfade2818b1b5264e019440d4c57c5
2017-07-30 12:48:18 -04:00
Rashed Abdel-Tawab
675d9595e4 build: Update smali and baksmali to 2.2.1
Change-Id: I5a8d195ef3b67c5ccee4e34f4ec294a880c7a083
2017-07-30 12:27:53 -04:00
Michael Bestas
2168b71a55 Revert "Revert "vendor: cm: sepolicy: Allow rw-access to system_app_data_file""
This reverts commit cc0d29e157.

Change-Id: Ie4e1a693600627feddd0984795d0be68a34f2585
2017-07-29 17:59:37 +00:00
Gabriele M
b6effb3ebb extract_utils: Fix cleanup variables assigment
The current assignment is wrong, we cleanup the files when we tell
not to do so.

Change-Id: I73a9a17f5ebae6f2dbdc3d6d9aaa28cd75fb4f87
2017-07-29 16:46:53 +00:00
Michael Bestas
beb05c82a3 config: Set some default TWRP flags
When WITH_TWRP=true is set:
* Set recovery variant to TWRP, it should be synced
  under bootable/recovery-twrp in Lineage
* Exclude SuperSU, we have our own su solution

Change-Id: I5e5e6f2b42282c4666cdc013405a1488a9c6341d
2017-07-28 16:27:22 +00:00
Michael Bestas
32378953b7 templates: Remove empty cat << EOF
Change-Id: I68388202f42b7522f3fd3965d4ce518c142e7ce3
2017-07-28 16:24:40 +00:00
jumoog
54afae56fd sensitive_pn: add EU 116 Numbers
116006 - Victims of crime
116111 - Child Helplines
116123 - Emotional support helpline

overview: https://ec.europa.eu/digital-single-market/en/116-helplines
per country: https://ec.europa.eu/digital-single-market/en/116-your-country

Change-Id: I7f7eccd3dc743a164e219152f26feda17cfb1b75
2017-07-28 13:37:51 +02:00
Michael W
cc0d29e157 Revert "vendor: cm: sepolicy: Allow rw-access to system_app_data_file"
This reverts commit ee8db8f99b.

Change-Id: Ib1ad23043f358ec09ea9133452d4ad9b6fe0edfc
2017-07-27 13:28:14 +00:00
Michael W
ee8db8f99b vendor: cm: sepolicy: Allow rw-access to system_app_data_file
* Fixes Settings->User->(Crop|Take) Picture

Change-Id: I8e9d2a968e0fc566dfce3019554bf1c7e0557842
2017-07-27 13:07:57 +00:00
Bruno Martins
fc30f6b741 overlay: Enable “Panic Detection” mode
* Change Ibf1370ff3cb539a9a54002a8704922744a3ca5d7 on fw/base
   added support for a security feature. This feature listens
   for multiple back button presses in succession and then
   returns the user to their home screen.

Change-Id: I5a386782ae2dcb0898491e1af48a73d6fb74a181
2017-07-27 13:03:29 +00:00
Bauuuuu
7dff2f7ae7 apns: correct the mvno_match_data for MasMovil Spain
* fixes the broken auto-detection for MasMovil Spain

Change-Id: I6fadeb3703e78d6ba6b2fe9420b9a45cd1f78de1
2017-07-26 19:07:19 +00:00
Julien Humbert
8146415ace sensitive_pn: Include France DOM (Overseas regions) codes
France has 7 MCC codes, but only include the 2 DOM (Overseas regions) codes here.
* Metropolitan France: 208
* Guadeloupe, Martinique, Guyane: 340
* La Réunion, Mayotte, TAAF (French Southern and Antarctic Lands): 647

The 4 others MCC codes aren't covered by those number as stated on their website.
* Saint-Pierre-et-Miquelon: 308
* Wallis-et-Futuba: 543
* Nouvelle-Calédonie: 546
* Polynésie française: 547

See:
* http://www.solidaritefemmes.org/appeler-le-3919
* http://www.allo119.gouv.fr/

Change-Id: If13e2c2cfa669b76178182f9aa2d0f19772a45a3
2017-07-24 18:17:15 +00:00
Michael W
ea82b9f6f7 charger: Fix small battery capacity font
* Load the correct font to display the capacity in appropriate size
* Fall back to gr_sys_font() in case it can't be loaded

Change-Id: I7a05be70da3b8f0cf2895e844dfc29d66d5dbab1
2017-07-22 20:18:26 +00:00