Commit graph

4089 commits

Author SHA1 Message Date
Chirayu Desai
385062993e
June 2023 Quarterly Platform Release and Security update
Ref:
* https://groups.google.com/g/android-building/c/OcBZdzrP_Ps/m/t-_z7XQPAAAJ
* https://support.google.com/pixelphone/thread/220747201/google-pixel-update-june-2023?hl=en

Change-Id: Ie2cc0b8057daa6907eca5fe4a6920b544dd4beb6
2023-06-14 21:14:01 +03:00
Luofan Chen
2decc6661e soong: Add TARGET_HEALTH_CHARGING_CONTROL related configs
To specify the charging control allowed modes:
TARGET_HEALTH_CHARGING_CONTROL_SUPPORTS_{BYPASS,DEADLINE,TOGGLE},

To specify the charging control paths:
TARGET_HEALTH_CHARGING_CONTROL_{CHARGING_PATH,DEADLINE_PATH},

To specify data written to TARGET_HEALTH_CHARGING_CONTROL_CHARGING_PATH:
TARGET_HEALTH_CHARGING_CONTROL_CHARGING_{ENABLE,DISABLE}

Change-Id: I88831c84966f82648c8ca60de5abb34416140f6c
2023-06-09 18:06:47 +02:00
Michael Bestas
97f0f8e3f4 config: device_framework_matrix: Add vendor.lineage.health
Change-Id: I91ee2a15ee2f68947f220ab6e885b9049936acb2
2023-06-09 18:06:47 +02:00
Luofan Chen
5bd9ed9840 config: Copy Lineage health permissions
Change-Id: I12dcb124293cac0ba6f7275ee30498b711c723dd
2023-06-09 18:06:47 +02:00
Chirayu Desai
135cb649de Disable AGPS by default, it'll be enabled in SetupWizard
* This way the user can choose to turn it off, and it'll
  never have been enabled
* If they just keep it as the default (toggle will be on in SuW),
  then it'll be enabled, which is the default we want

Change-Id: I878200a0351d0b0018a975e432602de2badc4eef
2023-06-07 01:53:41 +02:00
Chirayu Desai
11eaeaf039 repopick: Don't ignore change status for query mode (-Q)
* Why not just use force with it if you really want to
  pick abandoned changes?
* Avoids surprises

Change-Id: I7420e1c37cc127d1f74539d5685bd9bf77be44c3
2023-05-27 05:15:30 +05:30
Michael Bestas
57a063cff7
kernel: Restore TARGET_KERNEL_VERSION
This is used in a bunch of QCOM HALs

Change-Id: I5bb76c47ad33e9fb1b81d1d23f78b2dbf390473a
2023-05-26 21:33:48 +03:00
Bruno Martins
2a7b321d51 kernel: Go full LLVM build on 5.10+ kernels
Make the conditions accurately reflect the comment:
"5.10+ can fully compile without GCC by default".

Change-Id: Ia9070871c23a710ba5b461ad522db241183e34d1
2023-05-24 11:31:08 +01:00
Aaron Kling
e6678e8cfd Include build manifest on target
Private repos can be excluded by setting the env var
MANIFEST_EXCLUDES | delimited. proprietary is always
excluded.

Change-Id: I9a085a7102d9905853636e0ad60ac6f80a930ae0
2023-05-18 20:49:27 +02:00
Nicholas Lim
9fd8e21bf6 apn: Update mcc525
With reference to which looked accurate:
https://android-review.googlesource.com/c/device/sample/+/2096350

Change-Id: I2ebc1ee299d0caff0bdbd99f5a4cc07e19dc6214
2023-05-17 07:26:48 +02:00
Chirayu Desai
b9d44c562f vars: Pixel 7a
* Based on panther

Change-Id: I54c646252a5fcc9fbaad4eb8279d401a2d83045c
2023-05-16 21:25:40 +02:00
DroidFreak32
055bec9f60 config: common-full: unrar undead
Change-Id: Ic860845748024c113278489aeea2523b2770ca4a
2023-05-12 00:28:58 +05:30
DroidFreak32
dcf0e8899a config: common-full: Build zstd cmdline tools
* Installs the following:
unzstd -> zstd
zstd
zstdcat -> zstd
zstdgrep
zstdless
zstdmt -> zstd

