Commit Graph

3721 Commits

Author SHA1 Message Date
Anirudh Gupta
9809469844 overlay: Define default Wellbeing Package
Change-Id: I7fcd851b5c89e9deda2979b206ff784f8b56b346
2020-01-09 15:43:41 +01:00
Nolen Johnson
f50d9bc3fa lineage: Deprecate AddonSU
* We are no longer providing our own root access solution
  as of 17.0, as PermissionHub has largely replaced the
  functionallity of Privacy Guard, which this feature
  was housed in.

* We do still have a baked in ADB root solution that can
  be enabled in developer settings (see topic:ten-adbroot
  on Gerrit).

* This DOES NOT mean we will be providing support for other
  root solutions.

Change-Id: Iecf92e3c8f91304ed998e0260d09a8048dc44d82
2020-01-03 16:17:22 +01:00
Bruno Martins
8f3d941706 addond: Remove versioning
It doesn't make sense to keep updating this file on
every new version.

Change-Id: I865764eda559407d29364d686603b4ad80a6b445
2020-01-03 15:55:43 +02:00
Michael Bestas
42020e23f5 Lineage 17.1
Change-Id: Iaf3b75e49677b616a19431da8087c338ee7eb8da
2020-01-03 02:03:00 +02:00
Roman Birg
d51094ce3b vendor: make dopush recognize files on more partitions
Change-Id: Ied1a243730df1d683fd237f8ea7bd9b1742db105
Signed-off-by: Roman Birg <romanbirg@gmail.com>
2019-12-19 20:45:26 +01:00
Sam Mortimer
c386595e0c vendor/lineage: Fix dopush
* $OUT is now absolute so strip $ANDROID_BUILD_TOP before
  looking for targets to adb push.

Change-Id: If00e58a98484b7b6b2ee6e4ecd00fc3031e1f47b
2019-12-19 20:41:18 +01:00
Volodymyr Zhdanov
27180809c5 build: set build fingerprint for all devices
* there's no per device way to add props to /system/build.prop
* adding it here is the only way so far

Change-Id: Iafc286d9e479677540a4ec617db76715c018ae8e
2019-12-18 20:49:06 +01:00
Michael Bestas
8c49ba97f1 soong: Add AUDIO_FEATURE_ENABLED_EXTENDED_COMPRESS_FORMAT
Change-Id: Iac6366d714ab3634def648e6a8c0c30d684a9383
2019-12-09 23:58:27 +01:00
Han Wang
95c4105280 config: Remove unnecessary persist.sys.dun.override
Change-Id: I2f82e283a66992fe9e108d399eb7e9d135b54387
2019-12-08 16:08:59 +01:00
Tim Schumacher
cc6f30cf6b Allow building emulator as an sdk-addon
This can be imported into Android Studio more easily, eventually even
as a repository of LineageOS emulator images.

(Build with `m sdk_addon`, it will end up in out/host/linux-x86/sdk_addon)

Change-Id: Ia78524dd729b0f2ccc96f5a6eb2503cdc8b4d253
2019-12-06 23:51:10 +01:00
Han Wang
ee283b0857 prebuilt: Remove lineage-governor.rc
* This seems to be a leftover of CM days.

Change-Id: Iff75e120e4a71e64fa45ab3734ab63151ce21cb1
2019-12-01 12:59:18 +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
Martincz Gao
dd3a0f56d3 overlay: Use ntp.ntsc.ac.cn NTP server for Chinese users
Old one no longer works.

Change-Id: If04d87ded94ceb08c7265569503bd51e7c06c542
2019-11-26 05:13:56 +01:00
Jan Altensen
561f974b1e soong_config: add TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE
Change-Id: I96dd2f7dd629a06de288332e1d00be827029e89c
2019-11-24 19:02:48 -05:00
razorloves
0fd9727468 overlay: Update webview providers
Starting with Q, Chrome is no longer a webview provider.
The role was switched over to google's webview app.

Change-Id: I59251578820a9af0b8ad8e51eb429156e7b7a3eb
2019-11-25 00:49:11 +01:00
Danny Baumann
e5df0f0c7e Add Settings overlay for theme picker.
Makes theme picker appear under display settings.

Change-Id: Ibd02eacf1c199979123e54054715b72d91af3851
2019-11-22 17:18:47 +01:00
Bruno Martins
a8f45e9914 Revert "lineage: add BUILD_RRO_SYSTEM_PACKAGE target"
AOSP pushes RROs to system by default now,
therefore our custom target is not needed anymore.

This reverts commit 546c9a1ec5.

Change-Id: I46753a3b60a89f0198058fbc6d07d3db8a6699b5
2019-11-22 17:18:47 +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
Demon000
9a30c84e7b ThemePicker: Do not override default values
No need to change them.

Change-Id: I3040ebb6316db7498e5170531d8df904f54e5233
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
Demon000
493bcc95f4 ThemePicker: show our apps in icon previews
Change-Id: Iea298d08621bbf10e06a560bf144095e84765774
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
c34e5f5a2e Add overlay to specify our custom theme provider
Change-Id: Ie24eda594f9aee3cb0aae8162bbef53aa65b7354
2019-11-22 17:18:47 +01:00
Luca Stefani
406b4dc897 Build ThemePicker
Change-Id: I6c2acaa6b33ad8937e481d2e9675a5b1eecd23cc
2019-11-22 17:18:47 +01:00
Simon Shields
d5e35c9dda repopick: fix --check-picked on Python 3
This is very subtly broken: we look for the string 'Change-Id:'
in an array of byte strings. Fix this by decoding the git output
to utf-8 strings.

