Commit graph

3159 commits

Author SHA1 Message Date
Dan Pasanen
0f9080a12e vendor: update vzw apns
* Add support for bearer 18
* Update mmsc urls
* Remove bad dun apn
* Set approprite auth_types
* Set visibility
* Update max_conns

Change-Id: Ie9256f10899343242c64ae3896434b4c994f3dac
2018-02-02 13:21:55 +00:00
Luca Stefani
5c91b611ca Always add manufacturer and model to MP4 files
Change-Id: Ic90fca6bc95ddf6869878cbd836f3248e09b8412
2018-02-02 00:17:52 +00:00
Ethan Chen
e5e321df3c bfqio: Add missing include header
Change-Id: I50851e633c54cd0e2e37789e88a226aaa80e8c2c
2018-02-01 19:02:07 +00:00
Paul Keith
4e75f576f9 extract_utils: Fix regressions from 3f9b94cb67
Change-Id: I78fc47c63e6bfbd5ee98a56a1d80f763e96ac266
2018-01-29 23:33:57 +02:00
Paul Keith
3957e06d5a sensitive_pn: Fix typo in sensitive phone number
* There was an extra digit hiding in here
* Corrected from: https://www.safehorizon.org/hotlines/

Change-Id: I75f179f0b263514df54acf4adc1df0f8ff3f3ada
2018-01-29 02:50:01 +02:00
Jamie
e446022782 sensitive_pn: Add some more numbers for Canada
* Mostly child abuse numers, some for violence against women
* From: http://www.children.gov.on.ca/htdocs/English/childrensaid/reportingabuse/CASLocations.aspx

Change-Id: I18add946c242eeac1c6f0859a3fd5f4fe073c6ce
2018-01-29 02:50:01 +02:00
Paul Keith
765c9d1104 sensitive_pn: Sort file
* Sort MCC orders
* Sort phone number orders
* Remove one duplicate phone number entry (116123 in GB)
* Add a note about maintaining this file

Change-Id: Ifcf392c1ca54c0daf37248a647d401d4a93dd355
2018-01-29 02:50:01 +02:00
Matthew Freund
b8a586b0e8 Added more USA sensitive phone numbers
Change-Id: I241b79a4e0a5252a010e5d8b2c1315334f5ae03f
2018-01-29 02:50:01 +02:00
systemcrash
ab2bed7056 Add APN for iD Mobile UK MVNO
Change-Id: I3af3a5a93676b0750cfa7d025e6114130fa809c8
2018-01-29 02:50:01 +02:00
Michael W
2e203941cc envsetup: Clean up for install[boot|recovery]
* Remove the files from device after installation

Change-Id: I52dc60c22abde972a066b879b3a74459261966e5
2018-01-29 02:50:01 +02:00
LuK1337
f017e36e65 lineage: Change 'bailing out' message to something more friendly
Change-Id: Iee519ea5cbfa92b6bb26e33d2bac3d2335c770a8
2018-01-27 14:40:17 +00:00
Michael Bestas
3f9b94cb67 extract_utils: Split optional args with semicolon instead of colon
* Fix optional flags like PRESIGNED
  after I1f5a1abd6929e4a7e0ccd6370d3a3dd986f94fed

Change-Id: I889f995d7f19b09908cfbaf7474442ce48bfabdb
2018-01-27 00:42:57 +00:00
Michael Bestas
c982836ca6 extract_utils: Fix makefile generation issues
* Fix makefile generation for packages that have set
  a different target destination

* Thanks to rashed and javelinanddart for their help
  in debugging and solving this issue.

Change-Id: I1f5a1abd6929e4a7e0ccd6370d3a3dd986f94fed
2018-01-27 00:42:46 +00:00
Michael Bestas
e6ed50881e lineage: Remove lineage telephony service permission
* Used for old MSIM API which is non-functional since a while

Change-Id: Ica2b9ae119d5972e425082433df3a7b099ae404a
2018-01-24 02:48:28 +02:00
Michael Bestas
4b8df75d5e lineage: Remove lineage status bar service permission
* Used for CM tiles API which is long dead

