Commit graph

783 commits

Author SHA1 Message Date
LuK1337
ba8e075ed4 soong: Add TARGET_QTI_USB_SUPPORTS_{AUDIO,DEBUG}_ACCESSORY flags
Change-Id: I18a93fa12bf3d911919a80996d41d52714ee42bf
2021-04-10 18:53:40 +02:00
Luca Stefani
271ba02664 sensitive_pn: Run XML lint against the schema
Change-Id: I083bd5834f5dd69bdbb5955e9f0e1f8dba760fe5
2021-03-26 11:02:13 +01:00
Alessandro Astone
ade98959e0 config: Set screen size defaults globally
* Makes defaults available to other places than just bootanimation

Change-Id: I6865bdd08e7f3d9370ce8578691f52204d57fde7
2021-03-12 14:08:55 +01:00
Nolen Johnson
7c428141bc soong: Add TARGET_LEGACY_HW_DISK_ENCRYPTION conditional
Change-Id: I2c67fe632d415353273839493a86cdd75bd93b23
2021-02-22 20:28:23 +01:00
TheMalachite
ec016fd19b qcom: Add bengal platform
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Ia9f602a1d6f109554c6462eaa02214c43b9295dd
2021-02-02 16:47:05 +01:00
Han Wang
c3710badd7 config: Remove persist.sys.dun.override again
* It was removed in 2019, but somehow commit 8926990
   brought it back again.

Change-Id: I973c03f7eed87c46973b42fd7bda04ed1ad27935
2021-01-16 15:03:00 +01:00
Alessandro Astone
2552c634da lineage: More checks for copying AB backuptool scripts
Pixels tree have moved AB_OTA_PARTITIONS to BoardConfig.mk,
which is unavailable when parsing config/common.mk
In order to still copy AB backuptool scripts for them, check for
AB_OTA_POSTINSTALL_CONFIG too which still lives in device.mk

Change-Id: I871e2595bc4f083db6491de0d9574bae2794e654
2021-01-13 19:34:15 +01:00
Alessandro Astone
9f160e6e5f lineage: Commonize display_intf_headers for QSSI supported platforms
Change-Id: I7224c10295c4123222d81b92f7829502e3cc2d61
2021-01-07 11:21:54 +01:00
Adrian DC
d8ad094a4a audio: Add missing Effect_Tick.ogg effect sound used by the UI
* Test: Press the 'Messaging' button from 'Contacts'
 * Detailed in frameworks/base/data/sounds/README.txt

Change-Id: Ia83852f5d92279e9c3ba83f81b2fed3a9a70e0e9
2021-01-05 20:02:43 +01:00
Ethan Chen
64b5b1cacd partner_gms: Simplify if/else if logic
Change-Id: Ib5e3dc3741c6784cb47bd0f66150df8a499aaf92
2021-01-04 19:13:33 +01:00
Adrian DC
790ab1de65 config: Handle TARGET_EXCLUDES_AUDIOFX in the products definitions
Change-Id: Iaa99a7d89bb516a788180c3be24fa514c6a7b907
2021-01-01 21:21:57 +01:00
Michael Bestas
3aa50f85cf config: Add dataservices to PRODUCT_SOONG_NAMESPACES if needed
The mk files in vendor/qcom/opensource/dataservices were
converted to bp, so this is needed to avoid duplicate module
build errors on devices that use a different dataservices lib.

Change-Id: Ic5c1ad77342c045253cfd093c76706862ed6fd0e
2020-12-31 18:20:23 +01:00
Pig
f85f7e802b config: Setup soong namespaces for TARGET_USE_QTI_BT_STACK
To opt-in for QTI BT addons, enable TARGET_USE_QTI_BT_STACK in BoardConfig.mk

