Commit Graph

102 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Yohei Yukawa
a178328127 Revert "Enable haptic text handle on muskie/walleye/taimen"
This reverts commit "Enable haptic text handle on muskie/walleye/taimen" [1]

We decided to not enable this on O MR1.

 [1]: I5ec238870329b1a234df955d9dd1541a9ae26d82
      d30e0d7350

Test: Manually made sure that haptic feedback is no longer triggered
      when moving text handle on Walleye.
Bug: 62454887
Fixes: 65291208
Change-Id: I82121f3907215e31750a10344e795ad1e60dbaad
2017-09-01 11:54:33 -07:00
TreeHugger Robot
9686ce88bb Merge "Wifi connection hysteresis" into oc-mr1-dev 2017-08-17 22:21:29 +00:00
Vineeta Srivastava
f56a5b8a5f Merge "Make brightness ramp rates multiples of 60." into oc-dr1-dev
am: 450b68d7ff

Change-Id: I82dee442d1d0da7e51afdac292e6763ff91d0693
2017-08-17 03:24:16 +00:00
Michael Wright
fa9709b09a Make brightness ramp rates multiples of 60.
If ramp rates aren't even multiple of 60 then we're more likely to get
brightness changes that differ each frame, which can show up as a
stuttering in the animation.

Bug: 64514692
Test: made change, took systrace, saw smooth ramping
Change-Id: I48ec832f752a8aefb6185c1583141f2fb1a29e85
2017-08-16 22:34:33 +01:00
Michael Plass
c216509135 Wifi connection hysteresis
Introduce a separate RSSI threshold for entry so there is some
hysteresis between entry and exit.

Bug: 64422319
Test: Unit tests
Change-Id: I0cf0b6e34baa3827dcaeefbb009fa04b071dd28b
2017-08-15 16:04:58 -07:00
Michael Wright
dace449e12 Tell platform brightness is bucketed in doze.
Bug: 64007419
Test: manual
Merged-In: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
Change-Id: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
2017-07-26 19:51:00 +01:00
Michael Wright
955de0fa4d Tell system the display blanks itself when leaving doze.
Bug: 63531607
Test: manual
Merged-In: I39e4bcfd786606369aeba0c2df449ffbed8360b5
Change-Id: I39e4bcfd786606369aeba0c2df449ffbed8360b5
2017-07-26 19:50:43 +01:00
Michael Wright
49f44fccb3 Tell platform brightness is bucketed in doze.
Bug: 64007419
Test: manual
Change-Id: Ib1ac6e2b18b6e4f990e107161f12baf4f1b791ee
2017-07-26 19:48:36 +01:00
Michael Wright
0d662aec55 Tell system the display blanks itself when leaving doze.
Bug: 63531607
Test: manual
Change-Id: I39e4bcfd786606369aeba0c2df449ffbed8360b5
2017-07-26 19:48:34 +01:00
Michael Wright
1d54592966 Merge "Remove non-safe mode boot vibration." into oc-dr1-dev
am: ebe5119b1f

Change-Id: Id1af8d03d89199f805b371c179c1578d75c3bfdd
2017-07-24 12:52:46 +00:00
Michael Wright
9000a6ecd1 Remove non-safe mode boot vibration.
Ding, dong the BZZZZT is dead.

Bug: 22414771
Test: Manual.
Change-Id: I211898192af37dbaad9c0a10c773ee7786b1e084
2017-07-21 16:40:16 +01:00
Michael Wright
e7627ccd4a Merge "Force off display state after doze states." into oc-dr1-dev
am: 38f652ec50

Change-Id: I9277de3ffed3d70ce99dcfd1a455eb7d8e9a041c
2017-07-21 14:58:00 +00:00
TreeHugger Robot
38f652ec50 Merge "Force off display state after doze states." into oc-dr1-dev 2017-07-21 14:53:40 +00:00
Michael Plass
9eefdac627 Merge "Adjust wifi RSSI thresholds for 2017 devices" into oc-dr1-dev
am: ac26db3405

Change-Id: Idfc0b053731d918cb8a931717b4d599525e21a10
2017-07-21 04:54:59 +00:00