Commit graph

55 commits

Author SHA1 Message Date
Kimi Hsu
f0b1a6946c Update camera cutout and cutout protection
Bug: 296322078
Test: Setup faceunlock and turn on/off screen
Change-Id: I7f153b56314436c0dd7dc9fa424093a445066738
2023-09-22 04:20:08 +00:00
Evan Laird
043d8eac80 [Cutout] Move camera cutout protection path to match device config
Adjust the camera cutout protection path to have the same center as the
cutout defined in config_mainBuiltinDisplaycutout (540, 66.5).

Bug: 292585749
Test: manual
Change-Id: I40ca2ec3970f6f0177f0a7ed385c52ff2755aa36
2023-09-12 19:10:49 -04:00
Treehugger Robot
1d5ba1aa81 Merge "Disable Smooth Display by default" into udc-d1-dev am: 993cf212ad am: 6a1acfa292
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24592571

Change-Id: I50fa6978db46f9c4fedeee01a9c6bdc1cee5592b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-31 00:01:25 +00:00
Daniel Solomon
cc0c620b45 Disable Smooth Display by default
Set default peak refresh rate to 60Hz.

Bug: 298090782
Change-Id: Ib7ae8d4e13ae10316ee8693a496e866dcd574562
2023-08-29 23:04:58 +00:00
Treehugger Robot
3f055e69de Merge "Update ./DevInfo/Mod model name" into udc-d1-dev am: c37f2adbac am: c846ca457e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24351218

Change-Id: I288afd8782865a4bf218cbadb5f88ed2ec148037
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-22 04:01:31 +00:00
Treehugger Robot
c37f2adbac Merge "Update ./DevInfo/Mod model name" into udc-d1-dev 2023-08-22 02:58:49 +00:00
Peter Lin
00cf3082aa Merge "display: remove blocking zone" into udc-d1-dev am: 2dd0acbb38 am: b4ac7d6e89
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/24401420

Change-Id: Iba5d39c0374fd3d44cc0cff1a03eda843324f631
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-18 09:28:32 +00:00
Peter Lin
2dd0acbb38 Merge "display: remove blocking zone" into udc-d1-dev 2023-08-18 08:52:46 +00:00
Beverly
46ef8938b7 Update lock icon padding (UDFPS padding) + burnIn offsets
Test: manual
Bug: 296268743
Fixes: 296268743
Change-Id: I4fea91f5b62859c0a1075a4237ffd2cf487c5668
2023-08-17 15:55:27 +00:00
Ed Lin
067314b753 Update ./DevInfo/Mod model name
Need to set model name to G1MNW/GKWS6

Bug: 294756539
Test: b/294756539#comment11 pass
Change-Id: I0ef0a6a48beccecdc51c0b08fb2390a0483520b8
2023-08-17 11:18:23 +00:00
Peter Lin
82a1fe6edd display: remove blocking zone
use display device config file instead of config.xml

Bug: 284787798
test: check the dumpsys display
Change-Id: I68a5f35e712f5aabc014322f33bcb2c1ef6daa6a
2023-08-14 10:41:18 +00:00
Jason Chang
13b66abe4c Adjust Power button light reveal position in line with the power
button.

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: Ie731ac922d4c5b21e2baccc3f144659cfaee8985
2023-08-09 10:24:24 +00:00
Kimi Hsu
4f9abcb5ac Merge "Fine tune the camera cutout" into udc-d1-dev 2023-07-21 08:26:27 +00:00
Kimi Hsu
4910ad6a63 Fine tune the camera cutout
Bug: 290057462
Test: make
Change-Id: I48dcccc997593f424c5607c33677cf6245e90c6a
2023-07-21 06:03:09 +00:00
Beverly
c8183915d8 Update lock-icon longpress time to 100ms
Test: manual
Fixes: 290198662
Bug: 290198662
Change-Id: Ibf17b42b93c03f536983beea1cf8b08909a89986
2023-07-14 17:56:59 +00:00
Peter Lin
7777e40183 display: update lowlight blocking zone
zone 2: Lock refresh rate at 120Hz when ≤ 10 lux

Bug: 284787798
test: check refresh rate
Change-Id: I96a21225665761cc6a47c521811500dce41d8387
2023-06-14 01:59:46 +00:00
Evan Laird
f90fd259f3 Revert "Revert "New corner specs for husky/shiba""
This reverts commit aa6ffea6c5.

Reason for revert: Fixing the issue that caused the revert

Added new assets (same for top/botom) for husky and shiba, as well as
tuned the holepunch cutout antialiasing curves based on the following
specs:

Husky:
- corner size 146.5px
- holepunch center coords: (672px, 75px)
- holepunch radius: 43.25px

