Commit graph

41 commits

Author SHA1 Message Date
Evan Laird
9e8028074c [Cutout] Make cutout rect approximation intersect with y=0
Tokay, Caiman, and Komodo all had cutout rect approximations that did
not intersect with the top edge of the phone (they did not start at
y=0). This was causing logic in SystemUI not to be aware of _which_ edge
the cutout was associated with, and thus in some cases would not account
for potential letterboxing.

This change modifies the rect approximations to start at y=0, and adds
that same amount to their height so that the sizing should be the same.

Test: manually verified the .svg shapes
Test: manual on device
Bug: 319203599
Flag: NONE
Change-Id: I2e669b8d178eb5ace29b0d4f68c1e500b545d601
(cherry picked from commit 4990157024)
2024-04-22 19:42:51 +00:00
Kimi Hsu
d6bc8c7b9d Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: Ia600acc9efef7370627efbd704dd6d5196e49448
(cherry picked from commit 4554ae382b)
2024-04-11 01:37:17 +00:00
Jason Chang
cffc76a516 Merge "Fix when registering a new fingerprint, part of the text when fingerprint recognition fails is covered by the explanatory illustration on TK4." into 24D1-dev 2024-04-02 09:48:37 +00:00
Cutter Coryell
fab889fb5a Turn off ML in system back gesture
Bug: 329496560
Test: builds
Change-Id: I6fb4eb13078df82c576a9793edf8021b00333406
2024-04-01 17:52:08 +00:00
Jason Chang
a3f33e09d2 Fix when registering a new fingerprint, part of the text when
fingerprint recognition fails is covered by the explanatory
illustration on TK4.

Customize the udfps lottie animation translate position for TK4

Flag: NONE

Bug: 330653929

Test: manully test with reproducible steps:
1. Settings app> Security & privacy > Device unlock > Fingerprint
   & Face Unlock.
2. Unlock the screen lock > Fingerprint Unlock > transit to the
   fingerprint registration screen.
3. Touch and hold the fingerprint sensor multiple times to attempt
   fingerprint registration.
4. Fail to read the fingerprint once when touching the fingerprint
   sensor for the registration.
   (e.g., shift the finger to an incorrect position)


Merged-In: I818e49b5ee7ae1f7057fb63ccf3f8604efdf0964
Change-Id: I818e49b5ee7ae1f7057fb63ccf3f8604efdf0964
(cherry picked from commit f944eccba6)
2024-04-01 06:54:02 +00:00
Ken Lin
4e8cf7bb83 display: tk4: don't apply overlay in low light
Bug: 320729940
Test: trigger AOD night mode
Change-Id: Icf6c02c2c98fd252721dc835dbc265851bfa882f
Signed-off-by: Ken Lin <lyenting@google.com>
2024-03-15 03:57:44 +00:00
Kevin (Chung-Kai) Yang
e47c953824 power_profile.xml: Update CPU Parameters for Caimito
Test: manual test

Bug: 324079178
Change-Id: I397e30c91520ea6693f41724013ffc3cea5a33f0
Signed-off-by: Kevin (Chung-Kai) Yang <chungkaiyang@google.com>
2024-03-14 11:52:25 +00:00
Beverly
1e95d331b5 Update face auth sensor location
These values are used to calculate the size of the
screen decoration overlays (however, the actual
camera protection is provided by the camera callback).

Test: manual
Fixes: 324018508
Flag: none
Change-Id: Ie4a4100ba98ca9e69f43ca32a0cc36e6002b08f0
2024-02-13 18:40:25 +00:00
Suprabh Shukla
5c995832e7 Adding interrupt mappings for caimito devices
Test: Manually verify the wakeup data in
`dumpsys batterystats --wakeups`

Bug: 320610176
Change-Id: If12294e7604023d5c482369772d0d6b7685cb1fc
2024-01-29 16:01:53 -08:00
Beverly Tai
d06dbb468a Merge "Update pixel pitch of devices" into main 2024-01-23 14:13:15 +00:00
Derick Hong
75e42b3700 Merge "display: cm4/km4/tk4: update Adaptive Brightness Curve" into main 2024-01-23 01:08:53 +00:00
Beverly
bcefcaa3f5 Update pixel pitch of devices
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual
Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-01-18 21:45:59 +00:00
derickhong
62e0f564ff display: cm4/km4/tk4: update Adaptive Brightness Curve
remove config "config_autoBrightnessDisplayValuesNits"

