Commit graph

3915 commits

Author SHA1 Message Date
Chirayu Desai
d82325a742
vars: Drop Pixel 3a
* No longer getting updates

Change-Id: Ib8c0994e04e744973cf2f5c3daa279718a9bf323
2022-07-06 22:09:16 +03:00
Col_or
96308fcd9d apns: Add China Broadnet (CBN) support
* From OPPO PERM00 PERM00_11_F.04

Signed-off-by: Col_or <col_or@qq.com>
Change-Id: I4796461ea0e26d7736d2ab4795cec11f0bd124be
2022-07-05 23:47:02 +02:00
Chirayu Desai
3956877d42 vars: Pixel 3 June 2022 update
Change-Id: Iab663dafc29c0cecb996df664890a9910ecd8331
2022-07-05 06:24:47 +02:00
althafvly
68544f936f lineage: products: Un-break SDK addon
- Fixes error while building
  Trying to build sdk_addon, but product 'vendor/lineage/build/target/product/lineage_sdk_phone_x86_64.mk' does not define one
- Move gsi_release.mk to gsi_tv_arm*.mk. SDK and x86* targets won't build.
- Set TARGET_SUPPORTS_64_BIT_APPS for x86_64 gsi to support both arch apps.

Change-Id: If01e2eecfc5e27a98e696c29f29babbc1a5ec726
2022-07-04 20:05:29 +02:00
LuK1337
43cb0d69bf Revert "config: Disable remote keyguard animation until it's fixed"
Fixed upstream.

This reverts commit 9c4fd99fb8.

Change-Id: I531ac182091a133fd7e5a693f97e1e883853b0a0
2022-07-03 22:00:43 +02:00
althafvly
919dd1c9b9 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
2022-06-28 07:19:28 +02:00
Alexander Koskovich
a78681c09c
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
2022-06-24 14:23:06 +03:00
Alexander Koskovich
d807db71bc
lineage: 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
2022-06-24 14:23:05 +03:00
Alexander Koskovich
911b7c47b3
kernel: Switch to AOSP DTC instead of using scripts/dtc
Change-Id: I8faf295dfb84ab7481b80d5b7d2add8ed8ddf6d9
2022-06-24 14:23:05 +03:00
Alexander Koskovich
09a874fe75
kernel: Use LLVM's substitutes for GNU binutils if possible
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I06884fb774b6548aad68942f1ce659384521c62a
2022-06-24 14:23:05 +03:00
Michael Bestas
87c0acd05e Revert "kernel: Remove unneeded MKDTIMG dependency"
This reverts commit caa3bddf00.

Reason for revert: Breaks pixel dtbo.img build, since kernel depends on
mkdtimg. Add it back so it gets compiled and kernel can pick it up.

Change-Id: I2b9fd0b2b35e0cf2f908516b10f65399780d5c30
2022-06-20 11:51:56 +02:00
Paul Keith
35c91c0205 apns: Remove user_editable="false" for user visible APNs
This also removes user_visible="false" for some AT&T WAP APNs as
the rest of the AT&T MVNOs APNs had it visible but these ones
weren't.

The reasoning for this is that we can't (and no one can ever)
guarantee a single static APN list is correct for all devices
all the time. Let's not leave users in a situation where they
can't attempt to recover themselves by fixing their APN without
jumping through hoops to copy the APN fields into a new APN.

TODO: Evaluate how user_visible should be used.

Change-Id: I2b4975db9d52943390b61b50b9258746eab447c9
2022-06-19 05:01:11 +02:00
Alexander Koskovich
b2006b371f lineage: prebuilt: Update T-Mobile U.S. APNs from SQ3A.220605.009.B1
Change-Id: I6a1ff90f80c5b042503e8e3e02bda76ff4f312f9
2022-06-19 05:01:11 +02:00
Alexander Koskovich
d43c2faad7 lineage: prebuilt: Drop GIV Mobile, dead
Change-Id: I04459cbbf493be4d21108daf3c79018b7be633f1
2022-06-19 05:01:11 +02:00
Alexander Koskovich
1b1bdb343a lineage: prebuilt: Drop ROK Mobile
* ROK Mobile was shut down in mid 2018.