Shiba:
- corner size 128px
- holepunch center coords: (540px, 68.5px)
- holepunch radius: 36.5px

Test: needs manual validation
Bug: 243693886

Change-Id: I0b951f6a06a5421fdd22a7d67290468946e3c50b
2023-06-08 12:47:21 +00:00
Piyush Mehrotra
aa6ffea6c5 Revert "New corner specs for husky/shiba"
This reverts commit 8e017de029.

Reason for revert: Broke build on udc-d1-dev branch. See b/286328787

Change-Id: I3b94e6ab51a7b771dc02ab8736fdb9228a64db49
2023-06-08 11:08:51 +00:00
Evan Laird
8e017de029 New corner specs for husky/shiba
Added new assets (same for top/botom) for husky and shiba, as well as
tuned the holepunch cutout antialiasing curves based on the following
specs:

Husky:
- corner size 146.5px
- holepunch center coords: (672px, 75px)
- holepunch radius: 43.25px

Shiba:
- corner size 128px
- holepunch center coords: (540px, 68.5px)
- holepunch radius: 36.5px

Test: needs manual validation
Bug: 243693886
Bug: 274595086
Change-Id: I8cd88ffa5d6aec087938ec436572f02a027eeea4
2023-06-07 21:40:58 +00:00
Treehugger Robot
d0dcfe458f Merge "Apply new IA requirement on P23 devices" into udc-d1-dev 2023-06-05 17:03:29 +00:00
Ling Ma
7cc3e13ddb Apply new IA requirement on P23 devices
See b/227579876, for P23 and later, we can send null initial attach data profile to modem to clear any previoud data profiles.

Bug: 278702856
Test: voice call + internet browsing + reporter verified
Test: daily test verified on both P22 and P23 by b/283239810 and confirmed by log
Test: daily test related to hot swapping SIM and phone call on Barbet
Change-Id: I4c30101980c641a2e39b0a0a586f20adec638c86
2023-06-05 16:59:54 +00:00
Bill Lin
03eedd0231 Merge "Update display shape config for FHD+ display" into udc-d1-dev 2023-05-29 10:05:32 +00:00
Suprabh Shukla
ffd1f43786 Update Sound_trigger interrupt mapping
Test: Manually verify the output of `dumpsys batterystats --wakeups`

Bug: 284405919
Change-Id: Id0f98388ead4cb7d50a08b9c047e51784f34acc5
2023-05-26 20:14:23 +00:00
lbill
b296cf0de4 Update display shape config for FHD+ display
Display resolution : 2400x1080
Density : 420

Test: Build and flash
Bug: 275288471
Change-Id: I4de699dbc9243d04370db42c6054f54a26ddb1ae
2023-05-26 09:25:22 +00:00
Peter Lin
e0b027a14d add display high blocking zone
High blocking zone: 50k lux && normal brightness max(1000 nits) lock at 120 Hz

Bug:282254151
test: check refresh rate in high zone
Change-Id: Ib3308eddf240a93cccc64d2aa5d3174ba7f51c35
2023-05-16 03:44:54 +00:00
Suprabh Shukla
9897a96f19 Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I1e537775db73b56df36515427117df2e21483dc6
2023-05-10 23:12:33 +00:00
Suprabh Shukla
b41a804290 Add wakeup interrupt mappings for shusky
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I9708b79021c1e2a5fe066a8b66820ca28c899ea4
2023-05-03 22:12:50 +00:00
George
2fd48aa99e Update NFC customize settings
Add antenna position info for the new NFC API
Update default routing settings and remove legacy settings

Bug: 278829073
Test: manual
Change-Id: Ice6dc1ffce1c9adebf03ccbe8c3d50eb07022186
2023-04-19 13:04:10 +00:00
linpeter
bf6e5ec87a Update Doze brightness mapping
Bug: 276343567
Test: check doze brightness
Change-Id: I7aafe3ab317c203f0c125cae363da47f14f5d574
2023-04-13 16:18:00 +08:00
Beverly
f37c823742 Configure quickpickup gesture support
Test: manually builds
Fixes: 277161763
Change-Id: Id0f7a2a33ac9d1acbc6c6395e37357d84db79d6d
2023-04-10 14:11:04 +00:00
Jeremy DeHaan
b8badaac3d display: set default brightness
Bug: 243692588
Bug: 243696068
Bug: 276516206
Change-Id: I1c817e065e2963771edb12ff0b5b2dd8877fa133
2023-04-06 16:35:52 -07:00
Sianyi Huang
0c4b6e5500 Merge "Modify maxGamma value of short-term model" into udc-dev am: f178ab29cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22323943

