Commit graph

3539 commits

Author SHA1 Message Date
Han Wang
939e2e69d1 prebuilt: Clean up lineage-system.rc
* There is no reference to ANDROID_CACHE now, and
   /persist does not exist on most devices, neither
   can we write to it.

Change-Id: I91af1e6f571ced317d195e3a7901bf4c269486a1
2020-07-31 17:47:04 +02:00
Aaron Kling
7d6601cf02 repopick: Use upstream instead of revision to determine branch
This is to allow repopick to determine a branch even on a
revision locked manifest. If upstream is not set, it falls
back to revision.

Per the repo manifest documentation:
Attribute upstream: Name of the Git ref in which a sha1 can be
found. Used when syncing a revision locked manifest in -c mode to
avoid having to sync the entire ref space. Project elements not
setting their own upstream will inherit this value.

Change-Id: I12876f7e3b440f9eab6d1b96eba9b18a13cff2e0
2020-07-20 19:23:05 +02:00
Oliver Scott
99228d6db7 lineage: update GMS updater component disable list
Google has introduced new components that handle their system updater

Change-Id: Id5bb31af01736ac3a0e5b652c0d8be72c09df93a
2020-07-13 20:04:01 +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
Aaron Kling
d97bfec63f repopick: Fallback to name when project path is empty
When a manifest project path and project name is identical, the
repo manifest parser returns None for the project path. Since
both name and path are required, fall back to using name for path
when path is None.

Change-Id: I2fb3cc0cc643808a3049171804742f249d737679
2020-06-28 18:38:47 +02:00
dianlujitao
83d2fa4198 Export CAF msm-4.14 audio headers
Change-Id: Idc7def38ad90abf4a62e30b3cec97bcb76696a6d
2020-06-28 22:16:44 +08: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
Eloi Carracedo
e82e08ac6c Update Bulgarian dictionary
Sourced from: https://github.com/dslul/openboard/pull/108

A total of approximately 750 words and their forms were added. The first line was amended with the new version and a correction for the name of the dictionary, which did not list the language name with a capitalized first letter as it should have.

