Commit Graph

121 Commits

Author SHA1 Message Date
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
Stanley Tng
6799a52d08 Disable the Hearing Aid profile for Pixel 2
Bug: 109880029
Test: Compile
Change-Id: I7c641444e85be61f8737fa7172ef7a0c849e79f2
2018-06-07 11:57:37 -07:00
Stanley Tng
9436e08093 Merge "Disable Hearing Aid Profile for all platforms except Pixel" into pi-dev 2018-04-27 18:27:38 +00:00
Chia-I Wu
b4e0bb3e5a Override config_availableColorModes
List NATURAL, BOOSTED, and SATURATED.

Bug: 73824924
Test: atest PtsConfigTestCases
Change-Id: I5e57c4940b5fc32dc43684bb6e58b7af1097a4df
2018-04-25 11:42:20 -07:00
Stanley Tng
accc78a8c0 Disable Hearing Aid Profile for all platforms except Pixel
Enable the Hearing Aid Profile for Taimen and Wally.

Bug: 78142728
Test: Manual Pairing on various Pixel phones
Change-Id: I1323387592bbedf69b4fc9185b121d616c96fd9e
2018-04-25 09:23:22 -07:00
Daniel Nishi
4efb56f286 Add SettingsIntelligence to Wahoo DND Access config.
This is set in the nexus_overlay and no differences existed until
GMSCore was added to the nexus_overlay. GMSCore only exists in the Wahoo
overlay and the overlay currently crushes our config which applies to
all Google devices. By re-adding it to this overlaid overlay, we gain
our powers back.

Bug: 72663665
Test: Manual
Change-Id: I9794a212b782028f12cd87793ab5723030b8ed95
2018-03-30 13:31:06 -07:00
Jan Althaus
7d957045ac Allowing GmsCore to register DnD rules
This is necessary because the driving DnD rules will be migrated from
Pixel Ambient Services to GmsCore. Pre-granting this permission is
necessary to avoid a feature regression when compared to Pixel 2.

Bug: 74115747
Test: Manually confirmed config change in Pixel 2 build
Change-Id: Icb595b6a31787c18eef38da50f5a256ada5c05f2
(cherry picked from commit e30688631f)
2018-03-30 08:15:55 +00:00
Lucas Dupin
bc68f7f6e0 Renamed config_dozeAfterScreenOff
New name is config_dozeAfterScreenOffByDefault
Bug: 73178121

Change-Id: Icf2123d45b2b4727092103632d1bd6f024161c8a
2018-03-20 16:19:12 -07:00
Mathieu Chartier
847ee61ebb Fix shared vdex name
The files in arm/arm64 are symlinks and pinning symlinks is not
supported. Pin the target vdex file intead.

Bug: 73990433
Test: manual
Change-Id: I1edadcc3be6d88cc07c599cba024babc5abe0633
2018-02-28 16:13:51 -08:00
Tyler Gunn
14e25412bd Enable telephony audio device for pixel devices.
Pixel devices support a special audio device called TYPE_TELEPHONY which
enables system apps to output audio in the telephony outgoing audio stream.
This is used for some carriers to play a "call recording tone" which the
remote party will hear if the user starts recording audio with a call
recording app.

Test: Manual testing
Bug: 64138141
Change-Id: I6e1981a4baaea34c0cea54f1af7aa2945c6e09a6
2018-02-12 14:08:00 -08:00
Malcolm Chen
3a93e994a2 Move config_enabled_lte overlay to device folder. am: 525817e9ec am: 7bb6bf61ab
am: c9038c221d

Change-Id: Iac47ca2bce8b19c425d578f6290552004af45bba
2018-02-07 23:34:03 +00:00
Malcolm Chen
525817e9ec Move config_enabled_lte overlay to device folder.
Move config_enabled_lte overlay to device folder so that AOSP can
also apply it.

Bug: 71830982
Test: manual
Change-Id: I5c4b2c895d0bfeb8bb36d2c8a2333b75127b6d60
2018-02-06 18:49:39 -08:00
Siddharth Ray
adc0f277d3 Moved Cellular/Wifi power profile
Cellular/Wifi power profile moved to power_profile.xml from config.xml

Change-Id: Ib896669775ff5073ea98025d9126565c811860ba
2018-01-17 15:19:05 -08:00
Lucas Dupin
5a31d4bff0 making config_displayBlanksAfterDoze device specific
Moving config_displayBlanksAfterDoze into device folder instead
of device family because walleye supports seamless transitions
but taimen doesn't.

Change-Id: I4710388122852dc68bff9c2cb96633ffade9be4e
Fixes: 71897888
Test: flash walleye, taimen and salfish
2018-01-13 21:39:45 -08:00
Ningyuan Wang
2abdc51e90 Do not revert country code on cellular loss for 2017 devices
2017 devices use single SKU so there is no default country code.
In case of cellular loss, we shouldn't revert country code so user
can keep using the last known country code to access APs.

Bug: 65602314
Test: compile, manually test that framework get this change
Change-Id: I2a8bf967c980cdecafc9cdf03be51fe0d1f6fa8f
2017-09-12 16:52:22 -07:00