Commit graph

61 commits

Author SHA1 Message Date
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
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
Edgar Arriaga
046e5428f6 Set default pin amount for home app
Bug: 288900050
Test: dumpsys pinner
Flag: EXEMPT refactor

Change-Id: I8dfad41210df945751761586809dd0d17cf3dae8
2024-05-13 23:05:13 +00:00
Yong Zhang
8f8ce29d46 Add Youtube back in MRR Small Area Detection Allowlist
Bug: 324132231
Test: Make Pixel builds to verify Allowlist
Change-Id: I5bdaee773d517a3fbd2e41c04192db30bb002b1a
2024-02-07 16:37:42 +00:00
Peter Lin
acf42185fd Update default color temperature for night light
Bug: 302396607
Test: adb shell dumpsys color_display | grep "Color temp"
Change-Id: I7c88ccacbfeda6446788e0e0bf4f7a3f72d85b3a
2023-11-30 07:48:50 +00:00
Edgar Arriaga
eae154f7fd Add webview pinning for gs101 devices
Bug: 307594624
Change-Id: I1e4e120840d757a9397ea07b9b3087a1f662cc63
2023-11-27 18:04:49 +00:00
Jeff Chang
533c98a59c Update default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 308742727
Test: Build
Change-Id: I4acb218f88eb2da95c7b184297650947d2164adb
2023-11-02 10:48:19 +00:00
Jasmine Cha
c2f9f91066 audio: remove prescale for BT absolute volume
Bug: 302553525
Test: build pass

Change-Id: Ic6001a99d297ac030158ddea76d0f19907e98049
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-11-01 06:02:04 +00:00
Arthur Hung
2685ea8e57 Add default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 283055450
Test: Build
Change-Id: Ia51f69f8b68b0dd74bd454c73a4d6d715f1d658c
2023-10-04 08:06:14 +00:00
Wilson Wu
b6c4eba975 Disable variable refresh rate when typing on gs101
Turn off config_variableRefreshRateTypingSupported on gs101.

Bug: 299966467
Test: presubmit
Change-Id: Ifcac7ffe451db1b5059fb8827be58c80be828178
2023-09-19 09:22:02 +00:00
Jorim Jaggi
b2b8c18001 Revert "Enable small dirty detection for variable refresh rate"
Revert submission 24149209-enable-vrr-extension

Reason for revert: Bug: 299131033

Reverted changes: /q/submissionid:24149209-enable-vrr-extension

Change-Id: I9eb3fda4b994344b9125a6b6750cb38298a79db3
2023-09-07 17:47:34 +00:00
Arthur Hung
a18057de76 Enable small dirty detection for variable refresh rate
Bug: 283055450
Test: Build
Change-Id: I670432d6e566260df3cfdc938f4ddbae70b5d47a
2023-09-02 19:19:07 +00:00
Wilson Wu
c2823b1394 Support variable refresh rate when typing on gs101
Enable config_variableRefreshRateTypingSupported
for gs101 devices.

Bug: 283055450
Test: build
Change-Id: I3bd19cf75f84cbd5ef949d98a14ff2bd17391204
2023-09-01 07:34:44 +00:00
Dan Sandler
43ff57ebf3 Fix a crash trying to boot the device in a pseudolocale.
Bug: 280361527
Test: Boot in XA
Change-Id: I7539a96fd40ba3e7d86f23116f4f3d972e6aa3af
2023-05-02 15:07:24 +00:00
Christine Franks
c81618b480 Update saturated value replacement
Bug: 230903279
Test: n/a
Change-Id: I96f8db8bff4f07a0d638a56006db73bbaa2f835d
2022-05-12 23:50:33 +00:00
Sarah Chin
be3d667f8c Add location bypass package overlay
Test: verify values on devices
Bug: 230919427
Bug: 210118427
Change-Id: I93acd0083c433aaf889530464142c9a3c9b95878
Merged-In: I93acd0083c433aaf889530464142c9a3c9b95878
2022-05-11 22:52:06 +00:00
Sarah Chin
d1d22866c5 Remove config_tcp_buffers
Moved to default values

Test: build
Bug: 222323543
Change-Id: If7ebd63c586974756d3e374b8c0cbfb27a5f1819
2022-05-11 01:44:18 +00:00
shawnlin
9f3fe8c5e1 Fixed status bar glitch for apps that access internal resource dimen am: c8d93dd9f7 am: 9820c19ec1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17536006

Change-Id: I1aa8bfd62e75052be09745864c6234b163869bcb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 14:21:38 +00:00
shawnlin
9820c19ec1 Fixed status bar glitch for apps that access internal resource dimen am: c8d93dd9f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17536006

