Commit graph

11235 commits

Author SHA1 Message Date
razorloves
582e218e9f
Set OPA property to enable google assistant
Change-Id: I741171219d64a28d56531f063f95f3f6f6cf81e6
2024-09-29 19:37:13 +03:00
razorloves
9028070b57
overlay: Use CarrierSettings app instead of CarrierConfig
The CarrierSettings app enables/disables carrier apps based on sim
inserted, so use it instead of CarrierConfig.

Change-Id: I163dd615e9d8268c5f94a28ae234a30f74c7e83b
2024-09-29 19:37:13 +03:00
Cyan_Hsieh
213df86981
gs101: Add pvmfw to AB_OTA_PARTITIONS
Bug: 209706293
Change-Id: I13f3f1c02dd6687226936b45852742701d185ced
2024-09-29 19:37:13 +03:00
Michael Bestas
f77e336456
Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-09-29 19:37:13 +03:00
Alessandro Astone
9e8738a248
Build pixel touch HAL
Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de6
2024-09-29 19:37:13 +03:00
Michael Bestas
5865285289
Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-09-29 19:37:13 +03:00
Michael Bestas
7f719f7dab
Add lib_aion_buffer.so to vendor linker config
This lets com.google.pixel.camera.hal.apex access it.

Change-Id: Ic01ce043eeecbc3bcc71c04f49a7c348e2b10886
2024-09-29 19:37:13 +03:00
LuK1337
d44671675c
Add liboemcrypto.so to vendor linker config
This lets com.google.android.widevine.apex access it.

Change-Id: I4e9654fe6317b722f5fbf43b92abb367c18640ce
2024-09-29 19:37:13 +03:00
Eamon Powell
3fe2bb3903
Don't copy aosp_excluded_hardware.xml to vendor
Change-Id: I9ae662e47b4bf8d9506f3938d9f4217acf947dc2
2024-09-29 19:37:13 +03:00
Nolen Johnson
a346b6de0c
Set camera extension package to Google package
Change-Id: I519ebf8a1e2a9d06561471206c91c01b352ebd47
2024-09-29 19:37:12 +03:00
LuK1337
fae23b8d62
overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2024-09-29 19:37:12 +03:00
Jesse Chan
5a462c4418
overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-09-29 19:37:12 +03:00
Danny Baumann
0965e5d444
overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2024-09-29 19:37:12 +03:00
Michael Bestas
eea1068c28
overlay: Remove quick_qs_{offset,total}_height overlays
Commit 49895bb361e74ffe92a3c0b76f988c8e4697b5c1 failed to remove
these overlays and this results in the following issue on raviole:
* Pull down status bar
* Try to adjust brightness, network settings open instead

This is caused by the 171px offset that causes the status bar
to overlap the brightness slider.

Test: Reliably adjust brightness, confirm with "Show layout bounds"
      from developer settings.
Change-Id: I1b97a28c257cb5b0faba830f29e9058d2dbe50fa
2024-09-29 19:37:12 +03:00
Michael Bestas
44f26f13ab
overlay: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-09-29 19:37:12 +03:00
Danny Lin
66dfe75b8e
overlay: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-09-29 19:37:12 +03:00
Dan Pasanen
99c40e6695
overlay: enable config_vibrateOnIconAnimation
* need those sexy vibes

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-09-29 19:37:12 +03:00
Danny Lin
ae37e37a4a
overlay: Settings: Enable multiple vibration strength levels
All production GS101 devices have CS40L2x haptic driver ICs that support
multiple intensities, so expose the Off/Low/Medium/High vibration
strength options like stock.

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I72645b5bd5772e182592a630df86f9b6166b4923
2024-09-29 19:37:12 +03:00
Danny Lin
438c93ba0c
overlay: Settings: Override boosted color mode
The Pixel 6 series of devices (raven/oriole) uses vendor color mode 256
for Boosted, rather than the AOSP color mode 1.