Change-Id: Ice387b42c38e34ce83b63c20afefb25d8e3a5c04
2022-06-19 05:01:11 +02:00
Alexander Koskovich
44a7b9f0c3 lineage: prebuilt: Drop UVA Mobile
* Their official website is now just "Hello World"...

Change-Id: I644fe6d1eb0328e9eed7535389abf28cae47b911
2022-06-19 05:01:11 +02:00
Alexander Koskovich
99a1642ced lineage: prebuilt: Update TMO Straight Talk APNs from SQ3A.220605.009.B1
* Straight Talk just uses Tracefone APNs.

Change-Id: I84e550cc9a58ae36eb6a3d7c777698ddf76de4c6
2022-06-19 05:01:11 +02:00
Alexander Koskovich
fee24e9d21 lineage: prebuilt: Update US Mobile APN
* Obtained from live chat support.

Change-Id: I20440d9e1bd694560bacd003a281dd090a494af1
2022-06-19 05:01:11 +02:00
Alexander Koskovich
afc7141950 lineage: prebuilt: Add Carrier ID and MVNO ID for Family Mobile (Walmart)
* This way it won't show up for T-Mobile users, also
   delete duplicate APN.

Change-Id: Iaf1c1111ca2516da101fde430863d09b189b8c3d
2022-06-19 05:01:11 +02:00
Alexander Koskovich
829b55ba42 lineage: prebuilt: Update Mensajes Multimedia from SQ3A.220605.009.B1
Change-Id: I700b9a62bd295a4bc4cc5718d62b9dc2bd9455b8
2022-06-19 05:01:11 +02:00
Alexander Koskovich
31ffa0248f lineage: prebuilt: Drop Telcel America APN
* Telcel America customers are now apart of the 'SIMPLE'
   mobile family as of 02/11/21.

Change-Id: Ibd8408f48f67f00e646c1c120516e6afc1a7c598
2022-06-19 05:01:11 +02:00
Alexander Koskovich
f83b9597dc lineage: prebuilt: Add Carrier ID and MVNO ID for T-Mobile Ting
* This way it won't show up for T-Mobile users.

Change-Id: I4e0086ad40eff164052bdd650ac10858ebfe2d06
2022-06-19 05:01:11 +02:00
Alexander Koskovich
15cda0f96e lineage: prebuilt: Add Carrier ID and MVNO ID for GoSmart
* This way it won't show up for T-Mobile users.

Change-Id: I1e8822afde72210e753a69f45c5d2decf071f6cb
2022-06-19 05:01:11 +02:00
Alexander Koskovich
2f13ad1c58 lineage: prebuilt: Update Cellular One APNs from SQ3A.220605.009.B1
* CellOne rebranded to 'Cellular One'.

Change-Id: Iff29922319479a6759aad237010ede5107dffc8f
2022-06-19 05:01:11 +02:00
Alexander Koskovich
068453d534 lineage: prebuilt: Drop APN for Brightspot Mobile
* Brightspot Mobile, a T-Mobile MVNO shut down on
   December 31st of 2015.

Change-Id: I5c17541af7db977addd5e58c58142bc321f20e1a
2022-06-19 05:01:11 +02:00
Alexander Koskovich
18b0118904 lineage: prebuilt: Update 'Telcel Internet' APN from SQ3A.220605.009.B1
* This adds a carrier ID which prevents it from showing
   up on non applicable carriers.

Change-Id: Iab54e19de2846f36b4321d361a67576573813848
2022-06-19 05:01:11 +02:00
Alexander Koskovich
6966b15233 lineage: prebuilt: Update Simple APNs from SQ3A.220605.009.B1
* This also adds proper Carrier ID and MVNO ID to
   the APN, so it's not shown on incompatible carriers.