Reference: [https://github.com/LineageOS/android_vendor_qcom_opensource_bluetooth-commonsys-intf/blob/lineage-18.0/bt-system-opensource-product.mk]

Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2020-12-26 19:16:08 +01:00
Danny Lin
969ba44991 config: Build simple DeviceConfig provisioning service
We need a simple service to provision DeviceConfig for setting various
config defaults, like enabling permission hub, without modifying the
AOSP source code directly. Build our custom service to do the
provisioning from resource overlay values instead.

Change-Id: Id2910d799b503c339f56e7f92a5e5f3ba93a5296
2020-12-18 16:29:16 +02:00
Han Wang
4562fe4ef4 prebuilt: Remove content-types.properties
* This is now moved to fw/b and should be overriden in 
   vendor.mime.types.

Change-Id: I0546763be34567816b6e87f2a721f1445c83eaf8
2020-12-16 15:13:28 +01:00
Danny Lin
7a31b36bb0 config: Build QuickAccessWallet plugin for SystemUI
This plugin that provides the wallet (cards and passes) integration in
the power menu is now open-source, so let's build it.

Change-Id: I5df8a09c8f91805df538bc7ddad6d326f5d9b13e
2020-12-15 22:20:53 +01:00
Jan Altensen
2855e94574 soong: add TARGET_HAS_MEMFD_BACKPORT conditional
Change-Id: I71b3a86c96bfe53e93e99c071bc8f3a8c56c77b7
2020-12-14 10:28:31 +01:00
Bruno Martins
e1df13eb4a Lineage 18.1 is here for Xmas
Change-Id: Ic7bd96c188eb97c53cf245f79c85cc0e0d14a094
2020-12-12 03:26:14 +01:00
Arne Coucheron
ca94a9791c soong: Add flag for disabling postrender cleanup
Some legacy devices experiences bad lag unless this is disabled.

Disable it with:
TARGET_DISABLE_POSTRENDER_CLEANUP := true

Change-Id: I2b40dc4cbcab06fb293d1f407321af2fae846a51
2020-12-03 20:09:54 +01:00
Bruno Martins
bcf6cd5787 partner_gms: Add support for Android Go GMS
Change-Id: I5d98283606ca213327b72969a2a3e3d256b30d05
2020-12-03 19:06:26 +01:00
Bruno Martins
f64ce2840c lineage: Add Android Go specific configs
Trebuchet is also available as a Go version, so modify the existing
configs to allow it to be shipped in Android Go enabled devices.

Change-Id: I29f203b3fa19bc955976ee6c3da4142a4ab325bf
2020-12-03 19:06:26 +01:00
Bruno Martins
1f0f73d5e2 common_mobile: Don't forcibly ship optional AOSP packages
This was added in commit 8926990 for no apparent reason. Let's not
forcibly include these packages in every build, because most phones
already inherit from AOSP's full_base_telephony.mk anyway.

Change-Id: Ib7986b7f7edd58a7043c793e6ba566d3dcf5a2a6
2020-12-03 15:49:26 +01:00
Michael Bestas
3db3630f4c config: Remove non-existent/deprecated packages
Change-Id: I40dcbdd7767695ae28caf692f0c51553f710069c
2020-11-26 00:56:51 +02:00
Aaron Kling
cf8d90fd92 atv: Remove AppDrawer
TvLauncher now displays all apps regardless of tv intent. So this
has become useless.

Change-Id: I835fe9fbfb50994ffab0718a6303474da2f77c4a
2020-11-23 20:40:58 +01:00
Michael Bestas
3cf43fe2e6 config: Build Seedvault
Change-Id: If858ce8bc3167b95cb5206be77f23cb8632f763b
2020-11-03 01:18:09 +01:00
Michael Bestas
d3040f2cd2 config: Build IconShapeSquareOverlay
* It exists in AOSP since 10 but was simply disabled

Change-Id: I9608d3ca2c798fbe3ebf94503955570be40a7142
2020-11-03 01:18:02 +01:00
Michael Bestas
f16c3829f6 config: Remove LockClock build target
Change-Id: I18720e8914103573cab9f391c7b175cbbff9971e
2020-11-03 01:18:02 +01:00
Han Wang
0b4e410703 config: Remove weather related targets
Change-Id: Ie4af798cb6d36229d1e47a435c8d848d3f5fc422
2020-11-01 12:36:41 +01:00
LuK1337
beb10414d2 lineage: Add data-ipa-cfg-mgr to soong namespace in BoardConfigQcom
Before:
  $ breakfast capricorn && m ipacm
  FAILED: ninja: unknown target 'ipacm', did you mean 'lpadd'?

After:
  $ breakfast capricorn && m ipacm
  * happily compiles *

Change-Id: Ib68978d4f287dcdea45fc21382af05b1890caca4
2020-11-01 11:29:01 +01:00
Aayush Gupta
8f652be8ff lineage: Drop lineage charger
- Been broken since a while. I don't see any devices using it as well.
  Most devices have explicitly set it to false instead.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I178ecd5213bc0c99f97cbbd9c41fd648598edd77
2020-10-22 12:56:57 +02:00
DarkJoker360
a461d3228d config: Build NavigationBarMode2ButtonOverlay
This got removed from PRODUCT_PACKAGES in frameworks/base, but it seems
like it still exists.

Change-Id: I8fe80c9c5a386ae1877f7c117ddc76ff366304a3
2020-10-19 21:21:16 +02:00
Bruno Martins
0ca690066f soong: Set a default for TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS
Devices not setting BOARD_USES_QCOM_HARDWARE to true fail to build
in case a default is not set.

Change-Id: I6643aa08244a5c476a45336485362dd7876fc90c
2020-10-17 11:27:15 +02:00
Pig
a98d12f8e3 soong: Add lineage soong config variables
Ref: https://android.googlesource.com/platform/build/soong/+/refs/tags/android-11.0.0_r4#soong-config-variables

Change-Id: Icaf35b65b63d4245c92e39ce628bb8d6ffd0d4bb
2020-10-16 14:47:33 +01:00
LuK1337
80b922cb08 soong: Add SOONG_CONFIG_DATASERVICES_USES_PRE_UPLINK_FEATURES_NETMGRD
* See: https://android.googlesource.com/platform/build/soong/+/refs/tags/android-11.0.0_r4#soong-config-variables

Change-Id: I332dcd289d9617938738d1959daee106439de5c6
2020-10-14 18:41:15 +02:00
Alessandro Astone
d11ff7c5ab kernel: Add prebuilt m4 to build environment
* android-11 removed M4 from the Allowed list, and provided a
   prebuilt binary in prebuilts/build-tools

Change-Id: I83d033ecd35a0e2318210e47309fcc010843347f
2020-09-24 16:21:42 +02:00
LuK1337
a413b6ee55 kernel: Use Clang as HOST_{CC,CXX}
GCC was deprecated upstream, so switch to Clang.

Change-Id: I8a6c9d6b763db0055189d83f9037ccb0c50a23ea
2020-09-24 11:59:52 +01:00
dianlujitao
2c62140d3d kernel: Use nproc from prebuilts
Change-Id: I1d7a33dac57cbba9ce1a92f81d74709146e92968
2020-09-24 11:58:50 +01:00
Bruno Martins
c3ad8b5c54 lineage: Use $(HOST_PREBUILT_TAG) where possible
Change-Id: If211d23ce72b3404368cd723cbb9ea801e61802c
2020-09-24 11:56:08 +01:00
dianlujitao
b492f3f8cd config: Don't append extra $ to TOOLS_PATH_OVERRIDE
This fixes build system error:

  internal error: panic in GenerateBuildActions for module "generated_kernel_includes"
  error parsing Command param: invalid character after '$' at byte offset 579

Change-Id: I3f788ff61fc101b7682d5c64d0e9aa2aba48c49b
2020-09-15 13:13:58 +02:00
Jan Altensen
dd29a4766a Lineage 18.0
Change-Id: Icda4887efd1a965530213f82fbbf8ae908843b05
2020-09-13 19:45:42 +02:00
LuK1337
2baeb4fb8b kernel: Use CPATH for including host headers
* Fixes build on distros where CAP_LAST_CAP @ /usr/include/linux/capability.h
  doesn't match target device kernel src.

Change-Id: Iafdf9694fd165c83b22bd95df95e940ecceb0fdd
2020-09-02 19:44:54 +02:00
Luca Stefani
fe00ea90c9 kernel: Rework how DTB/DTBO are built
* Remove the separate dtbo.mk task and merge it
  in kernel.mk
* Merge in-kernel and separated DTBO image generation

Change-Id: I2cae84095cbd3d68abbe1899a9cae34c8a1e5fc9
2020-08-22 20:26:13 +02:00
Michael Bestas
b901116d5e Remove deprecated backup overlay
* This lives in a different package now and it is
  included in framework-sysconfig.xml

Change-Id: I0ec218b2cb91476efe62ad4a9578ac850b5f22ef
2020-07-12 19:50:10 +03:00
LuK1337
b82776e2a4 qcom: Add UM 4.19 platforms
Change-Id: Ida4861b95b0b9748ef3848674b7121010126dd3d
2020-06-25 20:17:38 +02:00
TheHitMan7
eb18aa6af9 qcom: Add atoll platform
Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Idc74d064620649e7423a2fee076da8bd43e1cbd3
2020-06-25 20:16:52 +02:00
LuK1337
87467210f3 config: Move default alarm/notification/ringtone sound props to /product
* Allows us to override /vendor properties.

Change-Id: Iea344d347d8f10094f04cfb4a0bf1d4352fb667b
2020-06-24 17:14:59 +02:00
Nolen Johnson
af32ee6d3f partner_gms: Support TV GMS
Change-Id: I16c1f4a868c119b54da3e41c2e5b7e6bf7e0a53e
2020-06-01 14:51:49 +02:00
dianlujitao
a24144faf2 kernel: Add bison and flex to build environment
* Required since Linux 4.16

Change-Id: I107ea1b097d72a7b5251273c8c7e33ad6585b59c
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-05-29 17:31:10 +02:00
Jesse Chan
3e7d232483 Implement hide gestural navigation hint bar [5/5]
Change-Id: I4a41117892eb275cc696907e4756fd52c85ede03
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-05-27 16:09:20 +02:00
LuK1337
deb21830ac config: Build Etar
Change-Id: I5cc6e50a8fbc3b0f86793292330edcd33b6d9c48
2020-05-25 23:45:30 +02:00
Andrew Hexen
8d08a5f96c BoardConfigQcom: Allow a device to opt-out hardset of PRODUCT_SOONG_NAMESPACES
By setting QCOM_SOONG_NAMESPACE in device.mk
This will allow a device to specify a device specific branch within
hardware/qcom-caf/ or the device tree.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I39693a0fb9665129f0810590d389c4cb06cdf8d7
2020-05-15 01:42:01 +02:00
LuK1337
2057f50e48 config: Install {Lato,Rubik} fonts and their overlay packages
Change-Id: I3fe93982095722d22e726baf9561a6bde31f5bf1
2020-05-14 01:05:45 +01:00
Michael Bestas
b838db5dec config: Move permission xml to apps
Move required permissions to the respective apps.
This allows people to use a lot of our apps outside lineage
without extra changes.

Change-Id: I840a9edeae38e94ff6592c4817fcea6f5e4a7e8f
2020-05-10 23:49:59 +02:00
Michael Bestas
2d5bb63ff4 config: Remove unused Recorder privapp permissions
Change-Id: I560fe385f1fb93c4f1f3a4d44f970e8770c2b1c5
2020-05-10 23:40:04 +02:00
Michael Bestas
561146fdfe Revert "Add rules for non platform apps that use hidden APIs"
* No longer needed

This reverts commit dab1569b81.

Change-Id: Iea17996d735e49181a2537ae0cbc4f8e5af457f9
2020-05-10 23:40:04 +02:00
Michael Bestas
35b7e5386b config: Don't copy weather permission xml
* It's not brought up

Change-Id: I4abcee632552f8de39a4a7db4c77bca148a82f29
2020-05-10 23:40:04 +02:00
Pranav Vashi
c8bd3fe4de privapp-permissions: Update PREVENT_POWER_KEY permission for Camera
* Required after: https://review.lineageos.org/q/topic:%22power_key_prevent_cts%22+(status:open%20OR%20status:merged)

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I6797fd38ac3da9fa70fc42cef1cf626aa48030a8
2020-04-28 04:36:09 +05:30
Aaron Kling
807dae4567 atv: Build LeanbackIME
Change-Id: I8942916c4e63be11fc2b1d9aed756e4c9887498a
2020-04-23 14:50:32 -05:00
Aaron Kling
8926990865 Split mobile and tv configs
There are a lot of apps installed by default that are unusable with
a controller. This splits the mobile related settings out of common
into a common_mobile config and adds common_tv.

Note: The EXCLUDE_AUDIOFX flag was removed from the tv configs
because the new config path no longer builds it.

Change-Id: I67db32750fca91725d703243f2bcee8bcd9b82cd
2020-04-22 02:18:15 +02:00
Luca Stefani
b3bd728021 Allow A/B OTA downgrades on debuggable builds
Change-Id: I361c6d71f7b4316cf023ad0b36fdc488e37d6176
2020-03-31 21:56:10 +02:00
Han Wang
7ed20624d3 Revert "lineage: configs: Flatten APEX(s) on official builds"
* No longer needed, and is incomplete.

This reverts commit 1474aeb3c3.

Change-Id: Iec1cf525651eb215fc9844b4340d57eb802aeeec
2020-03-15 12:05:39 +01:00
Luca Stefani
0e38790e20 Always build adb_root
Change-Id: I1b08d51fd52d599c7bd37cc5195b50b60835240b
2020-03-14 00:13:45 +01:00
shagbag913
e754d88c2a aosp_audio: copy our own old AOSP alarm variants
* "Old" appended to metadata title to prevent duplicate alarm sound
   names in picker

Change-Id: I695a3760b8ae13c5cf959104dfb8b2336c6b0125
2020-03-12 19:22:26 +01:00
Arne Coucheron
c83b8dae35 Build Email
AOSP removed building it in r31.

Change-Id: I32a459b7bae52cea56a7e08e2c2cacbb8fbf8506
2020-03-09 00:08:32 +01:00
Nolen Johnson
1474aeb3c3 lineage: configs: Flatten APEX(s) on official builds
* APEX is useless to average Lineage user, as we aren't
  licensed to ship the GMS APEX's, nor would we want to,
  as we want to keep compatibility with non-GMS use-cases.

* Additionally, APEX's should each be signed with their
  own unique key, and number of them can vary per-device,
  which makes signing them in a standard way on infrastructure
  quite complex.

* Though this flag is default, we need to disable it
  explicitly to make sure any maintainers who set up the
  configurations for APEX images won't change needs of
  infrastructure. This will allow people who want to build
  locally to use full APEX(s).

Change-Id: I7f2eb52593eeca1b3761a7a163ce9079995870c6
2020-03-05 07:45:48 +01:00
Wang Han
e43d699cfe backuptool: Remove backup blacklist/whitelist
Change-Id: Ia89e6fa4c31377a429e0dfa912d0b61393696009
2020-03-03 16:12:08 +01:00
Bruno Martins
8560cdd635 config: Add Trebuchet to PRODUCT_DEXPREOPT_SPEED_APPS
Change-Id: I437cc1af399c82e38128d9a183d49bc86c891915
2020-02-14 18:21:14 +01:00
razorloves
7c9c674bc1 config: Dexpreopt speed compile SystemUI instead of SystemUIGoogle
Change-Id: I3331f8e65898f8696953b2602b9ad963f7e4313d
2020-02-14 18:21:14 +01:00
Wei Wang
058e5fd23b config: Add SysUI to PRODUCT_DEXPREOPT_SPEED_APPS
Test: Build
Change-Id: I088938462b389e1ebe783997f773dc5946345666
2020-02-14 18:21:14 +01:00
LuK1337
4827e3ba36 default-permissions: Don't grant custom permission by default
* We can survive without granting this permission
  out of box, also fixes Exchange-less boot up
  exception.

D AndroidRuntime: Shutting down VM
E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E AndroidRuntime: java.lang.IllegalArgumentException: Unknown permission: com.android.email.permission.READ_ATTACHMENT
E AndroidRuntime: 	at com.android.server.pm.permission.PermissionManagerService.grantRuntimePermission(PermissionManagerService.java:2103)
E AndroidRuntime: 	at com.android.server.pm.permission.PermissionManagerService.access$900(PermissionManagerService.java:121)
E AndroidRuntime: 	at com.android.server.pm.permission.PermissionManagerService$PermissionManagerServiceInternalImpl.grantRuntimePermission(PermissionManagerService.java:3032)
E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.grantRuntimePermission(PackageManagerService.java:5800)
E AndroidRuntime: 	at android.app.ApplicationPackageManager.grantRuntimePermission(ApplicationPackageManager.java:684)
E AndroidRuntime: 	at com.android.server.pm.permission.DefaultPermissionGrantPolicy.grantRuntimePermissions(DefaultPermissionGrantPolicy.java:1217)
E AndroidRuntime: 	at com.android.server.pm.permission.DefaultPermissionGrantPolicy.grantDefaultPermissionExceptions(DefaultPermissionGrantPolicy.java:1381)
E AndroidRuntime: 	at com.android.server.pm.permission.DefaultPermissionGrantPolicy.grantDefaultPermissions(DefaultPermissionGrantPolicy.java:297)
E AndroidRuntime: 	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:21731)
E AndroidRuntime: 	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2037)
E AndroidRuntime: 	at com.android.server.SystemServer.run(SystemServer.java:529)
E AndroidRuntime: 	at com.android.server.SystemServer.main(SystemServer.java:356)
E AndroidRuntime: 	at java.lang.reflect.Method.invoke(Native Method)
E AndroidRuntime: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
E AndroidRuntime: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:908)