Change-Id: I4e105190ff32e887a33ad8562dba78cee1fb4dea
2018-01-24 02:48:24 +02:00
systemcrash
9ddc8182cb Added Cape Verde carrier CVMóvel default APN as configured by sales agents
Change-Id: Ic63f75c8fd8720ac04ee52b7a98e0f60ee82284d
2018-01-21 19:26:35 +00:00
Michael Bestas
a3d8f9670e vendor: Disable statusbar padding by default on sw372dp
Change-Id: Icdbdc5b61d5e1c4f4513cbd72eb66f150bf97538
2018-01-17 14:44:26 +00:00
codeworkx
9f22e53878 config: make libhealthd.lineage opt-in
Currently broken. Whoever will use it has to fix it.

Change-Id: I029ccf650e1cf4dc1080f7bd8c7000f2955b2a1e
2018-01-17 14:42:57 +00:00
Aaron Kling
1dea800811 ATV: Default double tap on home to the recents menu
Change-Id: I4ab07e647fc7317eabc3a74e46fd3ec2d090516d
2018-01-17 11:31:53 +00:00
Matthew Freund
e03ab09f8b sensitive_pn: added Belgium & Switzerland
Change-Id: I2af43571b07504fe379656e2ecd65759b9295172
2018-01-17 11:27:58 +00:00
Jonas Schwarz
81bc93bfd1 Updated Syma APN
Accordind to https://www.symamobile.com/parametrage-internet.html#8 the Syma APN should be symamobile.com not symacom.fr
I had to edit the APN manually to get it working

Change-Id: I62ccdc6bdcf8803e47c2f454a6ece622e06027d1
2018-01-17 11:27:52 +00:00
Aaron Kling
31aba3b945 Disable LiveDisplay by default for ATV
This required adding an overlay directory for tv

Change-Id: I66749522a62b6d94002a8a7c9f632d1b5f6a2600
2018-01-17 11:26:34 +00:00
Adrian DC
bdba14008c overlay: Disable SystemUI anti-falsing on lockscreen
* The anti-falsing implementation from HumanInteractionClassifier
    regularly prevents easy swipe to unlock or to pattern / pin
    on the keyguard lockscreen, requiring multiple attempts
    until accepted due to a hardcoded evaluation (5.0f)
    while normal usage shows better results without it

 * Another solved situation is remote device access like
    Vysor or TeamViewer where the device is almost impossible
    to swipe properly from a computer client

Change-Id: I1caf603bc6a3bf7794af724b8e48a9ebb96da971
2018-01-16 19:48:28 +00:00
Aaron Kling
a078a220bf Fix kernel build failure on some devices and build hosts
Change-Id: Ib6ba53994b4e04503ee4636a6aaab9c0bc3f676c
2018-01-12 18:19:27 -06:00
Sam Mortimer
12db6e9318 vendor/lineage: allow tethering without a provisioning app
Change-Id: Iac67426229aff842f536301edd9ea270d5d3db6e
2018-01-10 19:33:35 +00:00
Ethan Chen
0500ba8a0b bfqio: Use pragma once for include guard
Change-Id: I53a8ee558beeb115fa08905a8dc2cda64c1d2de5
2018-01-10 12:04:34 +00:00
Ethan Chen
32e4e79dfa bfqio: Remove redundant extern
* This is the exported header for libbfqio, of course it includes the
  function listed. No need for extern.

Change-Id: Idbdd9b51f14e52741fed5eb7d7fb78a46bb7dc72
2018-01-10 12:04:34 +00:00
Rashed Abdel-Tawab
63b15427d1 lineage: Hide mobile plan from Settings
Change-Id: I8e8175e4d86bcb5268c9f8e6c1ed9d68ef645eda
2018-01-09 23:09:11 +00:00
Demon000
b53f8354a0 overlay: frameworks: allow gms to access persistent data partition
This fixes nonfunctioning factory reset protection and addresses
numerous PersistentDataBlockService errors during boot up.

