135 Commits

Author SHA1 Message Date
Pranav Vashi
b520e3ed96 wahoo: Add Moto Dolby support
Change-Id: I11e837a91e12bc52b102717d0c2f4cf62081b5f7

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-07-08 16:33:08 +08:00
x0x00044
f2a5ca22ad wahoo: overlay: Remove config_cellBroadcastAppLinks
- This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-07-08 16:29:13 +08:00
Asriadi Rahim
c0eaa8d982 wahoo: Pin SystemUIGoogle instead SystemUI
* Evox use vendor_pixel_framework

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:54:16 +08:00
Tommaso Fonda
4f6aa16c04 wahoo: Ignore IWlan status in the mobile icon pipeline
Some legacy devices such as mata and cheryl lack an IWlan stack. These
devices can set this overlay to true in order not to incorrectly display
a permanent exclamation mark over the mobile network signal icon.

Change-Id: Ife02d90706990bf28c156c9850ef0773802bc5b0
2024-06-08 22:14:05 +08:00
Asriadi Rahim
44b4f1a682 wahoo: Drop EUICC support
* Temporary drop until we have a good solution

Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
2024-06-08 22:10:49 +08:00
Michael Bestas
8b4f58d2eb wahoo: overlay: Update multiple vibration strength levels overlay for 13
Change-Id: If17503f2dd4bd4d6e333891f9649a7db8d809852
2024-06-08 22:08:34 +08:00
Georg Veichtlbauer
b98b3c73d4 wahoo: Drop config_setColorTransformAccelerated
It's now enabled by default

Change-Id: I57f059c872fc2ad2fd15e788b1391eeebaff9bde
2024-06-08 22:05:50 +08:00
Santiago Seifert
3f206007a1 wahoo: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2024-06-08 22:05:13 +08:00
eorg Veichtlbauer
d909f03d00 wahoo: Move Bluetooth power config away from overlay
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack

Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2024-06-08 22:04:32 +08:00
Remi NGUYEN VAN
e8a4091570 wahoo: Add connectivity overlay
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.

(clean cherry-pick from downstream branch)

Bug: 185850634
Test: m
Merged-In: I2789e88adbfb912f18017bae3d37696057a4afa5
Change-Id: I86f3ea2b486aa4a47c5a5c123571d9276a4d3095
2024-06-08 22:00:45 +08:00
Nicolas Geoffray
5e4a204833 wahoo: Remove odex/oat files from pinner list
The pinner now asks the runtime for these files.

Test: adb shell dumpsys pinner
Bug: 144773394
Change-Id: Ifead4354d29b3ce658b2f5771b778a050b0579b5
Merged-In: I6627afc390f8dcacc197680dcc4917e2ac5bc090
2024-06-08 21:57:08 +08:00
Kevin Jeon
d6f0e57483 wahoo: Update SurfaceFlinger pin
This change replaces the '/system/lib64/libsurfaceflinger.so' pin, as
the file was removed in ag/12524602. The updated pin relies on
go/aog/1552085, as system_service needs read access to SurfaceFlinger.

Bug: 176197656
Test: adb shell dumpsys pinner (coral)
      - shows that /system/bin/surfaceflinger is successfully pinned
      adb logcat | grep PinnerService (coral)
      - no longer shows a file-not-found error in PinnerService
Change-Id: Iae2a96c5fe4b1f5698d21de9970140321d11c460
2024-06-08 21:56:09 +08:00
razorloves
5129999687 wahoo: Use CarrierSettings app instead of CarrierConfig
The CarrierSettings app enables/disables carrier apps based on sim
inserted, so use it instead of CarrierConfig.

Change-Id: I163dd615e9d8268c5f94a28ae234a30f74c7e83b
2024-06-08 21:54:12 +08:00
razorloves
892f8b1284 wahoo: Hide user facing crash dialog for EUICC app
The GoogleParts app disables the EUICC app when there's no GMS, but it
doesn't happen quick enough. The crash dialog pops up a few times right
after initial boot up. There's no need to alarm the user, so hide it.

Change-Id: Ia06b336b30a8886bae522c6e8a76a1ca15da5edd
2024-06-08 21:52:06 +08:00
Danny Lin
8018eea76e wahoo: Define embedded eUICC slot
Extracted from the RP1A.200720.009 stock ROM.

Change-Id: I88a9b5605914369f2c262dec53571dd638504cfb
2024-06-08 21:52:06 +08:00
Dan Pasanen
6ba31eb282 wahoo: Enable config_vibrateOnIconAnimation
* Need those sexy vibes.

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-06-08 21:49:48 +08:00
Michael Bestas
57015de896 wahoo: Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2024-06-08 21:49:48 +08:00
Danny Lin
6c7ebd7021 wahoo: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-06-08 21:49:48 +08:00
Michael Bestas
99d84a8e19 wahoo: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-06-08 21:49:48 +08:00
razorloves
734d9a2d03 wahoo: Allow 3rd party apps to use fingerprint gestures
* Also, this is set to true in pixel stock roms.