Change-Id: If2caad2b004820b10b7095a4bb4307d0f065c723
2020-02-02 23:31:04 +01:00
Arne Coucheron
95b8fa97ba default-permissions: Grant default permissions to com.android.exchange
Change-Id: I9dfcecde0e662b9e481696b661e16ac7e131a75c
2020-01-27 19:49:27 +01:00
Michael Bestas
42020e23f5 Lineage 17.1
Change-Id: Iaf3b75e49677b616a19431da8087c338ee7eb8da
2020-01-03 02:03:00 +02:00
Han Wang
95c4105280 config: Remove unnecessary persist.sys.dun.override
Change-Id: I2f82e283a66992fe9e108d399eb7e9d135b54387
2019-12-08 16:08:59 +01:00
Han Wang
2838e8ae3b config: Mark more gralloc bits as valid
* Mimic the behavior of https://source.codeaurora.org/quic/la/platform/frameworks/native/commit/?h=LA.UM.8.6.r1-01900-89xx.0&id=002db77e0d84893d498f5a9544ec7941158c71e8.

Change-Id: Id87564acde3d05f10a266c580f6931d444c91b9e
2019-12-01 12:59:12 +01:00
Bruno Martins
315e2450f3 Revert "vendor: add style api"
Styles API was nuked from the SDK.

This reverts commit 6cf7640e96.

Change-Id: I99405c493b57045c5c7c6331ab64fad49d160840
2019-11-22 17:18:47 +01:00
Bruno Martins
ff7657bc0b Revert "privapp-permissions: Whitelist CHANGE_OVERLAY_PACKAGES permission"
Permission no longer required because Styles handling was
removed from LineageParts. ThemePicker is our best friend now.

This reverts commit a7b0cf7ec3.

Change-Id: I003cd2281de9f7edbd81a15e0c1b1258e537ccb3
2019-11-22 17:18:47 +01:00
Luca Stefani
31264cddfe Build Lineage Themes stub package
Change-Id: Ia481611d50a805235d132deeb8cee434d5743752
2019-11-22 17:18:47 +01:00
Luca Stefani
406b4dc897 Build ThemePicker
Change-Id: I6c2acaa6b33ad8937e481d2e9675a5b1eecd23cc
2019-11-22 17:18:47 +01:00
LuK1337
cca50fea7a privapp-permissions: Grant START_ACTIVITIES_FROM_BACKGROUND perm to Snap
Change-Id: I3e36efbbd0c3c049cb18abe6e931372ade6e7f53
2019-11-12 11:07:25 +01:00
Luca Stefani
06b93c0738 Build adb_root
Change-Id: I646b9db5543b47f777b443f601e9c2c6fa7ef08b
2019-11-08 12:13:55 +01:00
Bruno Martins
5c9d6c40e3 Revert "vendor: Add qcom platform type to soongs vars"
These vars are no longer useful as of Q because it looks like CAF dropped
their surfaceflinger extensions (ExtSurfaceFlinger).

This reverts commit 97cb87c809.

Change-Id: I09701f6a47830a30486f35052b4ea7ab15a9660b
2019-11-05 11:42:21 +01:00
Arne Coucheron
70143a64fc vendor: Add messaging app to power whitelist
* The messaging app is notorious for late notifications
  of messages. Whitelist it so it can be active during doze.

Change-Id: I932c89b27d76c114be67eaed62a3c021c219ca3a
2019-10-30 20:41:59 +01:00
LuK1337
4f0ad57275 common: Bring back Android Beam
* While this feature is deprecated all code
  for it is still alive ^.^

Change-Id: I36fac374e43ceddab1438255654bb541937041ff
2019-10-29 19:18:23 +01:00
Dan Pasanen
3e7435c42b lineage: use AB_OTA_PARTITIONS flag for including backuptool_ab
* Newer pixel devices get AB_OTA_UPDATER enabled from
  build/make/target/board/BoardConfigMainlineCommon.mk which
  is not included in time for this check.

Change-Id: I1679709b7178398ffaa62ad14a6d042ff377fd5a
2019-10-29 15:06:34 +01:00
Michael Bestas
57dcffc43f privapp-permissions: Allow Gallery2 to use android.permission.MODIFY_AUDIO_ROUTING
Change-Id: I8c838e63473c908eacd649e5249f346a1c37d4ba
2019-10-23 01:34:01 +02:00
Luca Stefani
243b877ea4 Kill sysinit
Change-Id: Ia8d46d794ff829f3fc39ff48d57fdb6f9c03262d
2019-10-23 01:29:31 +02:00
LuK1337
defae4ab66 common: Add nano to PRODUCT_PACKAGES
* Since `LOCAL_MODULE_TAGS := debug` is no more
  we need to add it to build manually.

Change-Id: I82378f13be30aa71766561bd0e8f04183363a52d
2019-10-18 16:49:23 +02:00
Bruno Martins
3bf932e2e0 common: Clean up debug packages
As of Q, micro_bench is dead. The rest are already part
of PRODUCT_PACKAGES_DEBUG in the main base_system.mk.