Change-Id: Ifb24b2cffc814a3c2f61eda619f2a5cbe173d0f8
(cherry picked from commit 247e67dfc852e1667e05e42e1216d7a92ecc35ea)
2018-01-09 04:59:42 +00:00
Tom Marshall
6b83d830df lineage: build: kernel: Rework kernel header logic
The existing kernel header logic has several issues:

 * It does not depend on the actual kernel headers, so it does not
   detect actual kernel header changes.

 * It does depend on the kernel config, which should not be used to
   generate (user space) kernel headers.

The end result is that kernel headers aren't properly regenerated when
needed, and spuriously regenerated when not needed.  Additionally, the
kernel header rebuild mucks around with the kernel config, which is
unneccesary and fraught with danger.

Rewrite the kernel header dependency and generation logic as follows:

 * Use the dependency file $(KERNEL_OUT)/.headers_install_deps to
   manage dependencies on the actual kernel header files which are
   exported to user space (and the top level kernel Makefile, which
   is used to generate version.h).  The dependency file is exactly
   the same as what GCC would output for a C/C++ dependency with the
   M/MM flags.

 * Conditionally include the dependency file to detect when headers
   should be (re)generated.

 * Introduce the phony target INSTALLED_KERNEL_HEADERS for modules to
   declare a dependency on kernel headers.

Additionally:

 * Get rid of TARGET_KERNEL_HEADER_ARCH and KERNEL_HEADER_DEFCONFIG.

 * Get rid of KERNEL_OUT_STAMP and move commands to the appropriate
   places in the rules.

 * Fail the build when $(KERNEL_OUT)/usr is mentioned in a dependency.
   Note a separate commit to build/core/binary.mk will provide a
   migration path and a suitable deprecation warning.

 * Declare the kernel*config targets phony.

Change-Id: I8b46f4ea1c622d8e73cca5157be96ec09d42ebb3
2018-01-09 03:09:57 +00:00
Christian Oder
8d5db3c24f kernel: Allow building dtbo.img
taimen uses the dtbo.img as an DTB Overlay in order to use the same defconfig for both, taimen and wahoo.
The dtbo.img is built with "make dtbo.img". Allow automatically building it when setting TARGET_NEEDS_DTBOIMAGE to true, or by manually calling make dtboimage.

Thanks to luca020400 for help with the kernel.mk logic

[raymanfx] Add AVB hash footer support

Change-Id: Iaddafaa98e3e84880462a2c35b899e3fea21e161
2018-01-08 07:04:05 +00:00
nailyk
8ce26b3b51 tools: repopick: Correctly order changeset
* Without key=int sorting is done in alphabetical order.
       This cause 999 being picked after 1000.