Change-Id: Id682adfacc76e95ba53c83e47d842b5868424db1
2022-06-19 05:01:11 +02:00
Michael Bestas
caa3bddf00 kernel: Remove unneeded MKDTIMG dependency
Change-Id: Icc1923e922adb50b02252883aa6814101837adfc
2022-06-18 10:26:14 +02:00
dianlujitao
709371be5e kernel: Ensure dtb(o) always get rebuilt
* AOSP build system is not aware of dtb(o) source update, and thus
   won't rebuild the images, results in outdated artifact.
 * Convert DTB(O)_OUT to make targets and make the images depend on them
   to address the issue. This makes AOSP build system be aware of
   their timestamp changes and re-execute recipes depending on them.
   Finally, it's up to kernel's build system to decide actions to take.

Test: m dtb(o)image and observe dtb(o).img get rebuilt
Change-Id: I197e7d2d3e013ded0e555fc22bb6a1200d40df9c
2022-06-18 10:26:14 +02:00
dianlujitao
9955cd657b kernel: Avoid unnecessary savedefconfig
Change-Id: I5400e549a6574208d67c5d107ca56eee402fa7f2
2022-06-18 10:26:14 +02:00
dianlujitao
8c6398e9fd kernel: Clean up kernel copy recipes
ACP and ALL_PREBUILT are dropped years ago and thus have become no-ops.

Change-Id: Ic317cb4a4fa406cce0dc86555fb8da34d21fb2bf
2022-06-18 10:26:14 +02:00
Danny Trunk
20bf195599 soong: Add TARGET_USES_EGL_DISPLAY_ARRAY conditional
This soong variable is used to conditionally revert a commit [1]
which causes random camera crashes on tama devices

[1] a9550f3fe9

Change-Id: I749c7029f8f2b6d6d95b066aed4929c33e3c75e7
2022-06-16 17:04:56 +02:00
Michael W
39881f863a repopick: Limit commit counting
* For every commit, repopick checks the last commits for the presence of
  the commits to be picked
* In every project a change should go in, it calls "git rev-list --count"
  to find the maximum amount of commits to be searched, but it only cares
  if there are less (or equal) commits at all than to be checked
* Therefore, we can limit the counting to one more than we want to check
* This is relevant for example for fw/b, where there is a huge amount of
  changes and therefore a lot of time used to count

* Example: fw/b
  git rev-list --count HEAD: 46.693s
  git rev-list --count --max-count=1000 : 0.019s
* Real-life example:
  repopick -t qs-lightmode
  Old: 2m33.375s
  New: 0m6.657s

Change-Id: If0500574fb282e332996b606dd9926841f8e0e88
2022-06-15 20:57:30 +02:00
Bruno Martins
c93bdd63c8 partner_gms: Stop relying on exported vars for ATV and Automotive targets
Flag PRODUCT_IS_ATV must be set for all ATV targets,
so Automotive targets can follow and adopt PRODUCT_IS_AUTO as well.
No need to export WITH_GMS_TV or WITH_GMS_CAR anymore.

Change-Id: I7f35e7fa731f7cee239aff03c99b83975abbb56e
2022-06-10 11:10:55 +02:00
Michael Bestas
265fdadd56
vars: Remove pixel sepolicy repos
* We subtree those in pixel trees

Change-Id: I16f71128bb19cd93381e7c67d9e809f43cd0a3ec
2022-06-09 19:50:21 +03:00
Michael Bestas
cf70046598
vars: Remove b1c1 from devices
* These devices no longer get updates, stop trying to merge
  the same tag every month

