Commit Graph

244 Commits

Author SHA1 Message Date
Bruno Martins
5ba456d472 redfin: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-06-24 03:40:06 +03:00
Michael Bestas
43e724cf79 Merge tag 'android-14.0.0_r50' into staging/lineage-21_merge-android-14.0.0_r50
Android 14.0.0 Release 50 (AP2A.240605.024)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZmdzmwAKCRDorT+BmrEO
# eG5uAKCL+Ofwfd9rjZ1hkYP2KI6IAvebqgCfexP3EEOteKZZD6iW1uOyyyXEOOg=
# =BSli
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jun 11 00:43:55 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2549 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Brad Lassey (1) and Kuen-Han Tsai (1)
# Via Automerger Merge Worker (7) and others
* tag 'android-14.0.0_r50':
  Enabling Observe mode
  Usb.cpp: Fix typos when unable to disable USB data

Change-Id: I268b1414018947b7671f459878baecd779e35b84
2024-06-15 22:46:28 +03:00
Michael Bestas
1df01c1fdd Merge tag 'android-14.0.0_r29' into staging/lineage-21_merge-android-14.0.0_r29
Android 14.0.0 release 29

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZeZWwgAKCRDorT+BmrEO
# eNE9AJ436si4iGfuXraq4i9WmLWWNa6Q4gCgjhDz+mf+NpY25sntQxSTVhlr4+o=
# =0XyA
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar  5 01:18:26 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2395 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Roshan Pius (5) and others
# Via Automerger Merge Worker (97) and others
* tag 'android-14.0.0_r29':
  Revert^2 "redfin(nfc): Modify NFC overlays for NFC apex"
  Revert^2 "redfin(nfc): Modify NFC overlays for NFC apex"
  Remove unused Android.mk under device/google/redfin
  WLC: update AIDL manifest version to 1-2
  Revert "WLC: update AIDL manifest version to 2"
  WLC: update AIDL manifest version to 2
  Revert "redfin(nfc): Modify NFC overlays for NFC apex"
  Revert "redfin(nfc): Modify NFC overlays for NFC apex"
  Fix lunch choices for git_main
  Fix lunch choices for git_main
  redfin(nfc): Modify NFC overlays for NFC apex
  Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
  usb: upgrade stats AIDL to v2
  device FCM -= android.*
  Add hardware/qcom/wlan namespace

 Conflicts:
	AndroidProducts.mk
	redfin/BoardConfig.mk

Change-Id: Ie3cf1f67798757f4d6316141b6baf69e4b86ebb2
2024-03-10 09:52:12 +02:00
Brad Lassey
d305a9d37d Enabling Observe mode
Bug: 327601464
Test: Tested on local device
Change-Id: I0b45c28183e3ba3225eb925cf3fd2110a14c1b2b
2024-02-29 20:08:09 +00:00
Roshan Pius
0bb31c7af7 Revert^2 "redfin(nfc): Modify NFC overlays for NFC apex"
3c2aa5f3a2

Bug: 303286040
Test: Compiles

Change-Id: Ic565eeda1ec928e59be8a3a2c406ab799ef879a0
2023-12-04 13:52:10 -08:00
Roshan Pius
3c2aa5f3a2 Revert "redfin(nfc): Modify NFC overlays for NFC apex"
Revert submission 2802548-nfc_apex

Reason for revert: Causing bootloop with signed builds

Reverted changes: /q/submissionid:2802548-nfc_apex