Change-Id: I540f0e55093a33d80d78a0cf0c31dc83f7168279
2018-01-05 10:16:45 +00:00
Arne Coucheron
73296f14dc soong_config: Add TARGET_USES_QCOM_BSP_LEGACY
Change-Id: Ia5ddfa263df71388b19c77d2509c29791177208d
2018-01-04 20:42:38 +00:00
Dan Pasanen
8ee5d891b0 kernel: don't build for TARGET_NO_KERNEL targets
Change-Id: I14ad45c06922c0775e0574ddbcfcdc33353af465
2018-01-04 20:42:27 +00:00
dianlujitao
1334e75013 lineage: Add support for BFQIO cgroups
* Introduce a standalone libbfqio to be picked by inputflinger,
   surfaceflinger and display HAL, without extending the VNDK.

 * This commit is based on the following patches:

  From: Steve Kondik <steve@cyngn.com>
  Date: Tue, 08 Sep 2015 02:23:41 -0700

      cutils: Add support for BFQIO cgroups

       * Add support for a custom hierarchy of cgroups on top of the BFQ
         IO scheduler. This allows us to place every thread into the
         right class (realtime/best-effort/idle) with a set up priority
         buckets depending on use case.
       * The benefit of doing this is pretty incredible from an
         interactivity standpoint. Realtime users (display/audio) benefit
         the most, resulting in glitch-free audio and jank-free video.
         Dexopting in the background no longer causes active harm to
         foreground tasks. Other tasks such as account syncing become
         invisible from the user's perspective.
       * Magic bullet? Perhaps.

      Change-Id: I4eb911395364ce46d6dcbff43e94286ded03a97d

  From: Steve Kondik <steve@cyngn.com>
  Date: Sat, 19 Sep 2015 12:43:40 -0700

      cutils: Fix copypasta in ioprio code

      Change-Id: I976693be4a6913ed2090fa32d0f8e4c93657e7e7

  From: Steve Kondik <steve@cyngn.com>
  Date: Sun, 20 Sep 2015 01:08:07 -0700

      cutils: Fix display ioprio

       * A few unwanted items are sneaking into this class resulting in
         system slowdowns. Fixit.

      Change-Id: I29033a38adf2c65535f916135d395d5147afe323

  From: Steve Kondik <steve@cyngn.com>
  Date: Sun, 20 Sep 2015 03:00:54 -0700

      cutils: Clean up ioprio grouping

       * It's now better understood what's happening system-wide due to these
         changes, so clean up the stuff which is not necessary and/or
         potentially harmful.

      Change-Id: I72178770844c1ac388a0b424b12cdc49042aec87

  From: Steve Kondik <steve@cyngn.com>
  Date: Sun, 20 Sep 2015 17:36:54 -0700

      cutils: Remove ioprio magic

       * ..and replace it with something we can call explictly where it is
         required in order to achieve the same goodness without the badness.

      Change-Id: I605b3acbc56ce82663dd6f1c9f3320d0ab75e178

  From: Zhao Wei Liew <zhaoweiliew@gmail.com>
  Date: Thu, 08 Sep 2016 20:01:29 +0800

      cutils: iosched_policy: Access BFQIO cgroup in /dev/bfqio

      AOSP doesn't mount cgroups in /sys/fs/cgroup, but in /dev/.
      Follow what AOSP does.

      Change-Id: I40d2241e3e5c41612d3a54d22981d3250f8b1ed6

Change-Id: I7d42bd6bb9176724c1e5687de14946923150ae89
2018-01-04 20:42:22 +00:00
Rashed Abdel-Tawab
064b06967f build: Merge UM platforms into common HALs and disable BSP
While UM platform HALs are interchangable and very much interoperable
between platforms and kernels, some have qualms about commonizing
platforms that Qualcomm hasn't fully commonized themselves yet. Therefore
introduce 2 seperate UM platforms, UM3.18 and UM4.4 (corresponding to
the kernel version used for that "version" of UM) and use msm8996 for
UM3.18 and msm8998 for UM4.4 (sdm845 will probably be UM4.9).

Also disable TARGET_USES_QCOM_BSP on the UM platforms to match Qualcomm
trees as it causes WiFi display not to work and calls for missing headers
and struct elements at build time.

Change-Id: Ia574231243b7d628d35959b474dd28bd37ac4031
2018-01-04 01:14:38 +00:00
Michael Bestas
480e2ee431 qcom_target: Commonize UM target HALs
* Use msm8996 HAL for 8953 & 8937 since they share the exact same
  git history sha1 in all 7.0+ released tags.