Change-Id: I3e1efae8028a3ac5f6b9d153c9e39eef1d51a34b
2023-05-12 00:24:57 +05:30
Michael Bestas
4d850217ba vars: Update kernels for May security update
Change-Id: Ie0963241d76158f50b41be1cd2b9544e27308443
2023-05-04 18:13:13 +02:00
Michael Bestas
72613567a3 vars: Drop unused prev_* vars
Change-Id: I2a7efa5473f99d65bf5cb096bf67655e8b09ca8f
2023-05-04 18:13:13 +02:00
Michael Bestas
f033142560 vars: May 2023 Security update
Change-Id: Ie9a53f7c5c6d71e6816f0b868cd7c275ea076b20
2023-05-04 18:13:13 +02:00
Chirayu Desai
163706405e vars: Add some vars to remove hardcoding in scripts
Change-Id: I587b2e76baa084f5315a57e22b9fb6166d2afc37
2023-05-04 18:13:13 +02:00
DroidFreak32
d7fa6a32e2 lineage: Fix SDK Addon build on x86/x86_64 targets
- Fixes the following build error:

100% 1/1] analyzing Android.bp files and generating ninja file at ou
FAILED: out/soong/build.ninja
cd "$(dirname "out/host/linux-x86/bin/soong_build")" && BUILDER="$PWD/$(basename "out/host/linux-x86/bin/soong_build")" && cd / && env -i  "$BUILDER"     --top "$TOP"     --soong_out "out/soong"     --out "out"     -o out/soong/build.ninja --globListDir build --globFile out/soong/globs-build.ninja -t -l out/.module_paths/Android.bp.list --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used.build Android.bp
error: packages/modules/RuntimeI18n/apex/Android.bp:67:1: dependency "art-bootclasspath-fragment" of "i18n-bootclasspath-fragment" missing variant:
  apex:com.android.art
available variants:
  os:android,arch:common
error: packages/modules/RuntimeI18n/apex/Android.bp:67:1: dependency "prebuilt_art-bootclasspath-fragment" of "i18n-bootclasspath-fragment" missing variant:
  apex:com.android.art
available variants:
  os:android,arch:common
15:24:42 soong bootstrap failed with: exit status 1

 #### failed to build some targets (19 seconds) ####

Change-Id: Iff5aa79b4148f83680bc33bdd0ea9751038feea1
2023-05-03 22:08:40 +02:00
Michael Bestas
87a54324cf
vars: Update qcom tags
Change-Id: I2852b17e0fa6a377867f59be5b8147350ea4512c
2023-04-24 18:09:10 +03:00
Michael Bestas
b2482bb135 overlay: Convert DocumentsUI RRO to standalone package
Fixes:
W idmap2d : overlay '/product/overlay/DocumentsUI__auto_generated_rro_product.apk' is not allowed to overlay resource 'bool/config_default_show_device_root' in target: <overlay> android:targetName "" does not match overlayable name "DocumentsUICustomization"
W idmap2d : failed to find resource 'bool/show_documents_root'
W idmap2d : overlay '/product/overlay/DocumentsUI__auto_generated_rro_product.apk' is not allowed to overlay resource 'string/default_root_uri' in target: <overlay> android:targetName "" does not match overlayable name "DocumentsUICustomization"
E idmap2d : no resources were overlaid

Remove unused overlays while we are at it.

Change-Id: Icf48bb9644bcfd2ca2c1c5681623f4f7c762bf35
2023-04-24 16:51:52 +02:00
LuK1337
d0612f5768 roomservice: Read all local manifests
Change-Id: Idfe6330ff82b9e4c0d11cb0320defa7bf44121f5
2023-04-22 21:26:19 +02:00
Michael Bestas
83fbf7dc32
envsetup: aospremote: Take .gitupstream into account
Adapt function for .gitupstream so we always get the correct
remote without needing to calculate the path manually.

Test: Run `aospremote` in `kernel/configs` repository.
Change-Id: Idcac37ded4a5b2d62d26dc01dd7d68039def6220
2023-04-17 19:29:41 +03:00
Michael Bestas
4d99166a2b vars: April 2023 Security update
Change-Id: I20f7da81c11eef3b19fa294c3c1f111f2b889376
2023-04-16 20:07:34 +02:00
Sebastiano Barezzi
e39ddd52fc
overlay: Move default status bar height to no-rro
* This overrides whatever value device trees set when using
  auto-generated RROs

