Commit graph

64 commits

Author SHA1 Message Date
Sherry Zhou
db7dfb48cc Change the translationY for smartspace in Felix on lockscreen
Bug: 299034855
Test: manual test on Felix
Change-Id: Ieee20f807ab8727dbbcb374a1e77e774ea1a05c0
2023-09-20 17:01:22 +00:00
dshivangi
84b043b65b Disable Fold lock behavior setting in UQPR1
Disable Fold lock behavior setting in UQPR1 as it is supposed to be released in UQPR2.

Bug: 298200843
Test: Flash the device with this build.
* Manually check if the setting accessible.

Change-Id: Iefb62dd1f5249aadd43e308ca3f853cf457193ce
2023-09-19 11:09:28 +00:00
Treehugger Robot
76da775460 Merge "Apply new IA requirement on M23 device" into udc-qpr-dev 2023-09-19 08:20:07 +00:00
Willy Hu
30f245f7d0 Apply new IA requirement on M23 device
See b/227579876, for P23 and later, we can send null initial attach data profile to modem to clear any previoud data profiles.

Bug: 300203182
Change-Id: I608c7a6a5c6b28874ac69a8989f5c0f23320e5cd
Test: Build pass.
2023-09-14 15:34:38 +00:00
Kimi Hsu
628ddab6ab Update cutout rect
Bug: 298117208
Test: make
Change-Id: I82e9549ed91d2ef212775492f6e82e9789210fef
2023-09-13 09:25:37 +00:00
Shivangi Dubey
9e5f0664e4 Merge "Refine fold setting" into udc-qpr-dev 2023-09-06 14:28:45 +00:00
dshivangi
eb1b08f16b Refine fold setting
Current fold setting has a toggle button which can enable the “Stay unlocked on fold” setting.
Create a new page for fold setting which will allow us to choose something from three options.(https://screenshot.googleplex.com/6W65aTYtigGpr3v)
 *Always - Front display turns on when you fold your device [Currently available setting]
 *Only games, videos, and more - Front display turns on for apps that stop your screen going idle [Default]
 *Never - Front display locks when you fold your device [New option for user]

Test: atest FoldLockBehaviorSettingsTest FoldLockBehaviorPreferenceControllerTest
*Manual
  Flash the build with these changes
  Manually select options one by one
  Observe the behavior

Fixes: 294194379
Change-Id: I59e8ba653bdac397eec0be60b931dc1c6649843c
Merged-In: I59e8ba653bdac397eec0be60b931dc1c6649843c
2023-09-06 10:50:23 +00:00
Sherry Zhou
2850f8598b Fix overlap between smartspace and weather clock
Test: manually test on Felix
Bug: 286888430
Change-Id: I92286b1ef610b13b76c0f24ffe1fc3592e26fe9e
2023-08-24 21:59:22 +00:00
Jason Chang
b6466f4384 Adjust Power button light reveal position in line with the power
button for F10

To configure the power button light reveal’s y-axis offset.

Bug: 291954717

Test: manually test and check the Power button light reveal visually.
Change-Id: I97e6f3c5e30bf421b0cd82c065332765619a38b5
2023-08-16 07:50:05 +00:00
Evan Laird
15ac3c0b7e Update Felix inner corner assets from design
New corner spec imported from design that properly becomes flush with
the vertical and horizontal sides.

Bounding box set based on a 79px size, via a 5.28mm corner and a
conversion of 1px = 66.9um

Test: adb shell setprop debug.screenshot_rounded_corners 1 && <restart sysui>
Fixes: 283827918
Change-Id: I41b976243ac1497e45f74d4172c75093e8334268
2023-06-16 16:17:16 +00:00
Hawkwood Glazier
faf33fae44 Felix overrides for smartspace positioning
Bug: 283308908
Test: Manually checked a bunch of configurations
Change-Id: I1f9c23b93b1a845e7442b96a1f762a278fdde9d1
2023-06-01 18:48:18 +00:00
Suprabh Shukla
a452a3e6f6 Update Sound_trigger interrupt mapping
Test: Manually verify the output of `dumpsys batterystats --wakeups`

Bug: 284405919
Change-Id: If89df80027baff8734d31fd64bbdae5ab3d78251
2023-05-26 13:11:01 -07:00
Richard Chang
590c50e1bd felix: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I939854c369da8bcf10bc2a3daf80119cfc75fad5
2023-05-15 02:42:06 +00:00
Suprabh Shukla
6ea4b5de0d Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I4b8c3f024bf86d7fbbe7d618fd3905820ce51e54
2023-05-10 16:06:51 -07:00
Suprabh Shukla
22572e15bd Add wakeup interrupt mapping
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I8a1fa820f9f4208880e5ac13180f9d347581182b
2023-05-03 22:12:23 +00:00
Nicolò Mazzucato
89cdd74ec4 Merge "Increase keyguardDrawnTimeout to reduce fold->AOD flickers" into tm-qpr-dev am: 3029b6ee68 am: 483c128b6e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21938815

Change-Id: Ic224224311fde3f7e5f0b3e3cbbf8d17942c440a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 20:21:43 +00:00
Nicolò Mazzucato
3029b6ee68 Merge "Increase keyguardDrawnTimeout to reduce fold->AOD flickers" into tm-qpr-dev 2023-03-13 19:39:51 +00:00
Nicolo' Mazzucato
628167f508 Increase keyguardDrawnTimeout to reduce fold->AOD flickers
This is a temporary measure to decrease the chances of flickers when folding to aod, while we work in parallel to decrease latency.

According to ww metrics, Fold to AoD takes:

p50: 714ms
p89: 1020ms
p95: 1147ms
p99: 1577ms

Once we hit the keyguard drawn timeout, the screen is turned on . However, in some cases sysui and launcher are not ready, and this results with the screen on while showing the unfolded layout, with a rapid transition to the folded one (according to pitot data[1], this happens in 11% of the fold->aod).

This cl sets the timeout to 1700ms (slightly higher than p99). In this way, the chances to have flicker are greatly reduced, but the underlying latency problem remains.
In parallel, we're looking to decrease this latency (see bug).

[1] https://screenshot.googleplex.com/9gV9nEfpstkJmCt

Bug: 243015678
Test: fold->aod many times, no flicker.
Change-Id: I0738901279136dd7577016a3ba46dc4c5b9a86f1
2023-03-10 08:26:16 +00:00
TreeHugger Robot
4346d16968 Merge "Persist the nit brightness for the default display" into tm-qpr-dev 2023-03-09 15:11:33 +00:00
Piotr Wilczyński
0af89589cf Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.

Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
Merged-In: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
2023-03-09 11:36:06 +00:00
Weizhung Ding
ab4ddf458e Merge "extend lux/brightness mapping table" into tm-qpr-dev am: 54d838fdb8 am: ff35776872
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21695292

Change-Id: Ibc7069db1a0393f30c4eb2e2bd0b502a0cf0aee7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 11:12:39 +00:00
TreeHugger Robot
0471d19f34 Merge "Persist the nit brightness for the default display" into udc-dev 2023-03-09 11:05:57 +00:00
Piotr Wilczyński
e00b9fb531 Persist the nit brightness for the default display
Store the brightness for the default display in nits in persistent data store so that it can be persisted if the device reboots or the display device changes.

Bug: 258455654
Test: adb shell dumpsys display | grep mPersistBrightnessNitsForDefaultDisplay
Change-Id: I20a0a686ee1e4e945fbcd99d5b996534f8ef93b7
2023-03-08 18:03:44 +00:00
Suprabh Shukla
4267c03e58 Add device map for wakeup attribution to felix
This xml maps the devices that can wake the main CPU up to subsystems
that use them.

Test: Builds, boots. Manualy verify the loaded map in the output of
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I3988cde6d8c5258c1f952ccd8c0a08143998473a
2023-03-06 16:52:50 -08:00
Weizhung Ding
2e9591f5b3 extend lux/brightness mapping table
extend lux/brightness mapping table to support 1200nits

Bug: 270673324
Test: brightness level can be 100%
Change-Id: Ie77e797fa5f4a860f8fdd6c84379819dd870192d
2023-03-06 12:43:04 +00:00
Amy Hsu
d1f7d6e198 Merge "display: remove the blocking zone for HBM HDR in config" into tm-qpr-dev am: 9371b94685 am: a8cfb736d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21398184

Change-Id: Id85403e4d1c0fb9cef888cb1870c77e1014f586e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 11:31:43 +00:00
Amy Hsu
aaa5680897 display: remove the blocking zone for HBM HDR in config
We have different settings for inner and outer. So we will use display
config to set them separately.

Bug: 258107876
Test: manual testing
Change-Id: I12ea64b9874ee79eec94c4ede6fa2320b27d0c41
2023-02-13 08:24:10 +00:00
TreeHugger Robot
dc6d46bc50 Merge "Customize AuthCredentialPatternContainerStyle for F10" into tm-qpr-dev am: f72f2a3b51 am: b3e8fd2369
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21346464

Change-Id: Ib107caa9fc07b04ebb750eb3dd97992ae5b72ce0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10 05:16:40 +00:00
lbill
09aafc6f77 Customize AuthCredentialPatternContainerStyle for F10
In unfold display, the pattern view UI showing in 2 panes
But the additional horizontal padding make the pattern view
truncate.

Test: build and flash, use demo BP to check the pattern view UI
Test: run CTSVerifier and check the test
Bug: 268276210
Change-Id: Idc040bf7f022c1a282c46d1652a0ce3ca75c1839
2023-02-09 11:49:20 +00:00
Nick Chameyev
4e0ea7f986 Update StatusBar height for portrait unfolded screeen am: a976196f43 am: 3bc2ad2c3a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/21024527

Change-Id: Iaca68245961d8f91e65e880f417c614c0fd55de3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 12:41:43 +00:00
Nick Chameyev
a976196f43 Update StatusBar height for portrait unfolded screeen
Currently, 3P apps could read the system resource
of status bar height for portrait orientation on the
unfolded screen. Updating this value to a correct one.

Bug: 264656380
Change-Id: I859b7c756f1dab88373bf2116cf1638a5faae624
Test: manual
2023-01-18 17:55:37 +00:00
Bill Lin
c15c214b88 Merge "5/ Turn ON face auth dismisses keyguard by default on F10" into tm-qpr-dev am: a439291b27 am: fafba3359f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20747854

Change-Id: I738bfa90df89532206835f11677e0df1691ced22
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 08:45:13 +00:00
Bill Lin
0e6064843c Merge "4-2/ Config config_face_auth_supported_posture to listen for face on folded state" into tm-qpr-dev am: 7f9a7ed35a am: 2a24331bbf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20640912

Change-Id: I9ab16a9dee621dd3ece0e2760e14b1a37f8591c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-12 08:45:02 +00:00
Bill Lin
a439291b27 Merge "5/ Turn ON face auth dismisses keyguard by default on F10" into tm-qpr-dev 2023-01-12 07:20:36 +00:00
lbill
4e71fdbecd 4-2/ Config config_face_auth_supported_posture to listen for face on folded state
1. Set config_face_auth_supported_posture to 1(DEVICE_POSTURE_CLOSED)
2. Set the camera id to 1 for the front camera

Test: Check face auth do not active when device on unfolded state
Test: Check face auth active when device on folded state
Bug: 260636659

Change-Id: I6cbaa43bd7a60e3ac1aa1c14c8bb6559c7e3a8c6
2022-12-22 18:17:53 +08:00
lbill
a526c9aeaa 5/ Turn ON face auth dismisses keyguard by default on F10
Bug: 260636659
Test: manual build and check face auth default settings
Change-Id: I592b3b69cf3e078f4dad9466a044da9526c3400b
2022-12-16 07:25:05 +00:00
Amy Hsu
9bc4bff71a Merge "display: add blocking zone for HBM HDR" into tm-qpr-dev am: 2bfe63fde4 am: 289aca7d35
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20596354

Change-Id: I0dc6cc37559bc71daec9abd1ca63943a7ecf5127
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12 04:56:08 +00:00
Amy Hsu
2bfe63fde4 Merge "display: add blocking zone for HBM HDR" into tm-qpr-dev 2022-12-12 04:05:05 +00:00
TreeHugger Robot
757c2066c9 Merge "Remove udfps-configs for device w/o udfps" into tm-qpr-dev am: c0f901cfea am: d3705e254d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/felix/+/20679912

Change-Id: If045e6b820eca81376608add0ddfb96710b143f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 16:38:48 +00:00
Beverly
83da95b468 Remove udfps-configs for device w/o udfps
Removes sensors specified for:
   config_dozeUdfpsLongPressSensorType
   config_quickPickupSensorType

Test: builds, AoD works
Fixes: 261748785
Change-Id: I53364c8e00a15c4a8b3efdcffef3dd8a6d512c50
2022-12-08 14:34:57 +00:00
Amy Hsu
c3a13c7ce3 display: add blocking zone for HBM HDR
fix hbm hdr at 60 hz

Bug: 259644610
Test: Check FPS when playing HDR video and at HBM mode.
Change-Id: Ie1073fb5fd51c3a4fc166f2838944e6b28540198
2022-12-08 01:35:24 +00:00
Shawn Lin
7af458e786 Merge "Add display shape config for F10" 2022-12-01 07:34:39 +00:00
Shawn Lin
78be149aab Update status bar height to center the hole punch cutout
Bug: 253071694
Test: make
Change-Id: I76602279a987af0593e8585606a80b33fc4d71c5
2022-10-17 19:07:58 +08:00
Weizhung Ding
d328c82ab7 Enabel smooth display
Bug: 234327332
Test: entry/exit idle and AoD
Change-Id: Icebb3e85ff23631b051d11a359c44a7efe28cdad
2022-10-11 10:43:25 +08:00
Shawn Lin
bcf94715b4 Add display shape config for F10
Bug: 236935288
Test: make
Change-Id: I391c320f9cab2e430b182101814a997fd2430771
2022-10-05 16:30:05 +08:00
Shawn Lin
cad27fd619 Update cutout & rounded corner configs
Bug: 234327307
Test: make
Change-Id: Ib855e5cf965e9bb76b736cad9a8ea2593879adc2
(cherry picked from commit da937e8ca0)
Merged-In: Ib855e5cf965e9bb76b736cad9a8ea2593879adc2
2022-09-20 09:14:51 +00:00
Shawn Lin
da937e8ca0 Update cutout & rounded corner configs
Bug: 234327307
Test: make
Change-Id: Ib855e5cf965e9bb76b736cad9a8ea2593879adc2
2022-09-20 11:25:57 +08:00
Gil Liu
c358c2b727 Merge "display: update AOD brightness setting" into tm-qpr-dev 2022-09-16 07:58:34 +00:00
Gary Jian
58bcd73499 Merge "Correct MMS UA, UAProf for F10" into tm-qpr-dev 2022-09-16 06:45:03 +00:00
Gary Jian
18f271ab61 Correct MMS UA, UAProf for F10
Bug: 239520846
Test: make
Change-Id: Id42f8cffef9997e79ce602e32440fb07fc65338b
2022-09-14 11:41:51 +08:00