Change-Id: I7f08c640452f169c3e403c7af20ca61e7e90ca5c
2024-06-08 21:48:54 +08:00
razorloves
1e610e3946 wahoo: Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2024-06-08 21:48:54 +08:00
Danny Lin
0ce8f0953a wahoo: Enable support for Bluetooth hearing aids
This device is fully capable of streaming audio to Bluetooth hearing
aids using the ASHA GATT protocol built on top of L2CAP, similar to
A2DP.

Enable the config option for the system to handle pairs of hearing aids
properly and expose the option in Settings.

More info at https://source.android.com/devices/bluetooth/asha

Test: user reported successful audio streaming
Change-Id: Ice82c48ce80626eb8beb5c51681072e213b73c39
2024-06-08 21:48:54 +08:00
Kevin Chyn
ce4530e2c8 wahoo: Add fingerprint configuration to overlay
The framework was changed in Android R to require explicit authenticator registration.
This change allows apps to continue to use the fingerprint sensor.

Bug: 147445115

Test: Builds
Change-Id: Id3385edc784b2053c8b54ec3153728f4e6e22a45
2024-06-08 21:48:22 +08:00
Danny Lin
7a2677a744 wahoo: Allow disabling camera laser sensor in developer options
Sometimes, being able to disable the camera laser sensor quickly is
useful for taking pictures of reflective objects without a purple dot
showing up in the picture, especially when precise upfront focus isn't
required. Enable the existing toggle in developer options to expose this
functionality.

Older versions of the stock ROM included this option, but it's been
removed since then.

Change-Id: I24fcde77536fffcdafda749bd02157c510ac9aa1
2024-06-08 21:48:22 +08:00
Danny Lin
d34eee33d2 wahoo: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the ~3.5 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save precious RAM on this
device.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2024-06-08 21:48:22 +08:00
Rick Yiu
d7e4e3d3ee wahoo: Sync pinner service configs from crosshatch
Bug: 130103428
Test: verified with dumpsys pinner
Change-Id: I8ffe5eee1d40a5ac6be2112621ccda4b4dd5be1a
2024-06-08 21:47:59 +08:00
Dave Mankoff
aa569810f0 New config value for specifying alternative prox sensor
Bug: 149420648
Test: n/a
Change-Id: I9cda34e99299393727da23b3f25779a7cce89a13
2020-02-25 16:30:23 +00:00
Nicolas Geoffray
aaea0921f4 Update in pinned files.
Remove or update paths that don't exist.

Bug: 119800099
Test: boots
Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-02-07 14:02:18 +00:00
Brad Ebinger
8662c4531e Add translatable="false" tags to ims package overlays
Bug: 147569830
Test: atest TeleServiceTests:PhoneGlobalsTest
Change-Id: I57d80bbf17fafdc87ba04c6e7f7ab9573482e395
2020-01-20 17:38:22 -08:00
Jimmy Chen
f1d8980df6 Merge "p2p: revise p2p tether interface regex pattern" 2020-01-15 11:08:29 +00:00
Jimmy Chen
3d10bcb0f5 p2p: revise p2p tether interface regex pattern
wahoo does not use separate interface for a group, it will share main
p2p0 interface.

Bug: 141382930
Test: run P2P with whaoo as GO
Change-Id: I061ed0ac66f8ae75c84d7683f66d4baffd3a3112
2020-01-15 09:16:29 +00:00
Brad Ebinger
69bb461825 Remove old configuration and use new config for MMTEL/RCS
Remove the old config_ims_package device config and configure the
new MMTEL and RCS configurations in Telephony instead. Also,
configure the RcsService to be the default RCS service.

Bug: 111305845
Test: make checkbuild
Change-Id: I0d709b8248f1c40f0a5b50ec799396706eeadd65
2019-12-16 17:15:13 -08:00
Roshan Pius
a52efd500e wahoo: Remove wifi related internal overlays
These are replaced by formal mainline module overlays.

Bug: 143464763
Test: Send for  Wifi regression tests
Change-Id: I45881ed210132252b9c5c7d6be03ed845e33f971
2019-11-01 06:03:26 -07:00
Jimmy Chen
88b8a65b4b p2p: add p2p regex for tethering modes
Bug: 137602441
Test: CtsVerifier - Wi-Fi Direct
Change-Id: I215da71e96348b6bba19d4a3c6fd8c8048ff46d6
2019-10-21 14:12:48 +08:00
Ryan Mitchell
fe69c03388 Use component-override to configure wahoo Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default
on wahoo devices.

Remove usages of profile_supported_sap from overlays as they no
longer configure the enable state of .sap.SapService.