Change-Id: Iaa3598471bcf97639ae704bbba56a1db29d60e9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 09:21:13 +00:00
Sianyi Huang
f178ab29cf Merge "Modify maxGamma value of short-term model" into udc-dev 2023-03-31 08:49:59 +00:00
linpeter
a6b783046d display: add lowlight blocking zone
zone 1: Lock refresh rate at 120Hz when ≤ 10 nits
zone 2: Lock refresh rate at 120Hz when ≤ 15 nits and ≤ 10 lux

Bug: 274713662
test: check refresh rate
Change-Id: Icbc04d216ef4ff28fff80792a7df9271f77ad760
2023-03-30 21:07:07 +08:00
SianyiHuang
7924d6ce8e Modify maxGamma value of short-term model
Bug: 265931912
Test: dump display log
Change-Id: Ib38c5cacfdf0414da78a454c2af72fb071de2f9c
2023-03-29 09:14:25 +08:00
TreeHugger Robot
8d310c132f Merge "Change the camera id to match the front camera ID" into udc-dev am: f16ad8aabf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22088129

Change-Id: I251b9899af525371e1f12024c5f199abb61a6748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 15:58:46 +00:00
Chandru S
4d61963d42 Change the camera id to match the front camera ID
Fixes: 270083570
Test: manually, flashed the new config and verified on a husky
Change-Id: I0be559c538e2b99c6279f0d8ae152b4ae1cd6afa
2023-03-15 02:20:17 +00:00
Jeremy DeHaan
f09b6f5736 Merge "display: remove default brightness settings" into udc-dev am: 453c81d817
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21778119

Change-Id: I198b8bd8d24078509138c2f4a27a6b8c442bbce0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 18:18:27 +00:00
Jeremy DeHaan
a82f85757e Merge "display: add AoD Brightness configuration" into udc-d1-dev 2023-03-04 00:38:01 +00:00
Jeremy DeHaan
0e642432c7 display: remove default brightness settings
Remove the default brightness settings. Default brightness is set in
displayconfig to allow for per-panel defaults.

Bug: 217472351
Change-Id: Iacf25347ebac26e5c3a3b17ea6962950418fe586
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-03 13:40:52 -08:00
Jeremy DeHaan
39db37a524 display: add AoD Brightness configuration
Bug: 243692590
Change-Id: I8ba3fa417898f88f29ffc4b80e56fbdd5ab995c9
Merged-In: I8ba3fa417898f88f29ffc4b80e56fbdd5ab995c9
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-03 09:18:37 -08:00
Jeremy DeHaan
a8cdd04610 display: update brightness defaults
Add new brightness defaults to match non-linear brightness curves.

Bug: 254529330
Change-Id: I5ba580bbe56684295e0d88d45cb99ecd15acda6b
Merged-In: I5ba580bbe56684295e0d88d45cb99ecd15acda6b
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-02 22:42:48 -08:00
Tai Kuo
ead756e8c5 Set audio haptic channel amplitude limit
Bug: 242964127
Test: dumpsys vibrator_manager
Change-Id: I91f36bfbfacf2ebabf774ccd08dcf0c48bc92612
2023-03-02 14:38:04 +08:00
TreeHugger Robot
2a7decd9b7 Merge "Add MMS UA, UAProf for P23(Husky and Shiba)" 2023-02-10 09:14:10 +00:00
timtmlin
3e36556423 Add MMS UA, UAProf for P23(Husky and Shiba)
Reference
go/husky-skus
go/shiba-skus

Bug: 263210691
Test: make
Change-Id: Ia4a01107fd7e90816290ffc0443ae1a07ed0b83c
2023-02-09 09:12:07 +00:00
George
148cd0c4df [NFC] Set tag_intent_app_pref_supported
Bug: 244272155
Test: atest android.permission.cts.NfcPermissionTest
Test: atest NfcFeatureFlagTest
Change-Id: Ic594cb9504a7351b194e58c5fb71779b2498179d
2023-02-01 18:08:57 +08:00
Sam Ou
9fe3d13155 Merge "power_profile: initialize shusky power_profile.xml" 2023-01-09 11:15:06 +00:00
davidycchen
7273ccd6e8 Add config_dozeUdfpsLongPressSensorType
Bug: 243078049
Bug: 243079260
Test: long press gesture is registered when UDFPS is enabled.

Change-Id: Iaf5553978cdb79a92a24b674f837ae694e187d48
Signed-off-by: davidycchen <davidycchen@google.com>
2023-01-09 11:50:28 +08:00
samou
2a6fc6389c power_profile: initialize shusky power_profile.xml
Bug: 263339765
Change-Id: Id546ed812b2c5b09d614838ab5935942f81a84f2
Signed-off-by: samou <samou@google.com>
2023-01-07 09:42:58 +00:00
George Chang
ddddecf66b Merge "Add NFC overlays" 2022-11-23 13:46:24 +00:00