Change-Id: I764a9a092b6d530de8a9b9e6e54f41c0b5d8a593
2018-01-04 01:14:38 +00:00
Joey
477fd41f66 lineage: branded adb icon
Change-Id: If8d48349af37bfbc45c9b0e1c90953b6adf075cf
Signed-off-by: Joey <joey@lineageos.org>
2018-01-03 11:53:42 +00:00
LuK1337
e67b6cb4fd lineage: Allow roomservice to check non device/* repos
Change-Id: I840bcf945c746b3fcdda0ffd567bec7466a22207
2018-01-02 21:01:09 +00:00
Michael Bestas
24807ea892 lineage: Make appended date of time to zip opt-in
Change-Id: I234cd2b43993d72e9a4383de04c4c118c6779554
2018-01-01 18:31:41 +02:00
Michael Bestas
6c664d9e03 Revert "config: Add WeatherManagerService to PRODUCT_PACKAGES"
This reverts commit 049d4c52be.

Change-Id: Id6859184dd6a5fbb211e94bd4561e3dfc69a42d4
2018-01-01 14:11:10 +00:00
Michael Bestas
676f640ef8 Revert "cm: include CMAudioService in builds"
This reverts commit cdb0ea61fa.

Change-Id: I94080d9a818f6f6dee24993c6e3f4142d7eaaedb
2018-01-01 14:09:10 +00:00
Rashed Abdel-Tawab
0d07fa5af5 lineage: qcom: Set power HAL pathmap
Change-Id: I063821f8405cafc57b37a61d119a9b8b7ef9df4a
2017-12-31 02:29:26 +00:00
Joe Maples
da32895b61 tasks: kernel: Add support for Clang kernel builds
Add support for compiling kernels with Clang as intoduced on android-4.4

In order to compile with clang, you must set TARGET_KERNEL_CLANG_COMPILE.
If you wish to specify a specific clang version, also set TARGET_KERNEL_CLANG_VERSION,
but if that is not set, the build system will default to the latest version of clang
available in prebuilts/clang

Change-Id: I79dc1dca9758a930f2f5ba1754b5d8de114af900
Signed-off-by: Joe Maples <joe@frap129.org>
2017-12-31 01:42:06 +00:00
Ethan Chen
bf38db2a5e kernel: Handle kernel modules correctly
Place kernel module output in the correct location.
Perform depmod steps (copied from build-image-kernel-modules function in
build/make/core/Makefile).
See: https://source.android.com/devices/architecture/kernel/modular-kernels

Change-Id: I6e70012a5c1acdb276f9bee0d57631d2805f71ea
2017-12-31 01:41:57 +00:00
Saylance
dc0dfc9501 apns-conf: Update Ukrainian APNs
Using information from operators sites.

* Rebranding UMC -> MTS -> Vodafone
* Rebranding life -> lifecell
* Rebranding Utel -> TriMob
* Brand merging Jeans -> MTS (Vodafone)
* Brand merging Beeline -> Kyivstar
* Brand merging Ace_Base -> Kyivstar
* Cleanup unused apns

Change-Id: I9646488604c71d6a2b3acae61eb6cdd0d55540bd
Signed-off-by: Saylance <bogdanpower@ukr.net>
2017-12-30 12:08:36 +00:00
Louis Popi
e49657031e apn: Remove "hipri,dun" from Bouygues Telecom
* Unbreaks MMS very slow transfer

Change-Id: Ib3da8d07424044e4791b2ffabd6dad2e975812c3
2017-12-30 12:08:03 +00:00
Celoxocis
4822d9bdc2 Add M-tel (BIH) APN for M-tel Frend data plan
* http://www.mtel.ba/frend-plan
 * Frend spoken "friend" is their voice & data plan

Change-Id: I014f7549d936c64abb3801596d940cee7703f790
Signed-off-by: Celoxocis <celox.ocis@gmail.com>
2017-12-30 12:08:00 +00:00
Dan Pasanen
9fc50bbf73 qcom_utils: allow overriding get-vendor-board-platforms
* Some devices need this function to return something, yet also do not
  set BOARD_USES_QCOM_HARDWARE. Allow them to override this.

Change-Id: I3cf78da39b006ba805ae35fde7379357faa10250
(cherry picked from commit 012cc275e09346ef7909b6a5a144aed59b375ccd)
2017-12-26 00:36:18 +00:00
Rashed Abdel-Tawab
b52c70881d
envsetup: Automatically replace qcom/opensource with qcom-opensource
CAF doesn't use qcom/opensource in their paths, so automatically adjust
the project path for this when using cafremote

Change-Id: I6252fbd1c3e8a545c0d54eefb6b730b893821574
2017-12-24 22:44:11 +02:00