Change-Id: I885a90c96e27dc36cddab7da41a3fe759de789da
2019-10-10 10:46:00 -07:00
Martin Stjernholm
8a575abb2c Update paths to the new ART APEX.
Test: Presubmits
Bug: 135753770
Change-Id: I98378100456dce927ccc253301a398d70d1b7368
2019-08-21 10:49:46 +01:00
Christine Franks
d33fceac35 Add config value for a11y color mode
Accessibility transforms require a specific color mode that is not
always available for the user to select.

Bug: 130376719
Test: atest com.google.android.config.pts
Change-Id: I0724a55a2d10a9447fa667545f3101e441779dc2
2019-05-08 15:13:09 -07:00
Nicolas Geoffray
fe5806c5ee Merge "Add a new list of pinned file for the JIT in zygote experiment." am: ece5c7f95f am: 40b7530f84
am: 3b44d7c94e

Change-Id: I98961ca30efe9b4d30467cc181187a5553ef4ca9
2019-02-22 20:31:15 -08:00
Nicolas Geoffray
83ccfcb7ab Add a new list of pinned file for the JIT in zygote experiment.
Bug: 119800099
Test: adb shell dumpsys pinner
Change-Id: I474a006b9f0c410d711dc883ce327b2ae269c039
2019-02-20 15:34:22 +00:00
Nicolas Geoffray
5788ad69d4 Adjust pinned files following runtime module work.
Test: adb shell dumpsys pinner
Bug: 119868597

(cherry picked from commit 6eb9bf8763)

Change-Id: Icd73b75ed7dbbc2851a280a237dcce36f846ec2b
2019-02-20 15:20:23 +00:00
Nicolas Geoffray
6eb9bf8763 Adjust pinned files following runtime module work.
Test: adb shell dumpsys pinner
Bug: 119868597
Change-Id: Ib76cf5247a4bee15b5f638b9539cc9e3272ec290
2019-02-11 10:42:45 +00:00
David Su
94648ed934 Link Probing: enable on wahoo
Enable link probing feature on wahoo devices.

Bug: 112029045
Test: Manually tested that link probing works on taimen
Change-Id: I66a5fcb3b9e4645521f1fa258eb74f563cc816a8
2019-01-25 16:33:17 -08:00
xshu
2e01528599 Enable connected MAC randomization
Bug: 122920200
Test: Verified feature works on device
Change-Id: Ia3f58a44c2e072aaa6c711a9db37219626894c67
2019-01-16 11:09:18 -08:00
TreeHugger Robot
353761b932 Merge "Delete unneeded wahoo config." 2019-01-11 20:10:56 +00:00
Andrew Sapperstein
a6644bf22f Delete unneeded wahoo config.
Another overlay overwrites this config value so this was never used.

Bug: 122261360
Test: atest vendor/google_testing/pts/tests/config/src/com/google/android/config/pts/ConfigTestCase.java
Change-Id: I5c2773885a0f214c483e3bf5b88d15a63804ff6c
2019-01-10 16:23:27 -08:00
Michael Wright
b4ef740593 Enable haptic text cursor.
Support has landed in WebView, so time to turn it on in framework!

Bug: 111461797
Test: manual
Change-Id: I064cf3512928637895932b3405adaec74b1ceed2
2018-12-13 01:21:33 +00:00
Neil Fuller
da194e72f2 Add translatable=false for obvious strings
Add translatable=false for string resources that obviously
shouldn't be translated.

Bug: 119941330
Test: build
Change-Id: I36b0f3e1d19c885bf26fedf7675d32a174fb21df
2018-11-23 16:23:16 +00:00
Eva Bertels
ab4136a982 Add check for misprovisioned Pixel devices.
Some Pixel devices had a wrong brand value provisioned into keymaster.
Due to this misprovisioning those devices fail device ID attestation because it includes a check for the correct brand value.
This is now solved by re-trying Device ID attestation if we are running on a potentially misprovisioned device, allowing for the known incorrect brand value.

Bug: 69471841
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testKeyManagement
Change-Id: I41b51a355e1b582fd7c7f12f8b7e0992294b16e3
Merged-In: I73dd4501416bcc2587d137d8b1e27127e3bfc0c0
(cherry picked from commit 0e5b3f1396)
2018-08-24 22:00:25 +00:00
Eva Bertels
acb2db2269 Add check for misprovisioned Pixel devices.
Some Pixel devices had a wrong brand value provisioned into keymaster.
Due to this misprovisioning those devices fail device ID attestation because it includes a check for the correct brand value.
This is now solved by re-trying Device ID attestation if we are running on a potentially misprovisioned device, allowing for the known incorrect brand value.

Bug: 69471841
Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testKeyManagement
Change-Id: I73dd4501416bcc2587d137d8b1e27127e3bfc0c0
2018-08-24 12:35:33 +01:00
Stanley Tng
8b04fdf593 Enable the Hearing Aid Profile for Pixel 1 and 2
The Hearing Aid Profile was disable in an upstreamed branch and we need
to re-enable it here.

Test: Compile
Change-Id: I1fae1e66570d69e14d53c415838e882639761ec9
2018-06-26 13:03:29 -07:00