Change-Id: I708ad0adacb61c89bfba0fd88eeb2e37648317af
2019-11-22 16:48:05 +01:00
Rashed Abdel-Tawab
15d91cd200 kernel: Only build dtb.img if prebuilt DTB directory is not set
If the prebuilt directory is set, then the AOSP commands get activated,
which will conflict with ours, so just disable ours if the prebuilt
directory is set.

Change-Id: Ia998ea3d1a2d3403d0261cecae12d8a5c4f689ec
2019-11-20 15:24:29 -05:00
Oliver Scott
206218347d lineage: GMS updater components disable list bringup
* GMS updater notification should no longer appear
  (SystemUpdateGcmTaskService being responsible for it)
* Remove outdated entries

Change-Id: I25f93dc8477a1f8e30a9c9e0280e502fa4ce0971
2019-11-15 05:21:57 +01:00
Michael W
55548eb864 vendor: Rename config_disabledComponents
* Follow the change in fw/b introducing the per-device disabling of
  components

Change-Id: Ie729c637c86f733ed7bdcc6fd3e3391acb4c01e3
2019-11-15 05:21:57 +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
dianlujitao
119f9d1759 soong_config: Reverse wait for qsee flag
* Disabled by QCOM on P and onwards

Change-Id: I3f27d399293a95ad75446482c8711adf5fed1f78
2019-11-01 21:05:53 +01:00
Michael Bestas
87e7a31bdb Revert "soong_config: Add flag for legacy HW FDE"
* No longer needed with HIDL cryptfs HALs

This reverts commit c61fabe667.

Change-Id: Idea6bbec97af3951a0be2c3df4068cdad7ef8b0a
2019-11-01 21:05:53 +01:00
Han Wang
eb06cb80bd overlay: Remove Trebuchet config
* Full backup was invented long ago.

Change-Id: I171e0c9e796938227d75d95906766aefd6a36a27
2019-10-31 18:24:11 +02:00
Han Wang
35775f9e15 overlay: Remove Keyguard config
* Not valid anymore.

Change-Id: I229796361d52433ab993367f92a8ed4d8e283299
2019-10-31 18:06:48 +02: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
Arne Coucheron
8ab8c2f35d overlay: Remove config_show4GForLTE
This has been moved to CarrierConfig

Change-Id: Id8057505f5e00612d87e9bc036bbf5e7d7dbc4ad
2019-10-30 20:41:21 +01:00
Han Wang
f87b801af3 overlay: Clean up Settings overlay
* Merge bools.xml into config.xml for 10.

 * Remove dead overlays.

Change-Id: I7773adb71aa20337395236f7a8ad334b03cc99de
2019-10-30 15:41:31 +01:00
Adrian DC
045f664a1a repopick: Support project paths detection on different branches
* When some projects are declared in the manifests with specific
    changes (revision="refs/changes/../....../."), the path
    detection does not work, while most cases have a unique paths

 * Allow projects with unique branches to select their paths
    upon repopick with a warning about the selection

Change-Id: Ic873d69f57c78f233db3d0de4ebd529f896799ea
2019-10-30 12:59:48 +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
Mohd Faraz
d1d72351b2 extract_utils: Added Suffix uses COMMON_SUFFIX
* COMMON_JAVA_PACKAGE_SUFFIX for jar

 * COMMON_ANDROID_PACKAGE_SUFFIX for apk

Change-Id: I812405dac12ef7183985c66a6e43b0ea5f85989c
Signed-off-by: Mohd Faraz <mohd.faraz.abc@gmail.com>
2019-10-27 11:24:28 +00:00
Rashed Abdel-Tawab
34b5cdc1e3 extract_files: Implement blueprint file generation
Switch to blueprint on:
 - shared objects
 - $partiton/etc/ files
 - JARs
 - executable binaries and scripts
 - APKs

Only /sbin binaries are still in Android.mk because blueprint
doesn't handle sbin installation yet

Change-Id: I1dfd7e8bb575367b2a7fa9e333c4c6fa3aa68180
2019-10-27 11:24:28 +00:00
Rashed Abdel-Tawab
42752d4d4e extract_files: Add initial blueprint creation
Start the copyrights for these at 2019 because the blueprints won't
have existed before then.

Change-Id: I5300109949785dd19555e35d17a1e80daef498b0
2019-10-27 11:24:28 +00:00
Rashed Abdel-Tawab
8aae50df3c extract_files: Match non-treble path prefixes
Some devices put stuff on /system, /system/vendor or even
/system/vendor/odm. Search for these paths too when generating
TARGET_COPY_OUT_$partition variables.

Change-Id: Ie2c087e57aaca02d5ea93f290d5fc50d1315a600
2019-10-27 11:24:28 +00:00
Rashed Abdel-Tawab
8de76b204b extract_files: Support system/ prefixes
With support for 4 independent partitions now, we seriously
need to start putting /system blobs in their own directory.
Add support for file lists with system/ prefixes while
maintaining support for old file lists without it.

Also, TARGET_COPY_OUT_SYSTEM is a thing now, and all devices,
regardless of treble or not, set TARGET_COPY_OUT_$partition
so let's get rid of the treble compat option and default it
to true.

Change-Id: I5b798d293768d7c1e16db3ba01e2de3e083088d7
2019-10-27 11:24:06 +00:00
Dan Pasanen
ac1268953a build: dt_image: use prebuilt lz4 binary for compressing
* Also remove the lz4c fallback. We're providing an lz4
  binary that works, so it shouldn't ever have to fall back
  to lz4c.

Change-Id: I5b1346c55dc97daec13e087c501840628a7265e8
2019-10-26 22:42:20 +02: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