Change-Id: Ia0c569e11d6babe6c2312bc61bc64cd44fd2294b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:59:35 +00:00
shawnlin
c8d93dd9f7 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: I87467605520d5dd168c3b03ac3b699800bd96030
2022-04-01 16:37:55 +08:00
Lais Andrade
e8dfddc978 Add default alarm and media vibration intensity settings
Fix: 219692498
Test: manual
Change-Id: I1fa7443b36d93906e7def15629b87213edf30727
2022-02-18 11:12:21 +00:00
Yohei Yukawa
d866475c34 Migrate "rounded_corner_content_padding" for gs101
This CL updates resource overlay of

  rounded_corner_content_padding

for gs101 so that the same device-specific value can be seen from both
the Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: Ia7a3da402d86679def535f0e40638164d31c0dba
2022-01-28 12:11:07 -08:00
Santiago Seifert
b02da04789 Unpin updatable-media from memory on gs101 am: 1b83520026 am: e1f7eee2a8 am: 60434d9aa6 am: 283f1faa7a
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: I54a0a2f99f0b4df06f125d781061ad9e6a20717e
2022-01-26 12:05:39 +00:00
Santiago Seifert
283f1faa7a Unpin updatable-media from memory on gs101 am: 1b83520026 am: e1f7eee2a8 am: 60434d9aa6
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: I6744bda15d50fb5a7e3ab3471484b11cfc01751c
2022-01-26 11:40:58 +00:00
Santiago Seifert
60434d9aa6 Unpin updatable-media from memory on gs101 am: 1b83520026 am: e1f7eee2a8
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1960760

Change-Id: I112506aec55205dfba84005720dbc6561465b8fb
2022-01-26 11:04:39 +00:00
Santiago Seifert
1b83520026 Unpin updatable-media from memory on gs101
Bug: 214499288
Change-Id: Icb0ebe5a36e01941cc1318c95a7534c0f20ffa93
Test: Presubmit
2022-01-25 21:28:31 +00:00
Etienne Ruffieux
9acb8c9976 Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f am: 0ba1150d9c
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: I7b19e99088243a48b1cd48472c78f4ee5fd8ce1d
2022-01-25 15:21:01 +00:00
Etienne Ruffieux
0ba1150d9c Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5 am: 0f06739b7f
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Ia9b527630b51453b176ac01dd1bf867ceac9e77b
2022-01-25 15:02:13 +00:00
Etienne Ruffieux
0f06739b7f Added new vendors for Bluetooth config migration am: 1307232779 am: 3059d2c5c5
Original change: https://android-review.googlesource.com/c/device/google/gs101/+/1956200

Change-Id: Icd747ae44f7be923cef419a9d992212c3b5f3067
2022-01-25 14:44:55 +00:00
Etienne Ruffieux
1307232779 Added new vendors for Bluetooth config migration
Tag: #feature
Test: manual
Bug: 211570675
Change-Id: I4e0c211b4a176fc9161b079d2799bfefbaf4651f
2022-01-25 09:47:04 +00:00
Jack Yu
270f0d46ef Added default TCP buffer size for Pixels
Bug: 213596972
Test: Manual
Change-Id: Ib2dbd339d9b8ae9f9f1248f7be518cdf5830ec7c
2022-01-14 05:04:48 +00:00
shawnlin
0aa99d3b57 Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I474e7272c3240bbc36ddbb43f565e0eaed96b29e
2021-10-27 05:12:16 +00:00
Santos Cordon
96e2b4eec4 Adjust Doze default value to accomodate HBM. am: bfb3168639 am: d7fcbd91db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15897167

Change-Id: Icab22cead7dc07317a4a5dc0ffdecb18adf66e9e
2021-09-27 13:45:35 +00:00
Santos Cordon
18bb9722da Adjust Doze default value to accomodate HBM.
HBM changes moved the normal max, so we should adjust the doze
default value by same scale.

Bug: 194972547
Test: Manual, verify behavior is similar to Android R.
Change-Id: I953b8f68f3ad0d9369d6fb0466e178ce366fdbc4
2021-09-23 14:05:29 +00:00
Brad Ebinger
51b245f1d2 Adds an overlay for radio power off delay due to IMS deregistration
Adds a 3 second delay after radio power off is triggered for the
device to complete IMS deregistration before triggering power off
on the radio in response to events such as APM and power off.

Bug: 195304068
Test: manual; atest FrameworksTelephonyTests:ServiceStateTrackerTest
Change-Id: Ib1e28ee07459f1770d3c199d0d94ac147a667528
2021-09-17 23:01:24 +00:00
Kyle Lin
d1a9bedcfe config.xml: pin SurfaceFlinger
as ag/13364183, system_service needs read access SurfaceFlinger.
Pin it by pinner when booting.

Bug: 193442970
Test: adb shell dumpsys pinner
 - SurfaceFlinger pinned
 --
    /system/bin/surfaceflinger 7028736
 --