Bug: 298738593
Test: adb shell dumpsys display | grep mBrightnessLevelsNits
Change-Id: I481b63dae26c48d2ff7265eb633166000f53d6a7
Signed-off-by: derickhong <derickhong@google.com>
2024-01-18 07:41:38 +00:00
Hunsuk Choi
398dc0786a Fix domain selection service configuration for plug-in architecture
Bug: 258112541
Test: build
Change-Id: Ia2531e9ab165a9c3b87cc2fc2e06428d99dc9ffa
2024-01-18 05:11:48 +00:00
Morgan Shen
b1aaf685e9 Merge "Enable AOSP domain selection service" into main 2024-01-18 03:51:44 +00:00
Beverly
752f6ab629 Update face sensor location
Fixes: 319468937
Flag: none
Test: manual
Change-Id: Ib170e4229664c70316db24bcc98ec684b94db037
2024-01-17 16:59:39 +00:00
Sasha Kuznetsov
a828ecdbae Config Tokay to allow external GPS location providers
-A noop change by itself, but allows Google to later overlay
 a different GPS engine within GmsCore.

Bug: 306045408
Change-Id: I314be4353ec6706a6898c51e970f0a914f639d79
Test: Manual
2024-01-11 18:56:54 +00:00
Hunsuk Choi
86e32f2670 Enable AOSP domain selection service
Bug: 318772907
Test: build
Change-Id: I0172df306e5d323863e07761a2dbeac6158e8454
2024-01-09 03:46:24 +00:00
timtmlin
bbdded1a24 Add MMS UA, UAProf for komodo, caiman, tokay
Reference:
go/komodo-por
go/caiman-por
go/tokay-por

Bug: 315884062
Test: make
Change-Id: Icef13dc7b6f1a8816379af9d45307dcfe12b23a8
2024-01-08 19:53:05 +08:00
Safayat Ullah
d51e8819a3 Revert^2 "display: tk4: set smooth display off by default"
This reverts commit 9e28e15c31.

Reason for revert: reapply the change
Bug: 317429316

Change-Id: Iec7be68fbd3099d65c975e7f625084c9f112bb36
2023-12-28 06:40:51 +00:00
Karl Shaffer
9e28e15c31 Revert "display: tk4: set smooth display off by default"
This reverts commit 1f11725692.

Reason for revert: Identified as culprit for failing test (b/317887212) -- reverting per go/revert-it policy. 

Change-Id: Ic32fd0044d8d0e32364e5c646fa11b4eac810af9
2023-12-27 17:14:24 +00:00
Safayat Ullah
1f11725692 display: tk4: set smooth display off by default
Bug: 317429316
Test: Check smooth display status
Change-Id: Id6f1f02b09d820216e15a6bf9c6a490f0d0238a5
2023-12-27 07:28:03 +00:00
derickhong
9d23b12b67 display: update Adaptive Brightness Curve
update config "config_autoBrightnessDisplayValuesNits" for cm4/km4/tk4

Bug: 298738593
Test: adb shell dumpsys display | grep mBrightnessLevelsNits
Change-Id: I5360b2fa8165061ca883af25da65530e547efa36
2023-12-11 14:44:25 +08:00
Beverly
39b20583cb Configure quickpick and udfps longpress gestures (used in AOD)
Test: manual
Fixes: 305118664
Change-Id: I7e8e39146fd032ec2804b4071aaa732667e47a90
2023-12-01 19:28:57 +00:00
Treehugger Robot
0fec8557b9 Merge "Update lock_icon_padding" into main 2023-11-07 18:58:50 +00:00
Beverly
3622f3c333 Update lock_icon_padding
So that the physical size of the icon is the same across devices