Change-Id: Idc91e572e83d227652802bbc8da71238596d28ea
2019-10-15 23:06:04 +02:00
Rashed Abdel-Tawab
e3c319a271
kernel: Move our dtb.img logic here
Our build/make changes break incremenetal builds with prebuilt dtb dir
(see discussion here: https://android-review.googlesource.com/c/platform/build/+/1134337/1/core/Makefile )

Instead of using the AOSP recipe, just define our own and use it by not defining
BOARD_PREBUILT_DTBIMAGE_DIR

Change-Id: If579b1670db447557b6f76ca79ecec22661c4080
2019-10-07 14:46:06 -04:00
Rashed Abdel-Tawab
2c247d80d0 kernel: Build dtb.img from compiled dtbs
Change-Id: If419d090740c005357fbd1665f78296d106b4509
2019-10-05 05:32:14 +02:00
LuK1337
9d8578bb13 kernel: Switch back to host openssl entirely
* OpenSSL cannot be statically linked because of
  getaddrinfo and gethostbyname calls.
* Also according to soong it's whitelisted:
  33f9529962/ui/build/paths/config.go (L98)

Change-Id: I1718bd98e7ac30d31de38c2cd3bc3e51b7100ce4
2019-10-01 22:42:34 +02:00
Rashed Abdel-Tawab
06539d4267 kernel: Add OpenSSL libs to LD_LIBRARY_PATH
Change-Id: If266f5f7bf0f2853ea54601023a894935d350754
2019-09-28 00:22:02 +02:00
Luca Stefani
24ada062ab lineage: Disable vendor restrictions
Change-Id: I9bd368f04605df469f02b26dae47e587bccc2e52
2019-09-27 15:35:44 +02:00
Michael Bestas
8a5dec51c2 build: Remove TARGET_CRYPTFS_HW_PATH
* Not used since 16.0 where vold/cryptfs_hw switched to bp

Change-Id: I649402d9a3b94df8810d577147e09a51833192a0
2019-09-27 15:38:44 +03:00
Rashed Abdel-Tawab
84948089b6 build: Move to new qcom HAL directory layout
All CAF forked HALs now reside in hardware/qcom-caf/

Change-Id: I9f84cebf021418c0b402bc3186f37643e63afb24
2019-09-25 21:03:29 +03:00
Rashed Abdel-Tawab
168fd231b6 Revert "kernel: fix KERNEL_TOOLCHAIN_PATH_gcc and usage"
This reverts commit 13f4c837fe.

Reason for revert: reeet. I broke stuff.

Change-Id: If8518aaa409d9afeaf20c689405fd21900fa5e74
2019-09-24 17:22:39 +02:00
Simon Shields
13f4c837fe kernel: fix KERNEL_TOOLCHAIN_PATH_gcc and usage
Previously, this would be a full compile prefix
(e.g. prebuilts/gcc/.../bin/aarch64-linux-gnu-). Since we're adding
this to PATH, it only needs to be prebuilts/gcc/.../bin.

Also remove the extra /bin/ added by kernel.mk.

Change-Id: If2490729128c0243c61de646f6c8e19a15c8dc1c
2019-09-24 17:19:45 +02:00
Rashed Abdel-Tawab
812efbcbb9
lineage: Move perl base modules to common prebuilts dir
Change-Id: I88df0825c26aaebfa9329cf15eb93d8e2bf728e1
2019-09-23 16:59:39 -07:00
Han Wang
ed76afdfd3 config: Restore org.lineageos.hardware.xml
* Though there is no LineageHW anymore, don't forget
   LineageHardwareService in our sdk depends on it to start.

Change-Id: I8befe1a75b66f54d9ffd7b88871c187a21b08497
2019-09-21 17:31:43 +02:00
Luca Stefani
f012c7e744 Remove duplicated priv-app permission
* In Q SystemUI is already whitelisted for this

Change-Id: I2c5b65dc0decfcdc22bebd14cd23c9e730994c34
2019-09-19 21:39:16 +02:00
Bruno Martins
d47d062016 BoardConfigQcom: Fix setting UM4.9 and UM4.14 specific flags
Calling is-board-platform-in-list from this makefile was not
returning the desirable output, thus resulting in a failure
to meet the conditions for the UM4.9 and UM4.14 family platforms.

Due to the fact that this makefile is included in a very early
stage in the build process, the QCOM macros are not defined.
Simply use standard macros like in rest of the makefile.

Change-Id: Iad889882f94167f1bc1761ddd549dac9dcdee3ba
2019-09-19 18:33:00 +02:00
Rashed Abdel-Tawab
9c57748956
lineage: Move openssl to generic 1.1.1 directory and correct darwin path
Change-Id: I2c1ad1054027d5fbf91421342c3c0d3e7972b1a3
2019-09-18 10:36:25 -07:00
Michael Bestas
b68958a862 config: Remove lineagehw from sdk PRODUCT_PACKAGES
Change-Id: Ib52cae9820f0c77e1481bcbfe1ecea24c18d7e98
2019-09-17 21:32:33 +03:00
Michael Bestas
f4032b8823 config: Replace 'system' with '$(TARGET_COPY_OUT_SYSTEM)'
Change-Id: Id1ebab8f12cb8536f0244706200b91958d90821e
2019-09-17 21:32:25 +03:00
Han Wang
89521b1d7a config: Split priv-app permission whitelist
* As there are some apps in /product now, do the following
   whitelist changes.

Change-Id: I4314c5dc8266ea7bb805399a92ab05f2ef49b920
2019-09-17 21:31:29 +03:00
Michael Bestas
85fdce3325 lineage: Cleanup PRODUCT_PACKAGES
* Reorganize
* Remove no longer used Development package
* Remove LiveWallpaperPicker/PhotoTable which are included in full_base.mk

Change-Id: I56f9f586f27172e7336699dbe57f7a43d7ef8722
2019-09-14 11:21:40 +08:00
Michael Bestas
c379eac6c5 lineage: Remove unused ro.build.selinux
* This was used to show selinux status in Settings

Change-Id: I93332d3a325d303d6f0fff370e5fc983050ce64d
2019-09-13 20:55:04 +03:00
Michael Bestas
24ecfd641c lineage: Remove boosted ringtones
* No longer used by any device and fw/base part is missing

Revert "Update boosted audio files 2/2"

This reverts commit 103c64a964.

Revert "Add volume boosted ringtones (1/2)"

This reverts commit a1c783fb28.

Change-Id: I384f44d515e2bcc237662184de0830836ba95b09
2019-09-13 17:52:19 +03:00
Rashed Abdel-Tawab
509e07e083
lineage: Move audio files to product
Change-Id: Ie58c8643a8e0f9a83eb76a66eb840c02a58042a6
2019-09-13 07:42:34 -07:00
Rashed Abdel-Tawab
c648519530 kernel: Add GCC toolchains to the path
Tools like `as` only exist in the GCC toolchain, so we need that

Change-Id: I025d0d9bdf6eda94a538d2d6ddafbecc8830f471
2019-09-13 08:27:49 +02:00
Luca Stefani
70207cd54d
kernel: Fix nproc number
kati wrapper is forcing this to 2 for some reason. Hack around it.

Change-Id: Ie056f3e43645515f3c5922e0fbf79a0b5ecf7856
2019-09-09 12:21:36 -07:00
Rashed Abdel-Tawab
ba5ea35eb6
kernel: Use absolute path for kernel O= argument
The kernel make command is executed in the build root. Without absolute
out paths, kernel out start with "out/" meaning it would be created in
the kernel source. Add BUILD_ROOT to the argument to ensure it's always
made in the actual out/ dir.

Change-Id: I425134a893d4d5c9f31efccaf75e153b5462b76c
2019-09-09 12:21:35 -07:00
Rashed Abdel-Tawab
493ad4b8a5
kernel: Set kernel toolchain roots for aarch64, arm, and x86
The GCC toolchains are no longer added to the path by default, so
we need to hardcode the full paths for these. Also set variables
for every arch, and then set the toolchain to the arch specific var.
This is so we can set the ARM32 cross compile flag for vDSO32
enabled kernels.

Change-Id: I7e099a26a17f4a3cc9be6232a26c671e8fcfbdef
2019-09-09 12:20:43 -07:00
dianlujitao
bd16a8e3a4
kernel: Use linux-android- toolchains to build kernel on aarch64 and x86
* -androidkernel ones became symlinks to -android ones long time ago, use
   -android executables directly to simplify the logic on these platforms.
 * Keep arm on -androidkernel because it doesn't boot for some reason.

Change-Id: I97dd93121fc0e805a965e3f8b84466dd7bd686c0
2019-09-09 12:20:43 -07:00
Rashed Abdel-Tawab
dfc3d1830d
kernel: Use prebuilt binaries
perl, lz4c, and a bunch of other binaries are not allowed anymore.
So we need to provide our own.

Change-Id: Idbc88b76247b3dda7c5d52e5eed2d548c33f6f2d
2019-09-09 12:19:44 -07:00
Rashed Abdel-Tawab
d7e24e397b
kernel: Link against prebuilt openssl
Using preinstalled system headers and libraries is no longer allowed.
So we're gonna make our own prebuilts/openssl so we can build kernels.

Change-Id: Ic5bc3b14c37b3bca352932c6f19a592377dbaf27
2019-09-08 13:41:36 -07:00
Rashed Abdel-Tawab
3ad0e0d705
kernel: Use full user defined path to ccache
The built ccache command is now deprecated and spits out errors. ccache is
also no longer used for the full build unless CCACHE_EXEC is defined. Move
the kernel to the same logic in order to actually use ccache and silence
the warnings.

Change-Id: Iccedd9d5868d31060677667cc18810aae0149a26
2019-09-08 13:41:35 -07:00
Rashed Abdel-Tawab
21ee5983e2
kernel: Use full path to the gcc/g++ commands
gcc and g++ are now dissallowed commands so just run the full commands

Change-Id: I2ba5675a3f5410f51fc37b723714b35f1e4628c8
2019-09-08 13:41:35 -07:00
Rashed Abdel-Tawab
fb35b9da61
kernel: Use full path to the make command
make is now a dissallowed command so just run the full command

Change-Id: I9390dc5a8bcd17f316354b88bdbc65ac8663b369
2019-09-08 13:41:35 -07:00
Rashed Abdel-Tawab
b6b3421188 Lineage 17.0
Change-Id: Ib166a6218d18cf192aa314477e4044892b068e97
2019-09-05 10:38:36 +02:00
Aaron Kling
fda4e1ba57 Disable AudioFX on atv
The interface is not usable on atv

Change-Id: Ibe2c33e5528b593ae338a62cee62e6fe9cfe47ad
2019-09-04 17:17:04 +02:00
Rashed Abdel-Tawab
3254cafe49
kernel: Add TARGET_KERNEL_ADDITIONAL_FLAGS to allow setting extra cflags
Also fix KERNEL_MAKE_FLAGS not being used by the kernel make command

Change-Id: I8786d6c1de6652f87a02c990c4b56f62b0cc0203
2019-09-01 17:45:00 -07:00
Aaron Kling
871f250c7d lineage: atv: Inherit lineage atv device tree
Change-Id: I869d9d24a61088762ea5cb1a3cc655ef11b0c521
2019-08-24 21:59:29 +02:00
LuK1337
276e7770bf vendor: Add vendor.lineage.biometrics.fingerprint.inscreen permission
Change-Id: I149508317c4f0312e88faf5324275867e79e35e9
2019-08-24 10:25:55 +02:00
Luca Stefani
214dfb9402 lineage: Enforce privapp-permissions whitelist
Change-Id: I1ca080e5addcc0876d7346f3cf09db8e8af39312
2019-08-21 12:04:08 +02:00
jhenrique09
97cb87c809 vendor: Add qcom platform type to soongs vars
Required for new commits on frameworks/native

* Fix lag during screen recording on some platforms
* Fix screen flickering after disconnecting from Android Auto on some platforms

Change-Id: Ia0ed0bbfda44fb5ccb184ace854ec1bf9a7d819a
2019-08-11 12:01:44 +02:00
Michael Bestas
8ea42c9fe0 config: Remove duplicate notification sounds
Change-Id: I1ec1ae4618f6f2a511a34ca0673600a65f9a971f
2019-08-11 01:49:35 +03:00
Michael Bestas
1585d0a8a0 config: Include charging sounds in notification sounds
... in order to make them selectable in charging sounds settings.
This way the user can go back to the default sound.

Change-Id: Iced4614baddd9033e0772e4a4221ed48dea6fc57
2019-08-11 01:49:35 +03:00
LuK1337
a5e776e514 privapp-permissions: Allow Trebuchet to use android.permission.STATUS_BAR
* cough * someone forgot to update permissions whitelist again.

Change-Id: Iedcdb0568ea1b9924144841a8d20ca6f05bbe29b
2019-07-25 15:31:29 +02:00
Rashed Abdel-Tawab
05aded86f3 qcom: Add UM 4.14 platforms
* Note: msmnile is treated like msmnile because unlike other Qualcomm
  codenames msmnile does not expand to 8150.

Change-Id: If246c0ec06de22097d369c17ce48aa1270bab19c
2019-07-20 08:36:55 +02:00
LuK1337
bf5dcb13f5 common: Add getcap/setcap to PRODUCT_PACKAGES
* These are pretty useful for debugging config.fs
  changes without rebuilding full system/vendor image.

Change-Id: I68fdeb2dc7c9f225784b55425407657645e34ac8
2019-07-13 20:46:19 +02:00
Isaac Chen
60912cff97 build: Support SDM710 platform
Change-Id: I958a6bfd1087f5437f4074e614198bb622d476ce
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-06-27 20:00:28 +01:00
Ethan Chen
66ce59c88e build: Reorganize inclusion of QCOM macros
* There's actually not a whole lot QC-specific about these macros,
  make them available at definition.mk inclusion time rather than
  relying on BoardConfig to include them.
* Don't create a dependency on QCOM macros from a makefile
  that is included very early in the build process.

Change-Id: I3dcaf0e068ca44732cfe58f69384621781ddda67
2019-06-26 01:10:51 +02:00
LuK1337
40ab94de5f privapp-permissions: Regenerate permissions list
* Regenerated using development/tools/privapp_permissions/privapp_permissions.py

Change-Id: I9f49e92dbf92dc545dee782124d45db1e70df471
2019-06-25 23:54:57 +02:00
Ethan Chen
b7b49cc07d build: Use ifeq/else ifeq/else construction in board config
* Instead of nesting ifeq/else/ifeq/else/endif/endif construction, make
  allows the more readable ifeq/else ifeq/else/endif construction. Use it
  instead.

Change-Id: Ifd2635929799db593e04a13827f05c97e95487e4
2019-06-25 23:13:21 +02:00
Michael Bestas
fcc1e1967a Whitelist permissions for AOSP FM radio app
* Sort the file while we are at it.

Change-Id: I8dec9ece1c1523dcb77421b6912bbef91efb1485
2019-06-25 21:41:08 +02:00
Nolen Johnson
76cdd01250 lineage: partner_gms: Add minimal configuration flag
Change-Id: I245138b19448a193f8cbd12d5d26db295a4f4cdd
2019-06-18 21:37:21 +02:00
Rashed Abdel-Tawab
8613ea0ac1 kernel: Set correct kernel compiler prefixes for aarch64 clang
These configuration options are set based on the Google configurations
located in kernels
(ex. https://github.com/LineageOS/android_kernel_google_wahoo/blob/lineage-16.0/build.config)

This is composed of 2 parts:

Revert "kernel: Correct CROSS_COMPILE_ARM32 toolchain"

This reverts commit c77bb3a5ba.
This breaks builds when building with upstream commit
ad15006cc78459d059af56729c4d9bed7c7fd860. That commit fixes LD being
used from outside the path, however androidkernel toolchains don't
have elfedit. Google specifically doesn't use androidkernel, so we
need to follow them on this.

Set CROSS_COMPILE_PREFIX to aarch64-linux-android- for clang builds

Upstream commit ad15006cc78459d059af56729c4d9bed7c7fd860 makes the
kernel build system use GCC toolchains for elfedit, so we have to
actually use a real GCC toolchain, not the androidkernel one.

Change-Id: I79ac4ac47d3ba6c2abbc5ce40e56ed5c707295b4
2019-06-16 06:27:43 +02:00
Rashed Abdel-Tawab
60fe93525a lineage: Rework DTBO image generation
Currently we handle the DTBO images from start to finish, including
AVB footers, and just drop them in $(PRODUCT_OUT)/dtbo.img when done.
While this works for the most part, we are limited in what we can do
with the DTBO images. For example non-A/B device recovery images must
have a copy of the DTBO image appended to recovery (see AOSP docs:
https://source.android.com/devices/bootloader/recovery-image ). This
means that we need to pass the pre-AVB dtbo image into
BOARD_PREBUILT_DTBOIMAGE in order to let the AOSP build system handle it.

This commit reworks the way the DTBO images are built, placing them at
$(PRODUCT_OUT)/dtbo-pre.img instead and setting BOARD_PREBUILT_DTBOIMAGE
to that path so the AOSP build system can pick the images up and sign
them and append to recovery (for applicable devices).

Change-Id: I8819d7cd92ba298de67dbc7f6b321917ba8524f1
2019-06-06 07:17:27 +02:00
Joey
515f8e0a18 Build our wallpapers app
Change-Id: I02c8548ca4ac156846da1e4a0839240978b90e57
Signed-off-by: Joey <joey@lineageos.org>
2019-05-31 15:51:35 +02:00
Rashed Abdel-Tawab
fc5a8fa0ad lineage: Build Fi GMS product if WITH_GMS_FI is defined
Change-Id: Ia141fec1168e21726718cf11da83bb5ca0f68a56
2019-05-23 02:41:38 +02:00
blunden
6b5af98a3b Actually include legacy privapp whitelist
Change-Id: I11f4d524a628f3fddb3a6a0c6fe645922123fc89
2019-05-19 12:51:39 +02:00
blunden
f972f5ea63 Whitelist permissions under legacy package names
The lack of these whitelisted permissions causes a bootloop
when upgrading from earlier OS versions on devices that enforce
the whitelist.

Change-Id: I76b8fad5f0c49a7d008d19e7a116b5f19c75f739
2019-05-19 02:32:48 +02:00
Michael Bestas
f8b28f1364 config: Include old AOSP alarms/notifications/ringtones
Change-Id: I8546d20098a0d117c5349dbeb73cfe1e72030990
2019-04-12 02:08:21 +03:00
razorloves
26d738bac6 config: Remove duplicate keyguard.no_require_sim prop
Added here:
https://github.com/LineageOS/android_build/blob/lineage-16.0/target/product/full_base_telephony.mk

Change-Id: If94b53efa9612bec8ef296a9d6df86add3b0f7c1
2019-03-14 10:22:53 +01:00
Ethan Chen
995aff2a45 kernel: Add more threads to kernel build process
Change-Id: I9c90de7820308542c7bb15605df519976dd04e0b
2019-03-09 13:41:19 -08:00
theimpulson
7484149d3c vendor/lineage: Drop obsolete TW_EXCLUDE_SUPERSU flag
* Reference commits:
* https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/31609/
* https://gerrit.omnirom.org/#/c/android_bootable_recovery/+/31745/

Change-Id: I7efbdc3ebee29095b36612660e065b6d7c603a93
2019-02-24 18:37:40 +01:00
Bruno Martins
9717ee7b80 qcom: Mark some gralloc bits as valid
* Add GRALLOC_USAGE_PRIVATE_WFD as valid gralloc bits for all
   the platforms and GRALLOC_USAGE_PRIVATE_10BIT_TP only for the
   UM 4.9-based platforms. Both are defined in the respective
   display HALs (in gralloc/gralloc_priv.h) being the latter
   only available for sdm845.

 * This results in the same as applying https://goo.gl/SR7sFY,
   but it's preferable since it makes use of our own method of
   extending the valid gralloc 1.0 usage bits (see commit 59009f8).
   TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS is extended here on
   purpose and as a bitwise OR of all the values in order not to
   clear what might have been set in the device trees.

Change-Id: I5536f341e75088cc72ac369065011388f0a6d3f1
2019-02-05 11:29:04 +01:00
razorloves
c832b57f5f privapp-permissions: Remove org.lineageos.trebuchet permissions
Trebuchet package name is now 'com.android.launcher3'.

Change-Id: I8a3f7b3f375069cc7a8d61a98dd51940fce84c0c
2019-01-29 13:19:05 -06:00
razorloves
54c01074ea privapp-permissions: Add new launcher3 permissions
Ref: cf019f2a73

Change-Id: If582910de52920a136dce2e2765825fda9e68a02
2019-01-29 06:39:55 -06:00
Han Wang
bf74b7f3d7 config: Add Deskclock to power whitelist
* Seems sometimes alarm cannot ring because of doze.

Change-Id: I3a35d2f02de365ea1d3a99ea75e0db9905d482a3
2019-01-11 08:35:05 +01:00
dianlujitao
9b4b5fa403 Remove deprecated ro.device.cache_dir
Change-Id: Ib8253a7b15b09283130d1f9d6ea649bd9e70aaf7
2019-01-09 17:47:02 +01:00
Luca Stefani
b206454557 Don't explicitly build uneeded packages
* libemoji doesn't exist
* libprotobuf-cpp-full is always built and part of VNDK
* librsjni is always built by renderscript

Change-Id: I379aa405f937d54fc7ab1fb7a120683e91f2bbac
2019-01-09 13:01:53 +01:00
Luca Stefani
c4d11905d7 Disable art debug and enable minimize debug info
Change-Id: I12b65c532201bf31f12cfb1d62c4a8bbe2204e2f
2019-01-09 13:01:53 +01:00
Rashed Abdel-Tawab
0d2fa55f2f lineage: Dynamically add custom APNs
For Example new devices need the new Sprint APNs, so add a new board flag for
them to set that will make the build system add the new APNs to
the APN config XML. If the flag is not set, continue to use the
old APNs.
To add or replace APNs, the custom_apns.py script has been
added. If CUSTOM_APNS_FILE is defined, custom_apns.py
is run and generates a new version of apns-conf.xml.

Change-Id: I7ff12a4342de2a7663b2b66fd627244214a8dc71
2018-12-13 07:25:18 +01:00
Artem Borisov
e0ca332693 vendor/lineage: Build TrebuchetQuickStep
We want all the fancy P features here.

Change-Id: I08342b8919f2df48aefa4b46410c9cb5d685565c
2018-11-16 19:47:17 +01:00
Bruno Martins
a7b0cf7ec3 privapp-permissions: Whitelist CHANGE_OVERLAY_PACKAGES permission
* LineageParts now uses AOSP permission CHANGE_OVERLAY_PACKAGES for styles

Change-Id: Iedf4c5165f2512879bcea7d5d28abe2ff20ca0a5
2018-11-14 12:17:29 +01:00
Christopher N. Hesse
e4a40881b6 common: Allow custom vendor to override properties
Test case: override ro.adb.secure in vendor/extra/product.mk
Before this patch, the override would not affect the resulting
property.

Change-Id: I0deb8a6865030b09ed6ba0ede1658319ca033e67
2018-11-07 22:40:46 +01:00
Rashed Abdel-Tawab
9fa7e80692 lineage: Dynamically generate kernel headers using lineage generator
Add a soong vendor plugin for kernel config variables so we can use
these in go.

Change-Id: Id31f2be8fcc5aba2d965dbe815edaaf1d28279c6
2018-10-20 21:50:38 +02:00
Rashed Abdel-Tawab
a836d79629 lineage: Move some kernel definitions to BoardConfigKernel
Kernel source settings should always come at BoardConfig population
time so things that use the variable later don't end up pointing to
an empty or wrong variable.

The following is also squashed in:

Author: Christopher N. Hesse <raymanfx@gmail.com>
Date:   Fri Aug 10 00:23:54 2018 +0200
    tasks: kernel: Honor prebuilt kernel flag
    For devices that want to use a prebuilt kernel, TARGET_KERNEL_SOURCE
    would still be set to TARGET_AUTO_KDIR, meaning the build system would
    still try to build the kernel if TARGET_AUTO_KDIR was present.
    Setting TARGET_PREBUILT_KERNEL indicates this is not wanted, so don't
    attempt to do it.
    Change-Id: Ic79b3ac1b9c946fd258ada43dce2b08bb74ea0d9

Change-Id: If046b86ff0d18c76898e90295be873a8379f678a
2018-10-20 21:50:38 +02:00
codeworkx
d51aef27d5 lineage: disable adb auth on eng build
We have to set ro.adb.secure to 0 on eng builds to get access.

Change-Id: Ie128f78c52c2f46b0a26d57eeed6a186aa7d9b67
2018-09-14 14:35:14 +02:00
Rashed Abdel-Tawab
a94cf0c781 qcom: Declare PRODUCT_SOONG_NAMESPACES for HALs
HALs are starting to move to blueprint files, which means that pathmap
ifeqs no longer work. This results in modules with the same name in
different platform HAL directories. Since these modules aren't used or
linked anywhere outside the HAL directories and a device's device.mk,
we can safely use a soong namespace to isolate the different HAL
directories' blueprints. This defines the PRODUCT_SOONG_NAMESPACES
make flag so make knows which namespace to look in as well.

Change-Id: I549e6da863465d79b12c7453aa169d5d963afa52
2018-09-03 22:30:59 +01:00
Rashed Abdel-Tawab
b8ac142535 lineage: Move QC board variables earlier
These variables are usually set in a device's BoardConfig, setting them
in qcom_target is at the very end of the "configuration process" which
results in them being unavailable to plenty of other configuration
"things" (ex. soong namespaces or soong config). Move them to right
after a device's BoardConfig has been found and loaded.

Change-Id: Iddd731202d22ed3f8eb010197ce20d3c75a1f40a
2018-09-03 22:30:59 +01:00
Luca Stefani
dab1569b81 Add rules for non platform apps that use hidden APIs
Change-Id: I483f00cc0735f47665c5cb61ed0a187fb4e7d655
2018-08-30 20:51:09 +02:00
LuK1337
040b292b8d privapp-permissions: Add FlipFlap permissions
Change-Id: I6be90c2558c439d3994f6438690d7b3d84069ef6
2018-08-28 02:14:34 +02:00
Ethan Chen
53f62b407b config: Use standard inherit-product-if-exists for vendor/extra
* prepend-product-if-exists was developed specifically to handle some
  special cases where Cyanogen Inc configuration ordering needed to be
  handled ahead of the standard inclusion order.

Change-Id: Ia3e041fb9e3c84d0763d18e4a401121bc210b976
2018-08-27 09:51:45 +01:00
Rashed Abdel-Tawab
e4868ccb6b lineage: Exclude all lineage overlays from RRO
None of this is device specific and therefore needs to be excluded from
RRO overlay packages

Change-Id: I24d882b783a8d7c9e494298e2c26c8ef689a515a
2018-08-16 14:27:42 +01:00
Bruno Martins
8d3ac29f24 config/common: Clean up debug packages
* Include all debug packages via PRODUCT_PACKAGES_DEBUG.

 * Remove oprofiled and sqlite3 from the list, because the former
   no longer exists and the latter is already part of
   build/target/product/core_base.mk. Also remove gdbserver, since
   it's already built by default.

Change-Id: Icde54061cd5a85d381b756364287344c3d216957
(cherry picked from commit e4d54e65cef919a77d51cce721eb741d2e512688)
2018-08-16 14:27:40 +01:00
Rashed Abdel-Tawab
6326caafb8 Lineage 16.0
Change-Id: Id892a06aac619efaef9c76aea8ced19af49672a6
2018-08-10 19:37:27 +01:00
chrmhoffmann
1813f415ab lineage: Allow background broadcast for CAMERA_BUTTON
This enables launch of camera app (snap) when pressing the camera button.

Change-Id: I76fd622031f628b20212e8c7a6239b49fd121a2e
2018-08-05 14:38:33 +02:00
Michael Bestas
95621f3c73 Revert "ota: Validate any installed data's signature against our own"
* otasigcheck doesn't work on encrypted devices and makes
  the zip installation fail since oreo.
* The build part of this was never ported to oreo.

This reverts commit aff5e54c4e.

Change-Id: I411f33c1db64844091c1692ef4706ae541925d4f
2018-08-04 17:46:35 +03:00
LuK1337
03a83c3b9a vendor: Copy org.lineageos.settings permission
Change-Id: Ia662f7789f77bb9b1abe1198db97a5b1767cd3e6
2018-07-31 21:49:17 +02:00
Aaron Kling
6674179a47 ATV: Build LineageCustomizer
Change-Id: I1a9e18516441dd513378bc5332b181b4e059e19b
2018-07-29 01:47:48 +02:00
Bruno Martins
db4aa05e62 config/common: Organize filesystems tools
* Along with it, remove tune2fs as the tool is already part of
   build/target/product/core_minimal.mk. Despite Google did quite
   a big cleanup in master branch, it's still built by default.

Change-Id: I4cf1178c2f99eda5a45de4ba79705093de5cd9bf
2018-07-26 08:50:34 +02:00
Bruno Martins
344f31cc2e config/common: Remove BluetoothExt from PRODUCT_PACKAGES
* This package seems to be deprecated and it's no longer synced.

Change-Id: I903d7000593a68149ea9cd24d545ccc6fa399de4
2018-07-24 23:48:22 +02:00
Bruno Martins
cac57c8547 privapp-permissions: Add new Dialer permissions
* Required for call recording

Change-Id: Ie35e872b54feb1d4dca7cee144a1e3ace16439e2
2018-07-18 15:25:06 +01:00
Demon Singur
e6c0c259fe vendor: build black style
Change-Id: I35026f9c19b5fca2402b7dc937e789aa9e997bb6
Signed-off-by: Joey <joey@lineageos.org>
2018-07-05 21:15:37 +02:00
Bruno Martins
e68dd977e4 vendor: fix ro.adb.secure for vendor-building devices
* This ensures the prop is set correctly for devices
  that build a vendor image by placing the prop in
  /system/etc/prop.default, rather than /vendor/default.prop
  so it'll be in a prop file that is run for mangle_default_prop
  in build/make/tools/post_process_props.py, therby
  setting persist.sys.usb.config correctly to "none".

Change-Id: I4027541cf1eae9dd967636efe35de9578922b725
2018-06-26 06:25:09 +02:00
Dan Pasanen
4a049b563c vendor: add custom backuptools and postinstall script for A/B OTAs
* A/B OTA devices wont run backuptools in recovery (because they don't
  go in to recovery to do an OTA). In these cases let's use a modified
  version to backup/restore from within android upon postinstall.

* Add backuptool_postinstall.sh which will be run prior to the normal
  postinstall script in order to backup/restore via addon.d scripts.

* This needs to be done in such a manner because we need /postinstall
  mounted rw instead of the ro with context= options which are used for
  the normal postinstall (dexopt) script.

Change-Id: I51511870634dd1ec5388adafddb446f95cc5a950
2018-06-22 16:09:56 +02:00
Joey
579241a761 vendor: introduce Trust interface
Change-Id: I1af2e4caab08b6b77db56e1be62247e55cd5a270
Signed-off-by: Joey <joey@lineageos.org>
2018-06-03 21:59:17 +02:00
Ethan Chen
70c217a5b8 build: Clean up makefile inclusions
* Include MTK/QCOM rules directly from the build/core/config.mk hook.
* Place main.mk hook and main_version.mk into build/core with the rest
  of the make system hooks.

Change-Id: Iad2f808f3e3eefbd2be2ca5facb907ff31babbb7
2018-05-30 21:50:44 +02:00
Adrian DC
3d92f57ca0 lineage: Isolate LineageOS versions properties for build.prop
* Our properties were supposed to go to /system/etc/prop.default
    after the following commit:
    "lineage: Move to Google's method of defining system default props"
    Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b

 * However if BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED is not true,
    only /default.prop will retain the properties contents of
    ADDITIONAL_DEFAULT_PROPERTIES and PRODUCT_SYSTEM_DEFAULT_PROPERTIES,
    and none of our versioning identification was held in the system

 * Enabling BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED globally would
    break all properties on devices that handle partitions usually
    at the device level rather than the kernel due to mounting races

 * Create a new main_version.mk file to isolate LineageOS properties
    that define the system's versions identifications, and use the
    ADDITIONAL_BUILD_PROPERTIES internal build variable to include
    from build/make through a common vendor main.mk entrypoint

Change-Id: I0060141c097b3d14c3710eee1e0caf7110634967
Signed-off-by: Adrian DC <radian.dc@gmail.com>
2018-05-18 20:38:33 +02:00
Bruno Martins
be7db53a33 lineage: Remove FFmpeg plugin remnants
* Support hasn't been brought up in Oreo

Change-Id: Ie74dd232d4c45d73c4f6d1a9a03faa065106f85e
2018-05-09 00:31:32 +02:00
Bruno Martins
bc91545931 lineage: Stop inheriting from no longer existing closed sources
Change-Id: Ie0010c0c216f02cc14c91dedae15eb3e87e3d908
2018-05-08 17:21:58 +02:00
Giuseppe Barillari
d96e292164 lineage: Camera2 priv-app permissions whitelist
Change-Id: I5247f0640a2b842a9930f0f7a1d1a794751f100f
Signed-off-by: Giuseppe Barillari <joe2k01dev@gmail.com>
2018-04-05 05:12:11 +00:00
Abhisek Devkota
63fb87ba47 vendor: More priv-app whitelist updates
Output of https://source.android.com/devices/tech/config/perms-whitelist

Change-Id: I68ec610cf99399016fe1482730791c9b5e8ae1f5
2018-04-05 05:12:00 +00:00
Paul Keith
a23592c7e9 Revert "LOSCoins"
This reverts commit c9c7968e59.

Change-Id: I20259fea456b415e5136e241e47e08df1a3b0fb5
2018-04-02 00:45:00 +00:00
Joey
c9c7968e59 LOSCoins
Change-Id: I433740f2e3102eeb06b471e80ca6539971a05613
Signed-off-by: Joey <joey@lineageos.org>
2018-04-01 07:42:00 +00:00
Joey
7091a4ff7a Make Cyan[...] great again!
Change-Id: Iac2b7ccc5a3a26a36d5651923011064b3363b156
Signed-off-by: Joey <joey@lineageos.org>
2018-03-29 08:27:23 +00:00
Michael Bestas
1fb7662466 lineage: Set TARGET_CRYPTFS_HW_PATH if HW crypto is enabled
* So TWRP can use it

Change-Id: Ibc1d9d943d6d4e4e5248f623cd06782335f8ae98
2018-03-21 21:06:12 +00:00
razorloves
e02d5d5fcc lineage: update our priv-app permissions whitelist
Add android.permission.MODIFY_DAY_NIGHT_MODE for com.android.systemui.
Introduced in styles api change.

Change-Id: Ic864da8eb01faa270bae22cabaddcb9458c8a6c6
2018-03-20 00:07:57 +00:00
Joey
3c8afe4b70 vendor: bump for LineageSDK API 9
Change-Id: I9ddb1c359bd0eaf03f150986e0b26bdcb81d481a
Signed-off-by: Joey <joey@lineageos.org>
2018-03-11 14:16:21 +00:00
Tom Marshall
e08b021eea lineage: Add awk
Change-Id: Ib7facb2328dc843b85f177a4b071129ea7d2bde8
2018-03-07 05:35:33 +00:00
Joey
6cf7640e96 vendor: add style api
Change-Id: I52455cbf827aa5708e1eee6c8469d267979eddc8
Signed-off-by: Joey <joey@lineageos.org>
2018-03-05 13:33:32 +00:00
Rashed Abdel-Tawab
b6fb3e159a lineage: Move to Google's method of defining system default props
PRODUCT_SYSTEM_DEFAULT_PROPERTIES can now be used to define system default
properties which should be installed in system partition.

Those props are stored in /system/etc/prop.default.

Change-Id: I6cb0e28a7599b010b389cc541015a37010a00f4b
2018-03-03 00:46:27 +00:00
Michael Bestas
57c0e7ad52 Bump LINEAGE_PLATFORM_SDK_VERSION to 8
Change-Id: If78b28d3c018c7cd58b30e48efe631adbd70dd40
2018-02-24 18:54:24 +00:00
Paul Keith
08004d8cc8 lineage: Unconditionally ship exFAT tools
* We no longer need to build the mount.exfat tool because
   only kernel implementations will be supported from now on.

Change-Id: Ic7e1354e6ead6a96a9d6021de8dac4cfdabcbbce
2018-02-24 14:39:55 +00:00
Aaron Kling
30768b82c1 ATV: Ship AppDrawer
Also remove TvSettings from here since its included in atv_base

Change-Id: I2d97e90e234dc9b7868dad3b063c0420211dacdc
2018-02-18 17:38:45 +00:00
Abhisek Devkota
735c79cb4d Update our privapp whitelist
Change-Id: I40f0ee9b304d22437c0f3a95df34c7ce8313b41d
2018-02-12 06:49:38 +00:00
Rashed Abdel-Tawab
6255f03252 lineage: Move all system props to PRODUCT_GENERIC_PROPERTIES
For Treble enabled devices, PRODUCT_PROPERTY_OVERRIDES puts props
added with that in /vendor/build.prop. While that's great for
device-specific properties, these are global Lineage properties
which are descriptive of the system side, so move them to the list
that gets populated into /system/build.prop.

Change-Id: I8bb3d0fe13188478d4f7dedc306740a40f44a3e8
2018-02-11 23:15:39 +00:00
Joey
7f9596fc01 vendor: build berry overlay packages
Change-Id: I5fe01de25947fe260936b3ce8ccb71d590cc3583
Signed-off-by: Joey <joey@lineageos.org>
2018-02-05 21:13:24 +01:00
Luca Stefani
5c91b611ca Always add manufacturer and model to MP4 files
Change-Id: Ic90fca6bc95ddf6869878cbd836f3248e09b8412
2018-02-02 00:17:52 +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
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
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
Sam Mortimer
12db6e9318 vendor/lineage: allow tethering without a provisioning app
Change-Id: Iac67426229aff842f536301edd9ea270d5d3db6e
2018-01-10 19:33:35 +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
Adrian DC
93256e4ac9
vendor: lineage: Upgrade to LineageOS 15.1
* Update backuptool versions
 * Update text references
 * Set version minor to 1

Change-Id: I30eea1f1cb01e2165311364cc62b589669bb1290
2017-12-07 01:36:18 +01:00
Ethan Chen
c3532d9bfb lineage: Add privapp permissions for Lineage applications
Change-Id: I9901e1c6314d0531c1762fc7eba7597f342ef177
2017-11-19 05:03:46 +00:00
Kevin F. Haggerty
a2440d0898 lineage: Append time of day to zip names for unofficials
* Helpful when building multiple builds in a day

Change-Id: Ia0096ea5fbc3e479a549b7805523b2b06cb223da
2017-11-15 17:38:41 +00:00
Sam Mortimer
477d8fee68 vendor/lineage: Rebrand cleanup
*) Rebrand remaining text references

Change-Id: I70ffb30519d40237c8266e208449a5e27140d2b3
2017-11-14 05:32:14 +00:00
Bruno Martins
a1b47e3d10 Whitelist some of our own broadcast actions
* Starting with Oreo, all the apps that target O+ are always subject to
   background restrictions (android/platform_frameworks_base@42a386b771).

   The manifest-registered receivers of apps with a targetSdkVersion
   higher than 25 won't receive the broadcast. Instead, a message similar
   to the following will appear in LogCat:

       10-07 14:13:49.594   719   736 W BroadcastQueue: Background execution not allowed: receiving Intent { act=lineageos.intent.action.LID_STATE_CHANGED flg=0x20000010 (has extras) } to org.lineageos.flipflap/.EventReceiver

 * Exempt some of our broadcast actions so that we can keep targetting
   the latest SDK.

Change-Id: I075608e18994f64db5e89658757dca307f07c417
2017-10-16 18:47:13 +00:00
Sam Mortimer
c10885231f Refactor Lineage init rc file
*) Put Lineage rc files in /system/etc/init instead of /init.lineage.rc

*) Split into function specific files (vibrator-specific stuff moved to
   our custom vibrator HAL service)