Change-Id: I2cae8f87a09b4871cf967fe8a3c01fb9015d58cb
2021-07-13 22:34:30 +00:00
Minchan Kim
c255722fe9 enable zram writeback job scheduling
Test: Confirmed the initial write working with console  log
Bug: 190571517
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Idb9f800455c62251bad333a015385cb5bd5029cc
2021-06-14 03:14:53 +00:00
Ilya Matyukhin
a23bc411fe gs101: remove fingerprint HIDL HAL config
This config should be specified in individual device overlays.

Bug: 188588725
Test: build
Change-Id: I1e0798026c3e367ae3847fb8367c9dddb8a9b28d
2021-05-19 04:28:41 +00:00
Beverly
4747f7c675 Raviole: use hybrid prox sensor on keyguard
Bug: 184176119
Test: manual
Change-Id: Ib2a6c75986ea9e4f7514767ef6d4090e5d71f93c
2021-05-18 11:36:31 +00:00
Midas Chien
4c188d1214 Revert "gs101: display: update 90hz denylist"
This reverts commit 2b88831a1d.

Reason for revert: move to vendor

Bug: 159903227
Bug: 182471327
Test: adb shell dumpsys window refresh
Change-Id: Iea49d0be0338faba1a98bdf184e2f674340602c1
2021-05-17 17:31:42 +00:00
Christine Franks
db9dc2773d Add mapping between boosted modes
Bug: 186186974
Test: n/a
Change-Id: I1096edc95da14b9e5b18f24e23c16af3bbc1fc9b
2021-05-13 17:06:09 +00:00
Remi NGUYEN VAN
1e3469f18c Add connectivity overlay to gs101
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.

Bug: 185850634
Test: m
Change-Id: Iea8bf912e750375724421945103bcc58ece11f1b
2021-04-23 08:22:42 +00:00
Michael Wright
a281288798 Enable TEXT_HANDLE_MOVE
New devices are capable of subtle vibrations, so this experience should
be enabled.

Bug: 185134911
Test: manual
Change-Id: I20d251a82e734cd5cb98b086efdec6d2c555a898
2021-04-13 01:51:51 +00:00
Roger Wang
a0342c45ce Enable wakeup packet mask and marker config
In this commit, we enable wakeup packet mask
and marker config. Then, connectivity can do
the proper accounting of the Wakeup statistics
which will be included in the bugreport.

BUG: 184807534
Test: adb shell dumpsys connmetrics
```
WakeupStats(wlan0, 1022s, total: 6, root: 0, system: 1, apps: 5, non-apps: 0, no uid: 0, l2 unicast/multicast/broadcast: 6/0/0, ethertype 0x800: 6, ipNxtHdr 6: 6)
WakeupEvent(19:45:36.879, wlan0, uid: 1010151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=216.58.200.42, dstIp=192.168.50.51, srcPort=443, dstPort=49572)
WakeupEvent(19:47:36.741, wlan0, uid: 1010151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=172.217.24.8, dstIp=192.168.50.51, srcPort=443, dstPort=53436)
WakeupEvent(19:49:25.241, wlan0, uid: 10151, eth=0x800, dstHw=10:7b:44:3c:30:88, ipNxtHdr=6, srcIp=74.125.204.188, dstIp=192.168.50.51, srcPort=5228, dstPort=38444)
//...
```

Change-Id: Ifabc2edd5425794d9e0af200eaec8baad44d6689
2021-04-08 20:07:47 +08:00
Lisa Liu
2968f7ed45 Remove odex/oat files from pinner list.
The pinner now asks the runtime for odex/oat/vdex files.

Test: adb shell dumpsys pinner
Bug: 144773394
Bug: 182593454
Change-Id: Idd26c511f5dbdcb29ded55170b8460f3c81a1ea3
2021-04-07 13:52:26 +08:00
Vince Leung
59ca6aee8b Change all three default haptic levels to high
Bug: 183746553
Test: verify default haptic levels set to high on r4
Change-Id: Ie6489be8375ddc01aeb3f227f86e98785232e52a
2021-04-06 21:03:11 +00:00
Adrian Salido
2aaf5916ce Decouple auto-suspend and interactive from display on/off
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.

Bug: 180896425
Change-Id: If2eeaaebb3137bbfe9ba71f47e8b1efdcff14197
2021-04-05 23:44:15 +00:00
Midas Chien
2b88831a1d gs101: display: update 90hz denylist
Add common 90hz denylist

Bug: 182471327
Test: adb shell dumpsys window refresh
Change-Id: If3dc37ad1c3df05ffdf8176a48c2c19430b5ba98
2021-04-01 15:32:53 +00:00
Lisa Liu
b8a16df6e5 Add pinner configs for P21
Bug: 182593454
Test: dumpsys pinner
Change-Id: I85547d29ddc9111b0e3338681729c8318d9010dc
2021-03-31 08:52:29 +00:00