Test: manually verified
Fixes: 297900116
Change-Id: I1a7d1f123b8d8fb9fe15aa71e8ed3e663fc8f488
2023-11-07 18:03:56 +00:00
Roshan Pius
53d82ad810 Merge "Revert "caimito(nfc): Modify NFC overlays for NFC apex"" into main 2023-11-06 14:31:03 +00:00
Roshan Pius
48310e655f Revert "caimito(nfc): Modify NFC overlays for NFC apex"
Revert submission 25189355-nfc_overlay

Reason for revert: Causing bootloop with signed builds

Reverted changes: /q/submissionid:25189355-nfc_overlay

Bug: 309117462
Change-Id: Ib2e5107b312bb8eeb7b1510363bca5d881d60ba4
Test: Compiles, device boots up
2023-11-04 19:01:02 +00:00
Treehugger Robot
ea1a981ca2 Merge "update darkening light debounce to 2s" into main 2023-11-02 03:01:34 +00:00
Peter Lin
1db0730082 update darkening light debounce to 2s
Bug: 298742079
test: check dumpsys display
Change-Id: Ifd83400bf29b880daa6b86bb312072961fef324b
2023-10-30 07:45:46 +00:00
Kimi Hsu
5f58affc46 Merge "Update camera cutout" into main 2023-10-30 02:08:33 +00:00
Roshan Pius
a7ea054ee1 caimito(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: Ia66d07db269abcf841262c1af4919c0931e6ad42
2023-10-26 09:55:35 -07:00
Kimi Hsu
f0cccf9cf6 Update camera cutout
Bug: 286064534
Test: Setup faceunlock and turn on/off screen
Change-Id: I52f2433945e7eb9e6bb7d2cae7f2ed91f596642b
2023-10-26 07:32:49 +00:00
Jason Chang
92ad46411c Merge "Fix udfps lottie animation UI wrong place for [CM4/KM4/TK4]" into main 2023-09-21 08:31:55 +00:00
Jason Chang
310f567294 Fix udfps lottie animation UI wrong place for [CM4/KM4/TK4]
Customize overlay package for udfps lottie animation
translate position.

Bug: 298129460
Bug: 295111494
Bug: 301214913
Bug: 298204286

Test: manully test with reproducible steps:
1. Flash the device.
2. Set fingerprint in SUW
3. Observe behavior.

Change-Id: I0016a7985e5e33347e1aa33f41ad6b89ef035edf
2023-09-21 06:43:38 +00:00
Willy Hu
6051ce5647 Apply new IA requirement
See b/227579876, for P23 and later, we can send null initial attach data profile to modem to clear any previoud data profiles.

Bug: 301351255
Change-Id: I7e9602ec29e4f7091d2290144bdef052266e1a31
Test: Build passed
2023-09-21 02:43:26 +00:00
Kimi Hsu
1b84ff30c0 Merge "Update rounded corner, cutout and display shape configs" into main 2023-09-15 03:29:55 +00:00
Kimi Hsu
d07db42525 Update rounded corner, cutout and display shape configs
Bug: 286064534
Test: make
Change-Id: I9f5ab37ed9b849fd8b340ca72623795b8dd32f04
2023-09-15 02:32:59 +00:00
George Chang
a910f0d5f9 [NFC] Update customize settings
Remove legacy eSE1 HIDL settings
Add SKU IDs for secure NFC
Update default libnfc-nci settings
Enable STNFC_REMOTE_FIELD_TIMER

Bug: 287710897
Bug: 287568687
Test: manual
Change-Id: I97db76f97d1e345aeb65655e2d09b201c66c8429
2023-09-12 07:48:20 +00:00
gilliu
568d65756d display: tk4b: add display config settings
1. Add SystemUI config.xml.
2. Update the core config.xml.

Bug: 286064452
Bug: 286064567
Bug: 286064815

Test: Dump panel to check AOD state and dump display to check system
setting.

Change-Id: Iec431212a6130b1ca52621b13d9c03c5ca13aa2d
2023-09-05 09:30:51 +00:00
Robin Peng
b5194d9b24 Migrate caimito devices into caimito folder from sha 31a6eb4c2ffbc
Bug: 291867277
Change-Id: Ia7d34e6ab34bdd03406391f98c58b04eb77671cd
2023-08-16 10:26:07 +00:00