Change-Id: I046b24f86ecc8b13ee4ac7485d143843c21bd9d5
2024-09-29 19:37:12 +03:00
Danny Lin
efc353f78a
overlay: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 6 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2024-09-29 19:37:11 +03:00
Bruno Martins
382ad3c7c2
overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2024-09-29 19:37:11 +03:00
Chirayu Desai
783261fba4
Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2024-09-29 19:37:11 +03:00
Chirayu Desai
5c09f3cdaa
Add device manifest for radio
Change-Id: Ib6c4b28d33fb64cb05c715d86a96a829a498beac
2024-09-29 19:37:11 +03:00
Chirayu Desai
d55beb7e17
Build vbmeta_vendor
Change-Id: I74c028a2e5ade8830526e95f8ec90b1a1da35afb
2024-09-29 19:37:11 +03:00
Chirayu Desai
868ff1dd9c
Build vendor
Change-Id: I08dff42223ae54386a5ed050b51aa4a39e08bdb6
2024-09-29 19:37:11 +03:00
Chirayu Desai
aaccc032d7
Build vendor_dlkm
Change-Id: Ic2a0e4cdfdcc448a73bef41e0d2140e9d0aefcf0
2024-09-29 19:37:11 +03:00
Chirayu Desai
fc2577c27b
Allow building vendor image
* We don't have access to these files, but we still want to
  build vendor images without errors

Change-Id: I4c09f7134b218b5fc10d180a6ef05015cad54f5d
2024-09-29 19:37:11 +03:00
mydongistiny
6bf56e5e85
gs101: Use Google's wifi_ext service
* Use vendor.google.wifi_ext@1.0-service
  that is in the vendor partition instead
  of the AOSP WiFi service.

Change-Id: Ia0fff6ffc532cc6b5e41f8ac242d00e64627cee8
2024-09-29 19:37:11 +03:00
Chirayu Desai
d7c657ef9b
gs101: Add initial Lineage common makefiles
Change-Id: I8136e9f0df40ca3bf96dbfd2453275481178cdaa
2024-09-29 19:37:11 +03:00
Scott Warner
f9c9b8a253
gs101: Update sepolicy path
Change-Id: I4bcee50514c02294137ea5ac6e64c64d69308bd4
2024-09-29 13:00:28 +03:00
Michael Bestas
f5e5700827
Add .gitupstream
Change-Id: I79747ef989659c069386a6ed34a59bba2e8ea860
2024-09-29 12:58:27 +03:00
Michael Bestas
fefa0ed722
Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 569ade8120
git-subtree-split: 177403b796
Change-Id: I9398cfce20bee720d0628bf2c07b7a7efdcea111
2024-09-29 12:58:16 +03:00
Android Build Coastguard Worker
569ade8120 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28051796'] into 24Q3-release.
Change-Id: I71a2d7f6fb99ea74765a6d628b73ef39d0ccc2d7
2024-06-28 23:16:30 +00:00
liangjlee
ebddc4ff3f gs101: Include power/power.mk
Bug: 331612600
Flag: EXEMPT (bug 337358613)
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7b58898aee6694762f57077bac5626f7baa32a46)
Merged-In: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
Change-Id: Ibf7dda6c4c13d6513e2f08239c95c6b2778a98ec
2024-06-28 23:08:21 +00:00
Android Build Coastguard Worker
f6fed95fe1 Snap for 11973804 from c5a560160f to 24Q3-release
Change-Id: Ibb3db4c1bf7c9dc3829ea2e720d6cb89b8485742
2024-06-15 01:02:07 +00:00
Kyle Tso
c5a560160f usb: Log for retry on role switch
Add a log for the retry. Also define the sleep time in the header file.