Change-Id: I1d00950253fbf7fdd7a4b7bd52adbed971923575
2017-10-15 03:06:48 +00:00
Sam Mortimer
19ce2d3ad2 vendor/lineage: sdk rebrand: step 2: update file contents
Change-Id: Ib61b9b559c4b0e536979e5cb25fba50aa56c138d
2017-10-12 22:33:59 +00:00
Sam Mortimer
f13a6df311 vendor/lineage: sdk rebrand: step 1: update paths
Change-Id: If51b9122d7d7d0ee25fd77278a808442d461b8a0
2017-10-12 22:33:45 +00: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
Luca Stefani
9f3c85ae11 vendor: Kill telephony-ext
Change-Id: If50a5f28f1d90758f4cddec74b34bf18c2765cfa
2017-08-26 12:04:48 -07: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
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
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
Dan Pasanen
e27e11bb78 Revert "cm: build custom tiles app"
This reverts commit bfaafb5e2a.

Change-Id: Ice3ac0db24c9336e082a7a33bba1dc5f396b49a5
2017-07-02 16:09:28 +00:00
Olaia Segovia
7c5e4cbf2f (2/2) Make sensitive phone numbers not to be shown in call log history.
Considering sensitive phone numbers to be, hotlines dealing with
violence against women.
In the EU, these numbers do not show up in the phone bill.
In order to avoid these phone numbers to be listed in the Call Log, we
have implemented a new XML file which is parsed with phone numbers
from different countries to be filtered. This file needs to be copied to
device via desired Android.mk file in order to be able to process it.
The comparison is made checking the network MCC the SIM is connected to
in order to consider roaming and multisim scenarios.