Change-Id: I54d504c4d1c9a1123051e0bd564aa3b0d2a0d865
2023-04-14 23:24:55 +02:00
Nolen Johnson
1a6d8417b0 soong: Bring bootloader_message_offset back
This is squashed revert of:

    Revert "config: Remove BOOTLOADER_MESSAGE_OFFSET"

    This reverts commit a8bbd0e4aa.

    Change-Id: I66df34e901e87e543102377469a150a9bf03e5b8

    Revert "Revert "soong: Export bootloader_message_offset to dependencies""

    This reverts commit d0b4f9894a.

    Reason for revert: Bringing this back, LGE 8996 lives.

    Change-Id: Iae68fee53ba647d8c64c54388e7296232adf4db8

Change-Id: I358d8e19f2d4da590c9579c1473b5f1964bb71aa
2023-04-08 21:55:24 +02:00
Arian
cbf5989f8b overlay: Disable immersive mode confirmation
The confirmation dialogue is broken in several apps. Displaying the
confirmation dialogue leads to a focus change on which the app requests
immersive mode again leading to a loop of focus changes between the app
and the dialogue. Set the default value to confirmed to avoid this issue.

Example of the issue in Jelly: https://imgur.com/a/DT98ahR

Change-Id: Ifd906f5417cc0a090a2bf7d1f0dcdab26bf62dbb
2023-04-08 21:09:16 +02:00
frost
aee59181ce apn: update for T Star, Vibo and AURORA
- Vibo and AURORA are merged to T Star.

- Since the site no very detailed
  https://www.tstartel.com/CWS/phoneResult.php?vId=SAM&pId=66614&sd=&ppId=66614 ,
  I got from Xiaomi stock ROM https://imgur.com/a/Fo1Oj6j .

- Seperate Internet and MMS due to some stock ROM came with seperated APN.

Change-Id: I8138396e58c9a48e2d13ecc2ef8730e9f8eb98db
2023-04-03 17:23:12 +02:00
Michael Bestas
e67a0311b1 vars: Update qcom tags
Change-Id: Iaba848fb729674357cdc0de616227c9e9f1c0ada
2023-03-28 19:29:01 +02:00
Tim Zimmermann
accea8f497
config: Drop ThemePicker icon pack overlays
* Not used with S+ ThemePicker

Change-Id: I7ca2030ea64e588ddaad42464cf15edb1dfe7774
2023-03-23 18:18:00 +02:00
SamarV-121
dd562f83f5
config: Build icon pack overlays
Change-Id: Ibb8f100f3739a3578720dc0d00bca6c2ec77fbd5
2023-03-23 18:18:00 +02:00
Tim Zimmermann
330824d4dd
config: Inherit window_extensions.mk
* Instead of explicitly building androidx.window.extensions

Change-Id: I107ef8ef49eab77d91aa06fe3ade55eeaae83c71
2023-03-23 18:18:00 +02:00
Michael Bestas
3450d31de3
Switch to AOSP themes stub package
Change-Id: I6029d6cd8bd2280f994f9992d24777d4f24f4346
2023-03-21 21:01:17 +02:00
Chirayu Desai
5ae7551a20
Revert "config: Build NavigationBarMode2ButtonOverlay"
This reverts commit a461d3228d.

Reason for revert: It's finally broken!

Issue: calyxos#1548
Change-Id: Id9c79102d66feb7beddb9b3914387a1678bf0d83
2023-03-21 18:21:22 +02:00
Michael Bestas
d51e91e810
overlay: Relocate config_displayLightSensorType to no-rro
RRO breaks Pixels and every device that overlays this.

Change-Id: I704f81c0cb30b92d1a33d5e6569d501519e0bcd7
2023-03-21 18:21:20 +02:00
Chirayu Desai
6aaeca3621
vars: Pixel 6, 6a: March 2023 Security update
Change-Id: I78115e6fcc14e0b46c916b29fe561e009c271637
2023-03-20 22:06:01 +02:00
LuK1337
f8663e2484 overlay: Set config_displayLightSensorType to android.sensor.light
The fallback was broken in frameworks/base@4be1126d25.