The newly added words are mostly names of local dishes (cuisine), old or dialect words, Turkish loanwords that are commonplace, curses and offensive words and words pertaining to gender studies.
As is noted in the original source (https://github.com/dslul/openboard/issues/105), the new lines received the addition of ',flags=originalFreq=' for future proofing, but the old lines did not.

Other things to note if somebody wishes to improve this in the future:
1. The general frequency is skewed and needs to be heavily improved.
2. Offensive and possibly offensive flags are missing, as are any other flags that may exist.
3. Common personal and family names, famous historical figures' names, as well as monikers and/or celebrities' pseudonyms could be added to further enrich the dictionary.
4. The prefixes 'по' and 'най' (hyphenated in front of certain words) can't be handled by the dictionary as is.

Change-Id: Iee6d2e43166b324ec16f5bbe00dceac8b9289b67
2020-06-08 17:57:16 +02:00
Nolen Johnson
af32ee6d3f partner_gms: Support TV GMS
Change-Id: I16c1f4a868c119b54da3e41c2e5b7e6bf7e0a53e
2020-06-01 14:51:49 +02:00
TheScarastic
612c5a846e soong: Add flag for fod extension
Change-Id: Ib45706cc50fa88b9b05af1c68eec9d1f08d70569
2020-05-31 16:06:57 +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
Sam Mortimer
d3a50ee866 vendor/lineage: emulator should have mobile config
* It's missing launcher and browser (etc) otherwise after:
  8926990865

Change-Id: Ie7c1983eb88c9bf1411c069303e3e55fda150f06
2020-05-29 10:33:19 +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
Andreas Schneider
b1d3f65ac2 extract-utils: Fix usage for ETC files which need sub_dir
Thanks to Tad.

Change-Id: I6a0e7978afce6444d0827f97d7686f23aa7500c9
2020-05-25 23:52:52 +02:00
dianlujitao
48917cc909 Export qcom UM hal root to soong
Change-Id: Iabb75e8745dba9069c2eab0d5ef41b2171f4c048
2020-05-25 23:51:08 +02:00
LuK1337
deb21830ac config: Build Etar
Change-Id: I5cc6e50a8fbc3b0f86793292330edcd33b6d9c48
2020-05-25 23:45:30 +02:00
dianlujitao
f646fd7296 Sort soong variables alphabetically
Change-Id: I880b07972fefb7fa2b40ab4aeacd073fb9a942b4
2020-05-25 18:20:26 +08:00
Andreas Schneider
a7e400ceb6 extract_utils: Fix vendor Android.bp creation with subdirectory
error: vendor/samsung/beyond0lte/Android.bp:37:9: unrecognized property "sub_dir"

Change-Id: I23becda0345f41d2cb1462e74b66a787e9ad4c96
2020-05-23 16:00:38 +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
Paul Keith
fd27bb4912 lineage: Add flag for skipping EV_REL input in recovery
* Needed now that recovery is in bp

Change-Id: I625ac22e79912cbdea328eba12dc1dd16448e7a8
2020-05-09 11:30:04 -04: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
Kevin F. Haggerty
c756f6051f Add product_launched_with_j{,_mr1,mr2}.mk
Change-Id: Ibb21a4826e6dffe6b9b74898e2bd55b491bb15f7
2020-04-26 15:34:36 +02:00
dianlujitao
ee95f242c8 extract_utils: Handle Brotli compressed block image
Change-Id: I1b3ef34ebba9b43fd684c6abaa1dbc77c8786da7
2020-04-25 16:21:32 +02:00
dianlujitao
fc48634419 extract_utils: Support odm/product/vendor partition for zip extract
Change-Id: Iec06835f1703e276f8882c5ee327ef241a2f8f23
2020-04-25 16:21:32 +02:00
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
Nolen Johnson
c0b837dbc8 tasks: kernel: Clarify prebuilt kernel deprecation notice
Change-Id: I229029a3b36c5564a445752c6e495817a0969240
2020-04-17 19:27:26 +02:00
Luca Stefani
83dee70c3b kernel: Allow specifying a custom linker binary
* This is needed for using LLVM LLD ( and ThinLTO )

Change-Id: If603274326f0ff22f967455847ffe1c595f04aa5
2020-04-12 21:47:17 +02:00
dianlujitao
0b501d534a extract_utils: Generate deodexed apk/jar with consistent checksum
* zip stores timestamp for all included files. The timestamps of dex
   files are different across different runs, result in inconsistent
   checksum of output apk/jar.
 * Workaround the issue by using fixed timestamp for dex files.

Change-Id: I21f3a7e32cdfdb07c5f5c140df2e797efd4a8005
2020-04-06 13:10:36 +08:00
dianlujitao
db1caf4597 extract_utils: Fix doubled path separator
* $DST_FILE is already prefixed with "/", don't double it.

Change-Id: I2655313abd7720a54b20f541a95960ae9ec373ad
2020-04-06 12:43:17 +08:00
Luca Stefani
b3bd728021 Allow A/B OTA downgrades on debuggable builds
Change-Id: I361c6d71f7b4316cf023ad0b36fdc488e37d6176
2020-03-31 21:56:10 +02:00
theimpulson
461ebc0b54 soong_config: Add TARGET_IGNORES_FTP_PPTP_CONNTRACK_FAILURE
Signed-off-by: theimpulson <aayushgupta219@gmail.com>
Change-Id: I2c56fd1c09ead3e33fa2f2eb782971bd1dd9d666
2020-03-31 16:29:50 +00:00
dianlujitao
9dfd5f7902 Export techpack/audio uapi headers of msm 4.14 kernel
* With the techpack integration implementation of Google's msm-4.14
   kernel https://bit.ly/2WqiMFx (CAF didn't port this to their kernel
   thus suppose Google's port is the standard one), these headers are
   installed to include/audio/include/uapi.
 * This fixes building audio HAL with 4.14 kernel

Change-Id: I8283699470a7bcb31c771c9aa770a825b4e82519
2020-03-19 19:33:41 +01: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
Luca Stefani
3d5480724f envsetup: s/wait-for-online/wait-for-device-recovery/g
Change-Id: I3fd52aa99d281837fdbdba3b1d268572061a900d
2020-03-13 23:30:39 +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
Han Wang
ae82c34dd5 extract_utils: Fix up 4a2b65fb60
Change-Id: I9e5ea799812ca932de95ec6cbdedb604cbde5736
2020-03-10 09:41:34 +02:00
XiNGRZ
4a2b65fb60 extract_utils: Fix bad substitution for zsh
Change-Id: I5f4fabc62b1ac3da159b36c3ae6080e145948530
2020-03-10 07:49:55 +01:00
Arne Coucheron
c83b8dae35 Build Email
AOSP removed building it in r31.

Change-Id: I32a459b7bae52cea56a7e08e2c2cacbb8fbf8506
2020-03-09 00:08:32 +01:00
Alessandro Astone
cdf9ae8532 lineage: modernize functions
[installrecovery]
 * Don't try to mount system

[installboot]
 * Kill kernel module pushing
 * Now we don't need to mount system anymore ^.^

[eat]
 * No need to use /cache/recovery/command when we have
   adb reboot sideload-auto-reboot
 * Make use of our custom adb wait-for-online

[_adb_connected]
 * Could be removed entirely, but for now make it use
   adb wait-for-online

Change-Id: Ife25e63c63c784670c7d330f8a69de01326de1a0
2020-03-05 12:18:40 +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
z3DD3r
284ec83fee backuptool: Fix backup/restore functionality
Backup/restore functionality was broken in the
Ia1f4ae95c9e4dae4df844853e81c264bc838f177 change
because of incorrect check of the function's result.

check_prereq() function refactored to return 0 if
backuping/restoration is possible. Any work should be
performed only if check_prereq() succeeds.

Change-Id: Ic977dba675df58a228ef4b882b25beb66cc9d2c6
2020-03-04 20:32:58 +03:00