Test: CallLogManagerTest.testDontLogCallsToSensitivePhoneNumber PASS

Change-Id: I2e78d0f3e13d1ad1298613651ece136e30b86dfe
Signed-off-by: Olaia Segovia <olaia.segovia@bq.com>
2017-05-26 19:30:06 +00:00
Joey Rizzoli
177ab036d0 cm: nuke browser, welcome jelly
* Aosp browser is really old and insecure, remove it
* Jelly is a simple webview-based browser, so it relies on installed webview,
  which makes it secure as long as webview is updated
* Gello is still alive, it overrides Jelly instead of Browser target

Change-Id: Idd1dbe37879e1c1d466b93f5e754f1108f4dcfa6
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
2017-05-01 20:37:54 +00:00
Dan Pasanen
2f40cfa17a Revert "Br0Zip"
This reverts commit dd4ee0c2e3.

Change-Id: If2a884670142a88b3df1daeadede99be6a9e7167
2017-04-09 00:43:57 -05:00
Joey Rizzoli
dd4ee0c2e3 Br0Zip
Change-Id: I84eee4b2bcd4c3564660a99ddbf5f76a38847a93
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
2017-04-02 19:14:33 +00:00
Sean hoyt
fc9a4c5793 Make a data only config
Change-Id: I99d60de61384aa413f64fbd60842c42ee1a169af
2017-03-24 19:59:47 +00:00
Dan Pasanen
bfaafb5e2a cm: build custom tiles app
Change-Id: I861bccafe2a520d9061d1f636aac485db21cfb95
2017-03-16 18:06:31 +00:00
Aaron Kling
99c8456e75 Add TvSettings to common tv config.
This is required for all ATV builds. SUW will crash looking up the
wifi activity is it isn't installed.

