Commit Graph

3956 Commits

Author SHA1 Message Date
iusmac
878d2fb71d crdroid: Fix and improve changelog script
* 3 times faster
* fixed sorting by commit date
* fixed random build hangs due to unhandled bugs in 'repo forall'

Signed-off-by: iusmac <iusico.maxim@libero.it>
2022-07-21 15:09:42 +02:00
LuK1337
ff8a225856 overlay: Convert NetworkStack overlay to an RRO package
We can't use autogenerated RRO because android:targetName has to be set
to "NetworkStackConfig".

Change-Id: I6ff8a9c0dbd9607e71de5a65393328fe249a99e8
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-07-17 00:58:31 +05:30
Pranav Vashi
992a960554 crdroid: Bump to version 8.7
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-07-13 21:42:11 +05:30
LuK1337
c9c9057f74 Revert "config: Disable remote keyguard animation until it's fixed"
Fixed upstream.

This reverts commit 9c4fd99fb8.

Change-Id: I531ac182091a133fd7e5a693f97e1e883853b0a0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-07-04 02:03:23 +05:30
althafvly
2071897267 device_config: Disable always screen on
- Some devices are keeping screen on and not turning off.
  Reported in some pixels and asus

Issue: https://www.reddit.com/r/LineageOS/comments/uw5d8p/screen_timeout_issue_on_pixels_on_android_12/
https://gitlab.com/LineageOS/issues/android/-/issues/4798

Change-Id: I1e2471928b47387f7e40adb81d3457bb58cc2755
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-07-03 21:36:16 +05:30
Alexander Koskovich
18ba40dddc kernel: Move TARGET_KERNEL_ADDITIONAL_FLAGS to kernel task
* Currently, because DTC_EXT make flag is in the
   kernel task the only way to override it is to
   have TARGET_KERNEL_ADDITIONAL_FLAGS come after.

Change-Id: If62ed979581dc07eafd4628ce2b2d799388d3704
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-24 19:21:46 +05:30
Alexander Koskovich
9499e403b9 config: Don't pass CFLAGS_MODULE="-fno-pic" if using LLVM
* Seemingly not an issue for kernels compiled with
   LLVM, tested with kernel versions 4.4 -> 5.4.

Change-Id: I00adee2e10e99a540099b5e1a6a1ab9be0b99050
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-24 19:21:33 +05:30
Alexander Koskovich
a9667c3616 kernel: Switch to AOSP DTC instead of using scripts/dtc
Change-Id: I8faf295dfb84ab7481b80d5b7d2add8ed8ddf6d9
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-24 19:21:14 +05:30
Alexander Koskovich
c6140232cc kernel: Use LLVM's substitutes for GNU binutils if possible
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I06884fb774b6548aad68942f1ce659384521c62a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-24 19:21:04 +05:30
Andrzej Perczak
d0b8053d04 build: Disable ABI checks
For global O3 ABI checks need to be disabled as ABI checker is very
sensitive and argument types can change during optimization.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 17:23:08 +02:00
Andrzej Perczak
50e3759841 config: Disable iorapd
Google dropped iorapd in Android 13. Its benefits are doubtful on modern
UFS devices and tracing comes at the cost of battery usage.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 02:04:45 +05:30
Pranav Vashi
8fd7b19821 Revert "soong: Drop TARGET_USES_QTI_CAMERA_DEVICE"
* We use this in hardware/interfaces.

This reverts commit f224255cd9.
2022-06-23 01:57:25 +05:30
Pranav Vashi
404b4778ec overlay: Use and update config_indicatorExemptedPackageNames
* Keep config_locationExtraPackageNames only for location packages.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:54:47 +05:30
Andrzej Perczak
ea8edd3bab config: Cleanup and update common props from Pixel
* Remove nonexistent or obsolete props.

 * Import new props extracted from raven.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 01:51:27 +05:30
Andrzej Perczak
dd5c8b9161 config: Optimize Launcher3 and Settings for speed
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 01:51:27 +05:30
Tim Zimmermann
ef854fe687 overlay: Exclude ThemePicker from RRO
xNombre: Fixes nasty override warning during compilation. This is more
like a workaround rather than an actual fix.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 01:51:27 +05:30
Andrzej Perczak
5c048b1ecb config: Properly disable blur on app launch
ro.launcher.blur.appLaunch is 1 by default

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 01:51:27 +05:30
Danny Lin
53a8d7403a build: Override host metadata
* Matches the Android 12 build sandbox: https://android.googlesource.com/platform/build/+/refs/tags/android-12.0.0_r2/Changes.md

Change-Id: I032127e2724b34e649bcc73c347c8e67df1f45b0
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Khalakuzzaman Apon
1302b1743a apns: Grameenphone uses APN 'gpinternet' 2022-06-23 01:51:27 +05:30
Pranav Vashi
93deda5969 overlay: Use pixel themes stub package for ThemePicker
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
2d5abb98f7 overlay: Update overlays from google config
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
74cde0af0a config: Drop unused package
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
b971730e42 Revert "device_config: Show setting to disable location indicators"
* Useless for us. We do not use old indicators.

This reverts commit 8920208e31.
2022-06-23 01:51:27 +05:30
Pranav Vashi
b56744f885 overlay: Update SettingsProvider defaults
* Reduce default screen off timeout to 30 sec.
* Turn on automation brightness mode by default.
* Turn on vibrate when ringing by default.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
1092ae337e Revert "overlay: Default to Seedvault backup transport"
* If we never set up SeedVault, we get error notification every boot.