Bug: 309117462
Test: Compiles, device boots up
(cherry picked from https://android-review.googlesource.com/q/commit:af4a9967146824b1194f536ddb417b5f783806d7)
Merged-In: Icb67edebd8c0579cd015fe8a8956ae45426002ae
Change-Id: Icb67edebd8c0579cd015fe8a8956ae45426002ae
2023-11-04 19:05:11 +00:00
Roshan Pius
808887442b redfin(nfc): Modify NFC overlays for NFC apex am: e3ab1a70e6
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/2802546

Change-Id: I13469cad8012080a78db719ffd1a4d3f8385d75f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-26 14:33:56 +00:00
Roshan Pius
e3ab1a70e6 redfin(nfc): Modify NFC overlays for NFC apex
Bug: 307763519
Test: Manual flash and tested the overlay values are taking effect.
Change-Id: I8c995bcd3d0dd18ce6531f627d785f18abc81150
2023-10-25 14:15:36 -07:00
Michael Bestas
4eff3e5d0f Convert HbmSVManager overlays to RRO
Auto generated RRO is not working here because we don't actually have
access to vendor/google_devices/sunfish/proprietary/display/HbmSVManager

Change-Id: I54d885c233151498372e1b510284d6a297ac3e94
2023-10-18 00:39:42 +03:00
Danny Lin
b60f0caf76 redfin: Enable refresh rate toggle in Settings
This device supports switching between 60 and 90 Hz refresh rates, so
expose it in Settings -> Display -> Smooth Display for users to save
battery if necessary.

Test: visual confirmation after toggling several times
Change-Id: Ie698ec4d4e738afd2a9055dba2369233103a4f13
2023-10-18 00:39:42 +03:00
razorloves
85860d1817 redfin: Remove aosp's 'show battery percentage' setting
This setting does nothing in lineage so let's not show it.
Lineage has it's own implementation for this setting in LineageParts.

Change-Id: I200d76c9b80ff62b21d8b5b659c238d9438bf05e
2023-10-18 00:39:42 +03:00
Rashed Abdel-Tawab
1b330af89b redfin: Initial Lineage bringup
Change-Id: Ieddd0460eeb223512b5d3ce9504f6a654d44c0d9
2023-10-10 16:08:00 +03:00
Cole Faust
a219f1e783 Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Redfin has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: Id3dbfd1f7e25d346d5cd31ad04f3d8973889e472
2023-10-03 22:53:36 +00:00
Richard Chang
e86bdd7e97 redfin: remove customizedMaxCachedProcesses
With project Snowbird in U, the MaxCachedProcesses is 1024 by default

Bug: 278086134
Test: Build
Change-Id: I02432c6eb101da03bf2ea496c61d297e5a122769
2023-05-15 02:59:54 +00:00
Steven Moreland
d07d4f3622 Explicit init .rc user. am: 356e606d07 am: 1999b32c49 am: b67c7076ea
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/2528118

Change-Id: I61dcd65071b0098aa20122af32247cbf7a4b170b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-12 03:16:11 +00:00
Steven Moreland
356e606d07 Explicit init .rc user.
Set the user explicitly.

Bug: 276813155
Test: boot
Change-Id: I2d13eaa6862d9d6cb98e0ff13757fd58a9d12852
2023-04-10 20:44:34 +00:00
George Chang
eaad44d7dc [NFC] Add antenna position coordinates
Bug: 272406680
Test: manual
Change-Id: Ic1b0573d51cf56bfd10147efc2b9713aec258116
2023-03-09 06:30:17 +00:00
George
91aefea853 [NFC] Set tag_intent_app_pref_supported
Bug: 244272155
Test: atest android.permission.cts.NfcPermissionTest
Test: atest NfcFeatureFlagTest
Change-Id: Icaa8caacc4a351016b75eb09dd0926e2e385dd60
2023-02-01 17:50:31 +08:00
Shawn Lin
36ddc25834 Add display shape config for redfin
Bug: 236935288
Test: make
Change-Id: I91931152332699d1c3b1db0af8bdc6ada404c6e7
2022-10-05 12:44:00 +08:00
Tomasz Wasilczyk
9a9626d72b Allow including car boards from outside google_car
Bug: 224902566
Test: Build redfin_car
Change-Id: I0577f0a11fea2773195416e63db1be6e0430ecc9
2022-06-16 21:35:31 +00:00
Jason Chang
310a4fbde8 Merge "Phase out config_roundedCornerMultipleRadius from overlay package [R3]" into tm-dev 2022-04-21 06:17:49 +00:00
Jason Chang
79ae868e7a Phase out config_roundedCornerMultipleRadius from overlay package [R3]
Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I488d718310b0611ee0f5e19c7057d1c94110ccd6
2022-04-16 20:38:49 +08:00
shawnlin
42fa519acc [automerge] Update status bar height res to correct size 2p: 9270472b39 am: 5e018d3c95
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/17686310

Change-Id: Id8449200f401df133f2aa9650493bd6f450200e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 02:35:46 +00:00
shawnlin
5e018d3c95 [automerge] Update status bar height res to correct size 2p: 9270472b39
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/17686310

Bug: 216782082
Change-Id: I94c91d43e06dc75242196042c8953d0e31ca3302
2022-04-11 06:02:19 +00:00
shawnlin
9270472b39 Update status bar height res to correct size
Test: make
Bug: 216782082
Change-Id: I2f27dbe734c7c0d815d45f4f10db74589ad4539e
2022-04-11 11:53:47 +08:00
shawnlin
2bc2fb8a31 Fixed status bar glitch for apps that access internal resource dimen am: 01eeecb131 am: cec1ee54e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/17527089

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

Change-Id: I58aa0ae7eb5dad989a9c6b5f92e91ba90bb8e8ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 13:59:34 +00:00
shawnlin
01eeecb131 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: I44a5722d3dccf9c47916eb636def6a505eea480f
2022-04-01 11:56:09 +08:00
Yohei Yukawa
e86cb214ef Migrate "rounded_corner_content_padding" for redfin
This CL updates resource overlay of

  rounded_corner_content_padding

for redfin 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: I53fcc176154041aed637fa121231ac3c4ab788ad
2022-01-28 12:05:18 -08:00
Sasha Smundak
d8e89fc48f Replace TARGET_BOOTLOADER_BOARD_NAME with the value. am: 02944860b7 am: 3ca7639031 am: fd2fc5f737
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1931340

Change-Id: I777262d49389528c9abe040dc069fb0c10a7c3f3
2021-12-22 08:15:40 +00:00
Sasha Smundak
02944860b7 Replace TARGET_BOOTLOADER_BOARD_NAME with the value.
Bug: 203582721
Test: treehugger
Change-Id: I37a8e621c2e06e41e29076b1671e525b53810bde
2021-12-21 15:31:51 -08:00
Sasha Smundak
8f2a33fbbc Replace PHONE_CAR_BOARD_CONFIG with more specific PHONE_CAR_BOARD_PRODUCT am: bc4d8174e3 am: dd141c62ce am: 9ac0366f6d
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1910094

Change-Id: I9c1f546627a5321b980b0e9dcf829f976ac042f1
2021-12-07 22:32:07 +00:00
Sasha Smundak
dd141c62ce Replace PHONE_CAR_BOARD_CONFIG with more specific PHONE_CAR_BOARD_PRODUCT am: bc4d8174e3
Original change: https://android-review.googlesource.com/c/device/google/redfin/+/1910094

Change-Id: I57cf9a80e074b8b9603d38396d111b372fae9737
2021-12-07 21:51:52 +00:00
Sasha Smundak
bc4d8174e3 Replace PHONE_CAR_BOARD_CONFIG with more specific PHONE_CAR_BOARD_PRODUCT
The statement
```
include $(PHONE_CAR_BOARD_CONFIG)
```
is difficult to translate to the Starlark configuration file. Fortunately,
all the potential values of this variable have have similar structure, so
```
PHONE_CAR_BOARD_CONFIG := device/google_car/foo/BoardConfig.mk
....
include $(PHONE_CARD_BOARD_CONFIG)
```
can be changed to
```
PHONE_CAR_BOARD_PRODUCT := foo
....
include device/google_car/$(PHONE_CAR_BOARD_PRODUCT)/BoardConfig.mk
```

Bug: 190051051
Test: treehugger
Change-Id: Icf47e7ca0bf01d6b3ee6d86e144460a41a277939
2021-12-03 10:59:15 -08:00
shawnlin
3ec6c7a272 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: I21134a31f401f056a786dc03d82ecdb648cf639a
2021-10-15 05:45:35 +00:00
Beverly
27d83d1677 Directly register for prox as the secondary sensor am: 61c6e46c20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/15716621

Change-Id: Iaa8e413170a14cb2668a03d1ffb4232639b4a811
2021-09-15 11:34:12 +00:00
Beverly
61c6e46c20 Directly register for prox as the secondary sensor
Instead of binned brightness.
The new binned brightness sensor doesn't report prox, so
we won't see the white dot when we're in AOD2 (ie: docked, pulsing
notification).

Test: manual
Bug: 194151347
Change-Id: I2c7547334889dbda462a075d62504c9e745b118a
2021-08-31 11:52:03 -04:00
jonerlin
2ad2bc8e89 power_profile: add bluetooth power data am: b17fe9e3db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/15479878

Change-Id: I9b2091b68f50af8e3e2e3f7243cb310a98872ea2
2021-08-06 13:09:09 +00:00
jonerlin
b17fe9e3db power_profile: add bluetooth power data
Bug: 195720809
Test: Manual
Change-Id: Ibfdbc1279887b0a7e75bdffd27e2eb5b4b778f7e
2021-08-06 17:31:02 +08:00
Chiawei Wang
62e53869aa Add the customized max cached processes number for R3
Bug: 190531672
Test: make
Test: dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Change-Id: I4e77ac448fbabf278d447846f665c17b014b9688
2021-07-22 15:58:32 +00:00
Fabian Kozynski
58d10464bd Merge "Reduce quick_qs_offset_height" into sc-dev am: cc9630af3a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/15189031

Change-Id: I7e12869fd8143da4ec1beea3fac1c6984ed495c9
2021-07-03 13:36:44 +00:00
Fabian Kozynski
1d8ea59d65 Reduce quick_qs_offset_height
This doesn't need to be tied down to status bar height. This way, we
have the minimum for tappable items but prevent scrolling on default
size portrait with media.

Test: manual
Fixes: 189982925
Change-Id: I358696f4140791f84285f97735e1072deb48cdb9
2021-07-02 12:21:52 -04:00
Bill Lin
21d9bdf3b5 Customize adjustment for window rounded corner am: bfdafe2056
Original change: https://googleplex-android-review.googlesource.com/c/device/google/redfin/+/14895636

Change-Id: I9c6373dbd152f5d5099f8ec9af7cc4f3557dc735
2021-06-08 18:28:24 +00:00
Bill Lin
bfdafe2056 Customize adjustment for window rounded corner
Barbet rounded corner radius: 108px
8% Adjustment radius : 8px

Test: make and flash
Test: Trigger quick switch and observe window rounded corner
Bug: 190139030
Change-Id: Ie6b90293e75049d887a663fd3418abbc738cb223
2021-06-08 19:20:38 +08:00
Beth Thibodeau
893efb2c33 [DO NOT MERGE] Overlay value to show global actions change info
Bug: 183032541
Test: compiles
Change-Id: Iad1d0e4343600f1b901b3ef630f8df522e6b28b7
2021-05-26 22:35:47 -04:00
Chris Fries
00ce4bf0aa power_profile.xml: Fix typo "volatage"
Bug: 135906639
Change-Id: Ib3353aaa96b0c1c268e89af7258e65ada855cc07
2021-05-06 09:38:32 -05:00
shawnlin
f4ac3c1aab Move no cutout overlay packages to frameworks/base
Bug: 186177228
Test: make
Change-Id: I357fb467609b7ec9122863f69c0b65e9847d439c
2021-04-23 15:30:40 +08:00
Bob Badour
6ebdb28192 [LSC] Add LOCAL_LICENSE_KINDS to device/google/redfin
Added SPDX-license-identifier-Apache-2.0 to:
  redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/Android.bp
  vibrator/drv2624/bench/Android.bp
  vibrator/drv2624/tests/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I24055ae29f363a931851fb47abeaf6e0ea880e8a
2021-04-21 14:54:21 -07:00
shawnlin
f7c3b5a92f Add the original style of hide cutout back(redfine)
- Add the orginal style of hide cutout back
- Rename the new style of hide cutout to "Hide (avoid apps in cutout
  region)"

Bug: 180068688
Test: make
Change-Id: I2fbef5ddd0201ade8a282cc499d4d90b39d9c9b9
2021-04-12 13:41:47 +08:00
Daniel Norman
f98ea3001c Uses Android.bp vintf_compatibility_matrix for redfin product FCM.
This change also includes the following FCM cleanups:
- Adds level="6", specifying that this product FCM is compatible with an
  S vendor image. This is similar to the framework FCM.
- Marks the HAL as required. This is possible now that the redfin_vf
  target includes an additional product FCM specific to level="5" (R).

Bug: 183507590
Test: m redfin
Test: m redfin_vf, merge with R vendor half
Change-Id: I1b9bbd9b4a723d2479023d1025ef22905e1bc9a1
2021-04-06 09:44:42 -07:00