Bug: 341996696
Change-Id: Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78
Signed-off-by: Kyle Tso <kyletso@google.com>
(cherry picked from commit d17fdff5f81cff76adaa75d50f26318be8048123)
2024-06-13 17:12:20 +08:00
Kyle Tso
744c86c49a usb: Add retry on role switch
Bug: 341996696
Change-Id: I8caa65288af1588d24fea4aa6c5768d45d69bbd5
Signed-off-by: Kyle Tso <kyletso@google.com>
(cherry picked from commit ef5856a4474002cc35a51377adffddd4cb239796)
2024-06-13 17:12:10 +08:00
Android Build Coastguard Worker
73db47fe6f Snap for 11959661 from 9634ba0f84 to 24Q3-release
Change-Id: If78318836807cbd1b0fa0f59acd55371a8a6628f
2024-06-12 23:02:24 +00:00
Keir Fraser
9634ba0f84 Enable pkvm based on the relevant sysprop rather than /dev/kvm am: 4ff69cacdf am: 34a69be411
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3128013

Change-Id: Ic587fc28c22bbe105ba3f6118f0b45a128f3335c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 14:57:08 +00:00
Keir Fraser
34a69be411 Enable pkvm based on the relevant sysprop rather than /dev/kvm am: 4ff69cacdf
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3128013

Change-Id: I7ceeb6d178b83f9029bcc4fd3e28fc33c8ce56e9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-12 14:35:20 +00:00
Keir Fraser
4ff69cacdf Enable pkvm based on the relevant sysprop rather than /dev/kvm
1. This is simpler, as it can be triggered by logic in the init.rc
2. The old method of probing /dev/kvm fails if non-protected kvm
   is enabled: the device will exist, but pkvm is not enable

Bug: 346525496
Test: observe that pkvm is enabled after double reboot
Change-Id: I2f557ed56f13458a288ede34e672692b511b6bc9
2024-06-12 12:18:48 +00:00
chenkris
6f6ad28270 gs101: build fingerprint dump
Bug: 346450599
Test: adb bugreport
Change-Id: I5a3d508592e9fed10e429d57c6c7068e0ce0d918
2024-06-12 04:39:27 +00:00
Leo Chen
4a42718d8a Update IDisplay to V12
Test: trigger test build
Bug: 309897479
Change-Id: I338c9d05cd7b202e015288c4bd8e136d30304161
Signed-off-by: Leo Chen <yinchiuan@google.com>
2024-06-12 03:20:53 +00:00
Android Build Coastguard Worker
8f52369dc6 Snap for 11944020 from 0e0a8e2d91 to 24Q3-release
Change-Id: I344eab855ba38c48f5676d1b6ac078838f047c1e
2024-06-08 01:02:28 +00:00
Android Build Coastguard Worker
e23784c5e2 Snap for 11938003 from cd0c17add9 to 24Q3-release
Change-Id: I93deac7587b6ffed8213c518f3a230f209d377d6
2024-06-06 23:02:11 +00:00
Xin Li
0e0a8e2d91 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 06e6e7e375 -s ours
am skip reason: Merged-In I57ff2ec2758f965a9e13e53f223c735a9d102219 with SHA-1 b58ea3f845 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/27555545

Change-Id: I5001f1aaa1ba082a6fe112089d52040fd084cfd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:34 +00:00
Xin Li
06e6e7e375 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I57ff2ec2758f965a9e13e53f223c735a9d102219
Change-Id: If2bbd89a993ed54f61a726910c891eb7506ff1fc
2024-06-06 20:51:05 +00:00
Utku Utkan
cd0c17add9 Remove ACCESS_FINE_LOCATION permission pregrant for PCS on G1
FLAG: EXEMPT Cleanup of obsolete permission pregrant

Bug: 345021501
Test: m && flashall
Change-Id: I8090d8a87605d2a60d57e14212e07625213a4088
2024-06-06 17:36:57 +00:00
Dennis Shen
1b51d6b798 switch over to use new storage read api instead of
server_configurable_flags, this new read api lib will be needed for new
codegened aconfig flag lib.

Bug: 321077378
Test m and avd

Change-Id: Ieab46eb2561f910be2bf016fe4c63062a4e31a66
2024-06-06 13:47:09 +00:00
Jim Tang
3af7f6c818 Make SUPPORT_MULTI_SIM recognizable in bp am: f34142e084 am: c9504aa1a6
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/3115519

Change-Id: Ice689a458558bf1cfc8dbdbf4d76101d76d26a0e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 08:35:35 +00:00