Change-Id: I3be325bf1f75b2df17c53bfeebb2c7f842a3be75
2022-06-09 19:48:03 +03:00
Michael Bestas
fbadddae84
envsetup: Add sort-blobs-list
Change-Id: Ie871fe0bc9dd432e632ca8e9d7fa70c96a82a8c3
2022-06-09 18:50:47 +03:00
Chirayu Desai
6ab33bce49
Jun 2022 Security update & Feature drop
Change-Id: I83d70b6625155ed712179dc3757e81a9b8dd42d0
2022-06-07 22:23:45 +03:00
Chirayu Desai
c4f30fe020
vars: Drop b1c1 from pixels
Change-Id: I9fb7fd076ed19c7c5f60d4a8f258e363eaeb555e
2022-06-06 18:01:37 +03:00
Chirayu Desai
64d898881e
vars: Flip device order, newest first
Change-Id: I90169608fbee832e47a0a6bb5a908b5e4c19cda7
2022-06-06 18:01:36 +03:00
Chirayu Desai
f67d3e9845
overlay: Exclude ImsService from location indicators
Change-Id: If6c71769b87eb59deadaaa933e1c8449b949af26
2022-06-01 17:47:01 +03:00
Danny Baumann
ee38dc5d38
overlay: Also exempt CneApp from location indicators
Similarly to change I6a55dd25f8435523f98970bfd24c3f86657ba6f7 the CNE
app also receives the phone state broadcast including location data,
which constantly triggers the location indicator.

Change-Id: Ic11674b7f3cccb6b5b7de1e5f8a99a01fd32c589
2022-06-01 17:46:31 +03:00
LuK1337
ccdf4e9102 overlay: Exempt Bluetooth from location indicators
Needed for QTI BT.

Change-Id: I177fac1f53d6ca8847a10eb819334fac6f5acab6
2022-05-31 20:28:58 +02:00
Alexander Koskovich
3bab7d780e lineage: build: Wipe DTB/O OBJs before build
* They can linger and cause problems, e.g. mismatching
   kernel and DTBs.

Change-Id: I4adafe140093ff675fc3f55e3233a754d44d5656
2022-05-31 01:37:14 +02:00
Sebastiano Barezzi
f224255cd9 soong: Drop TARGET_USES_QTI_CAMERA_DEVICE
* qcom-camera topic hasn't been ported to 19.1

Change-Id: Ifb053d215527d602109bbb451d96ec80cf028548
2022-05-19 16:05:23 +02:00
althafvly
90902d9bcc overlay: Exempt TeleService from location indicators
- TeleService constantly checks for location (in every 2-3 minutes).

Issue: https://gitlab.com/LineageOS/issues/android/-/issues/4674

Change-Id: I6a55dd25f8435523f98970bfd24c3f86657ba6f7
2022-05-14 17:40:43 +02:00
Chirayu Desai
c057d4a9df
May 2022 Security update
* raviole gki_kernel_tag handled manually this month,
  TODO: Script

Ref:
* https://groups.google.com/g/android-building/c/GoMawyG2l94/m/zB2a0UXCAgAJ

Change-Id: I236572036790189e9e6451ff8ee9a0e207d5f99f
2022-05-06 21:39:11 +03:00
Bharath
b5da8d5da2 msm8953: Split msm8953 from UM_3_18_FAMILY [2/2]
msm8953 has updated HAL projects. Make use of them.

This can be made use of by setting `TARGET_ENFORCES_QSSI`
to true.

Change-Id: Ib7ababd52470913c915f1da3d6b726eff2f38410
2022-05-02 16:38:15 +02:00
LuK1337
bb993175c1 Revert "config: Drop 2-button navigation support on tablets"
This reverts commit 755d713ebe.

Change-Id: I6f676df2b9b7f18d2461ddb05fa141a8c49cc5f8
2022-05-01 18:59:55 +02:00
Danny Lin
0498768376 device_config: Save discrete app op history for more permissions
Android 12's privacy dashboard shows permission usage timelines for
location, camera, and microphone. However, there's no reason to limit it
to those specific permissions; all the infrastructure is in place for
other permissions.

To enable the usage timeline for more permissions, keep discrete app op
history for all permission groups shown in the privacy dashboard. The
list of permission group -> app op mappings was obtained from
AppOpsManager.RUNTIME_AND_APPOP_PERMISSION_OPS with a few additional ops
from PrivacyItemController, and each op was resolved to its respective
enum ordinal from frameworks/proto_logging/stats/enums/app/enums.proto.

Change-Id: Icbde7fb59ae16fa7b15160d78d9dce7125a82ba6
2022-04-28 22:41:56 +02:00