Change-Id: If6d7b0ea0306cbfde94d344dd5d933a155471a3f
2023-03-18 12:24:58 +01:00
Michael Bestas
eb24a59862
vars: Use merge method instead of squash
Change-Id: I3bc51d164d0a61d8ff07d64ac31d37cef68baba7
2023-03-15 00:55:39 +02:00
Chirayu Desai
e5a041edc3
vars: March 2023 Quarterly Platform Release and Security update
* https://support.google.com/pixelphone/thread/205950390/google-pixel-update-march-2023?hl=en
* No release for gs101 yet

Change-Id: I4f83242744d484c8e8fdd7985963a8d4a616608e
2023-03-14 23:14:03 +02:00
Arbri Çoçka
1fa2c753f8 apn: fix AMC APN
- AMC is now One
- https://paste.pics/M2V1D

Change-Id: I34a142c8b472a94b138c0a0f320abacd45e94f30
2023-03-05 15:38:54 +01:00
LuK1337
7395c7f50e roomservice: Use mirror manifest instead of search API
Change-Id: Ifc64e42e1d443f36033756a6247a9f253b1ab82d
2023-03-04 13:19:33 +01:00
dianlujitao
62c1374385 kernel: Check HIP support of clang before disabling it
Old clang releases don't support --hip-path, so passing this flag will
break the build.

Change-Id: If36defb0e74893581849700fb67e6aa4617908a8
2023-03-02 20:43:04 +08:00
dianlujitao
ef68678120 kernel: Force disable LLVM HIP
Gets rid of the following from clang -v:

```
Found HIP installation: /opt/rocm, version 5.4.22804
```

Change-Id: Ic58b3fb2dd67d345372bec7f5d2cf023ed2fb34d
2023-03-01 23:07:23 +08:00
Le Hong Duc
eb86bd1bc5 apn: Add Wintel
* ref: https://wintel.vn/huong-dan-cai-dat-apn

Change-Id: Ifc5f5f7f8524ad4b132196be95d16b0abc22a5bc
2023-02-23 20:40:25 +01:00
Dhina17
e91d67406d apn: Don't set type default for Vodafone MMS 404/43
- It avoids apn: portalnmms as default.
  www is the actual working one for Vi India.
  So don't have to change it to www everytime manually.

- Verified in stock ROM apn conf.

Change-Id: Icc84ad8cd22e36306dd53088f7176f3a9fd849ef
2023-02-22 21:44:10 +01:00
Michael Bestas
d9d76b356c vars: Update floral to TP1A.221005.002.B2
Change-Id: I61c77906d96df35a6cdde39b221abd26050f80c8
2023-02-13 10:02:58 +01:00
Michael Bestas
d6209a2dc6 vars: February 2023 Security update
Change-Id: Ib5e19cbfebe2e34c595341af40f42d458c569de3
2023-02-13 10:02:58 +01:00
SGCMarkus
1cc1c8a0a0
qcom: set TARGET_USES_QCOM_AUDIO_AR for the UM 5.10 family
This flag guard vendor/qcom/opensource/{agm,pal,audio-hal/st-hal-ar}
which must not be included in older platforms

Change-Id: I9da02881df9582c10cfb7d1c962a766a9ae041ed
2023-02-10 01:37:13 +02:00
SGCMarkus
22eb16e2de
qcom: Include vendor/qcom/opensource/display namespace only for <5.10 platforms
hardware/qcom-caf/sm8450/display contains its own copies of
* libgralloc.qti
* libqdMetaData
* libdisplayconfig.qti

Including this namespace too, results in a module already defined error

Change-Id: I7d5c861307f4d517d5b53c6444897a4b90f0095e
2023-02-10 01:37:12 +02:00
Arian
27409112ff
qcom: Add taro platform
Change-Id: I96e3bbccc306817986c6f039a57fd1daa94e7f2d
2023-02-10 01:37:12 +02:00
Michael Bestas
8f5abd2a73 overlay: Set calendar component name
Change-Id: I45dcb494863616d09348266f444cf8295313454c
2023-02-09 22:26:20 +01:00