Change-Id: Iccc982f46963024c065ac0b7c578ad60eb4d7d7a
2017-03-12 22:52:47 -05:00
Paul Keith
5170f46847 cm: Remove HexoLibre
* This is wasting space and is totally unused

Change-Id: I85115e979f4ff593df9a0c3a3ceb104b55bafe06
Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
2017-02-23 18:50:12 +00:00
Matt Mower
55a3794773 cm: Do not build CMFileManager
Until CMFileManager is revamped or a suitable replacement is written, do
not include it in general builds. Basic storage activities can still be
completed with Android's built-in storage management:

1) Use the Downloads launcher
2) Settings > Storage (select volume) > Explore

Change-Id: Ic9c4eb2d0347332c4631d55c480b87cbc131116c
2017-02-23 18:11:39 +00:00
cretin45
7674e0521a CyanogenSetupWizard > LineageSetupWizard
Change-Id: I71a5ab3aff11963c5c6119197d644fa468b3c728
2017-02-14 13:35:55 -06:00
Shane Passmore
ad61cacebb cm: config: dont build CMWallpapers
Change-Id: I3dd61996cb685e5d383df3d975d5a1cedc257534
2017-02-12 18:08:20 -06: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
Asher Simonds
e035b9ab41 vendor: lineage boot animation
Change-Id: Iff2087eb97aee5e586eecf3898f0066d99bc885c
2017-01-17 08:13:19 -06: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
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
Zhao Wei Liew
321dde5f70 cm: Rebrand CM_VERSION to LINEAGE_VERSION
Change-Id: I79433c4d2fa14784c5b41985ed91e3712aacafa4
2017-01-02 04:08:40 +00:00