This reverts commit a88d06f120.
2022-06-23 01:51:27 +05:30
Andrzej Perczak
f761767821 overlay: Add Flipendo as powersave mode listener
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 01:51:27 +05:30
Andrzej Perczak
99aee57f28 overlay: Define system wellbeing package
This grants Wellbeing needed perms for apps suspension.

Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
5857d3913d overlay: Update configs from pixel
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Daniel Micay
568ab82f74 overlay: [temporary] don't report statementservice crashes
There's a known issue in AOSP 12 caused by it creating overly large
intents for the work manager. It's not caused by anything done by end
users and they can't work around it so avoid reporting it to them since
they get a message each time it tries again.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Danny Lin
7f8a7172f3 device_config: Convert location indicators to soft config
Along with SimpleDeviceConfig and Settings updates, this allows users to
toggle location indiactors while still shipping it enabled by default.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Danny Lin
1cf38b5067 device_config: Update Live Caption configs for Pixel 6
Extracted from Pixel 6 Pro stock (SD1A.210817.036.A8) on November 13, 2021.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Danny Lin
0caaa6261a device_config: Update Now Playing database to 2021-12-12
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Andrzej Perczak
0d5ec6493c overlay: Start using custom systemui vendor service
Signed-off-by: Andrzej Perczak <linux@andrzejperczak.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Danny Lin
e619a46eca device_config: Enable maching learning back gesture
This enables machine learning-assisted back gestures when using gesture
navigation. It uses TensorFlow Lite for inference (via our custom
provider in SystemUI), similar to Google's Pixel implementation.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Adithya R
e448a9d4cf overlay: SystemUI: Switch to custom SystemUI factory
* and enable flags for smartspace

Change-Id: I05e5bf43ac7bed344f20843044d57036613f9512
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
0c7c20f914 overlay: Add pixel settings defined earlier
Squashed:
  4ad8a69774
  2279961665
  3847a3ebc0
  413e37ce90
  db805c9227
  256e0b4a62
  2f4164bd9c
  cdad10f562
  1fb797a7f4
  03fc1e801e
  b24f0e1bd9
  d8c01eca36
  67dceb2e60
  9b60e283b3
  3dcc8fc41a
  aaafe15981
  dc909c9fea

Change-Id: I3597562818e72eb36d179bc54c3f48f9553f7e49
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
jhenrique09
f271fb9468 overlay: Force disable ambient music components
Change-Id: Idd2942e540791bd093e7a12966f831431570a7cc
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Danny Lin
0aec4e4c6c device_config: Update config
Squashed:
88c0b0569f
e1124ed421
7caae9acf1
7af1bf532c
52a9817501
7a47950ba7
c3abfea18b
435af075a6

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
Pranav Vashi
6326d52562 crdroid: Let adb unsecure only for eng builds
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:27 +05:30
xNombre
b6fc654d28 kernel: Use newest clang for kernel build by default
By every clang update everyone has had to update clang version in BoardConfig.
Now these flags can be removed as latest clang will be used by default.

For those how need to build with default clang version a new flag is introduced: TARGET_KERNEL_USE_DEFAULT_CLANG.

Signed-off-by: xNombre <kartapolska@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:26 +05:30
ShevT
c54e4c2cb5 build: Add quick tap permissions and flag
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:26 +05:30
Kyle Harrison
27172c0953 soong: Update camera_in_mediaserver_defaults
- Add android.hardware.camera.provider@2.7

Change-Id: I1ad534d87ce3b35d0116bccdbc0ac7f70c799c00
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:26 +05:30
Hikari-no-Tenshi
d538dafa85 vendor: soong: Add camera_needs_client_info_lib
Signed-off-by: firebird11 <hbgassel@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:51:26 +05:30
Lup Gabriel
1b00e88454 crdroid: Generate OTA json at build time
needs vendor_crDroidOTA cloned to <source root>/vendor/crDroidOTA

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:46:53 +05:30
DarkJoker360
8d698af183 crdroid: Drop custom adb drawable
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:46:53 +05:30
neobuddy89
dd6e4f243d crdroid: Clean up wallpaper overlay
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:46:53 +05:30
Pranav Vashi
e28518dd69 crdroid: Change backuptool version for GMS builds
* For people switching between GMS and non-GMS builds,
  this change would make life little less miserable.
* Also, rename GMS build name.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I81b021791e3dc0b3eac8f37bb3622b02cd5029eb
2022-06-23 01:46:53 +05:30
Pranav Vashi
d2eb4ca2b6 build: Ship as crDroid based on LOS
* While LOS is base ROM, there are/will be additions over LOS.
  Therefore, rebrand and ship it as crDroid ROM.

Change-Id: I53c407da455885af7029853ff635090f34b01f0c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-23 01:46:53 +05:30
Pranav Vashi
57a79f2130 crdroid: Remove TrebuchetOverlay
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Id9e70c059d0369710c669e6a03d0feefbc3929a9
2022-06-22 20:24:56 +02:00
Pranav Vashi
30c4f0dc2d crdroid: Add changelog script
Squashed:
ed37902026
3484fbf1d9
caeb656fae
4b20c6b833
00b5467b5c
83641d09ea
8c1b56f6b8
712068531c

Change-Id: Iaa749a64020fbec8218c216c54e040563dbf438a
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2022-06-22 20:22:22 +02:00