Chris Göllner
5e2daa3db3
[Comet] Set status bar height to match specs and tweak cutout rect
...
The height specs of the status bar are 56dp when the camera is at the
top and 36dp when the camera is at the bottom.
To achieve this, we set the status bar height config to 36dp, which will
be used when the camera is at the bottom.
Then to achieve 56dp when the camera is at the top, we use the cutout
rect approximation, and make it 56dp in height. The height of the
status bar is adjusted to be at least as tall as the cutout rect.
+ Tweak the cutout rect, to make it be in the corner and intersect with
the top and right of the screen, which is needed for status bar inset
calculations. Before, it had a vertical offset, and was offscreen to
the right.
Now it is a rect that starts from the top right of the screen and goes
to 56dp in height and until the end of the camera in width.
Test: Manual
Fixes: 309773362
Change-Id: I9425364bab2e1413c02674cb2ae2c5be411f70c3
2023-11-15 14:06:53 +00:00
Wei Wang
68405e701d
Merge "comet: powerhint: update vendor_sched procfs paths" into main
2023-11-15 05:54:06 +00:00
Ted Wang
242cb038c1
Bluetooth: CT3 SAR table for Proto pre-DF
...
Bug: 311086416
Test: make
Change-Id: I153ced06d2780dc66c55e0afa772f4362ba884fb
2023-11-15 03:29:09 +00:00
guibing
63cf915ede
comet: powerhint: update vendor_sched procfs paths
...
Vendor sched procfs path hierarchy gets updated in kernel.
Update the paths in powerhint json file to match the change.
Bug: 289151587
Test: Manual check the paths in device
Change-Id: I2c1e79c62d7e9dcd29321983e3f2a4755e916fb0
2023-11-14 20:58:40 +00:00
Carter Hsu
9b426cd068
audio: cca to default off
...
Bug: 310485392
Test: build pass
Change-Id: Ifb2047950e0306a748f77ba83e04de2be39d1664
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-13 16:11:03 +08:00
Carter Hsu
8e1a722e62
Merge "audio: enable CCA HAL module" into main
2023-11-13 07:34:04 +00:00
Carter Hsu
6792866f8c
audio: enable CCA HAL module
...
Bug: 310485392
Test: build pass
Change-Id: I561dbaa8424da0017e2e4aa6e46c42cc3c6799f2
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-11-13 00:41:43 +00:00
Yunfan Chen
4dc015fee8
Comet: decouple status bar and cutout from config
...
Override the config value for the comet device to make it happen.
Bug: 291870756
Test: m
Test: override the feature flag and observe
Change-Id: I887faf95391aaac268550e693bd1c38a5d290f68
2023-11-10 17:54:50 +09:00
Treehugger Robot
82d0c1cc9f
Merge "bt: update BT HAL configuration file for CT3" into main
2023-11-10 08:07:06 +00:00
Treehugger Robot
daf0aa8a8b
Merge "update darkening light debounce to 2s" into main
2023-11-09 04:59:08 +00:00
Robert Lee
aa713e43d0
audio: disable 96k playback
...
Bug: 307247694
Test: builds
Change-Id: I703cb23e7ea94e148bf86316e59cddbb0c8e5079
Signed-off-by: Robert Lee <lerobert@google.com>
2023-11-08 14:59:35 +08:00
Derick Hong
9092e56682
Merge "Comet: change display density to 360" into main
2023-11-08 05:29:40 +00:00
Ted Wang
6538c4fa28
bt: update BT HAL configuration file for CT3
...
Bug: 309721598
Test: make
Change-Id: Ia6ef29d3ba5b5a5348dc35caef87f660d7193bc2
2023-11-08 05:27:38 +00:00
derickhong
693717cbbb
Comet: change display density to 360
...
Bug: 284857612
Test: adb shell getprop ro.sf.lcd_density
Change-Id: Ida0a97f3d987ef025b4ee2b7f9827ff5c9e0a0ed
2023-11-08 10:38:21 +08:00
Roshan Pius
8f086f9019
Merge "Revert "comet(nfc): Modify NFC overlays for NFC apex"" into main
2023-11-06 14:31:02 +00:00
Roshan Pius
eb7d5f38cc
Merge "Revert "comet: Replace NFC app with NFC apex"" into main
2023-11-06 14:31:02 +00:00
Roshan Pius
fffed73cbe
Revert "comet(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: I36d4ce1897b400644fd06b7a20112d5bbc374238
Test: Compiles, device boots up
2023-11-04 19:01:10 +00:00
Roshan Pius
838f3ff3f2
Revert "comet: Replace NFC app with NFC apex"
...
Revert submission 24993894-cherrypicker-L80100000963393177:N49200001411943056
Reason for revert: Causing bootloop with signed builds
Reverted changes: /q/submissionid:24993894-cherrypicker-L80100000963393177:N49200001411943056
Bug: 309117462
Change-Id: I32ef277c8b37f7258a07340a06dbf5a73b5f947a
Test: Compiles, device boots up
2023-11-04 14:59:13 +00:00
Hasan Awais
ac6c949c85
uwb: update uwb calibration
...
Bug: 308683676
Change-Id: Iff0880ad224d95ccf5d167e04d83e178e9c59be7
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-11-02 21:07:18 +00:00
Peter Lin
3f85fc50a2
update darkening light debounce to 2s
...
Bug: 298742079
test: check dumpsys display
Change-Id: Icae83917aefa6b52faac54b72d8af30d80de0660
2023-11-02 02:31:24 +00:00
Treehugger Robot
fcdb6f3a52
Merge "Enable NFC firmware logging" into main
2023-11-01 13:39:04 +00:00
Jack Yu
814a752148
Enable NFC firmware logging
...
Enable NFC firmware logging by default for better debuggability.
Bug: 307999188
Test: manual
Change-Id: I996fcd2ad13718341ea817bff302690f8d77ff15
2023-10-31 12:08:26 +00:00
Darren Hsu
b50e598270
powerstats: update display state residency configs
...
Bug: 291861112
Test: vts-tradefed run vts -m VtsHalPowerStatsTargetTest
Change-Id: I242666ccdd116891ebf34671afb67d1f504ee79e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-10-31 16:52:50 +08:00
Wayne Lin
d11bf74374
Merge "gps: refine gps build system" into main
2023-10-31 05:35:19 +00:00
YoonKyung Kim
8122072d1e
Merge "Delete Comet media_profiles from device/google" into main
2023-10-31 05:17:16 +00:00
Weizhung Ding
ea55918cca
Merge "display: enable smooth display" into main
2023-10-31 02:26:47 +00:00
Shin-Yu Wang
d6dc1e3e0c
Merge "Update Doze brightness mapping" into main
2023-10-30 04:49:19 +00:00
Weizhung Ding
752f81e6b6
display: enable smooth display
...
Bug: 284856707
Test: build and check smooth display is enable
Change-Id: Icfdeb1d88f643f6c31127d2fa5ed1dd924b0c1ed
2023-10-30 03:42:16 +00:00
Will Song
6dea0185b9
PREUPLOAD: Enforce jsonlint in preupload
...
Checks syntax and simple brace balances for all JSON files.
Test: Edit any json file and try upload
Bug: 127794899
Change-Id: Iebacfabc26a9ef4e3b31875ca46ff3537d7c4c3a
2023-10-29 02:13:23 +00:00
Treehugger Robot
22f016683a
Merge "uwb: move calibrations to device specific folder" into main
2023-10-27 17:55:32 +00:00
Hasan Awais
287b73f251
uwb: move calibrations to device specific folder
...
The UWB calibration files were previously copied from the Qorvo
area. They are now copied from the device specific folder.
Bug: 307692986
Change-Id: I18e38abb7ee6e1e44f967f755b22bd3db50720e6
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-10-27 16:57:36 +00:00
Wayne Lin
3087d9a54b
gps: refine gps build system
...
- remove override directive
- separate gps configuration files for each device
Bug: 291186485
Test: build pass and configuration files are correct
Change-Id: I907d5e04c267753ce25e5de5f5080536df7e7041
2023-10-27 22:23:11 +08:00
yoonkyungkim
e753e81922
Delete Comet media_profiles from device/google
...
media_profile contain potentially sensitive data.
These files should not be located in device/google, since this folder
history is visible in AOSP.
Test: build success(source build/envsetup.sh && lunch comet-trunk_staging-userdebug && m)
Bug: 305170657
Change-Id: Ic8fe4d439a74bc88f537dcb047b5b8d10fae355a
2023-10-27 13:48:14 +00:00
Treehugger Robot
29c51e3c90
Merge "comet: Enable Lbe" into main
2023-10-27 08:31:47 +00:00
Treehugger Robot
c976b63230
Merge "comet(nfc): Modify NFC overlays for NFC apex" into main
2023-10-27 03:38:12 +00:00
Derick Hong
a58a6e0c3d
Merge "display: Add CT3 outer display color data" into main
2023-10-27 02:14:58 +00:00
Roshan Pius
22df671c5d
comet(nfc): Modify NFC overlays for NFC apex
...
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: Ie18d902c949b1307547eb7fdcfd93213ab8c0561
2023-10-26 10:00:14 -07:00
Shin-Yu Wang
31d6680e27
Update Doze brightness mapping
...
Bug: 284857992
Test: check lp_state in different lux
Change-Id: I67f6c5477673074ca5336a42cc3886dbde6b8b29
2023-10-26 05:57:48 +00:00
Kimi Hsu
5636fedb09
Merge "Update camera cutout and rounded rect" into main
2023-10-26 01:53:21 +00:00
Greg Kaiser
2b02ead5f0
Fix lunch choices for git_main
...
We add "trunk_staging-" for all COMMON_LUNCH_CHOICES so they are
valid in the trunk stable setup.
Bug: 307738446
Test: lunch
Change-Id: I66b82de3050ae5758f8092b037f78f259f185914
2023-10-25 14:53:09 -06:00
derickhong
0374543ea8
display: Add CT3 outer display color data
...
Bug: 284857637
Test: manual
Change-Id: Ie14fb65a9d833683a487e5b10171fc8e06cfb58a
2023-10-25 17:52:03 +08:00
Kimi Hsu
69f64976b0
Update camera cutout and rounded rect
...
Bug: 305866773
Test: Make
Change-Id: I4ca1fd7ade7768de9fc68f66fe725c1dcd793dcd
2023-10-25 09:32:17 +00:00
Shin-Yu Wang
7261a09a29
Merge "Add non-linear brightness table" into main
2023-10-25 09:06:51 +00:00
Hasan Awais
12f03846b5
Merge "uwb: enable DCK WCC and SE flags" into main
2023-10-25 00:30:20 +00:00
Hasan Awais
8f1542d57c
uwb: enable DCK WCC and SE flags
...
Bug: 304349091
Change-Id: I10507d7f496438f9d6491e377120192f3627179e
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-10-24 22:44:25 +00:00
Treehugger Robot
a2a019a1ee
Merge "bluenote: update recording tuning" into main
2023-10-24 06:56:09 +00:00
juyuchen
01f76b9033
bluenote: update recording tuning
...
Bug: 305705597
Test: see the bug
Change-Id: I06212b17ce10feed1e994fbddb1a3960d732cbd4
Signed-off-by: juyuchen <juyuchen@google.com>
2023-10-24 10:43:14 +08:00
Treehugger Robot
a014d6ab29
Merge "Update IDisplay to V10" into main
2023-10-24 02:40:50 +00:00
Shin-Yu Wang
8ec7483b3e
Add non-linear brightness table
...
Bug: 284858174
Test: log shows correct message
Change-Id: I8718e0fb121e5b7ed2bdd4c52ada90a7e7857b16
2023-10-24 02:32:01 +00:00
Isaac Chiou
18a8d0a30e
Merge "Wifi: Set config_wifiSoftap6ghzSupported to TRUE" into main
2023-10-23 06:00:30 +00:00