diff options
| author | Danny Lin <danny@kdrag0n.dev> | 2020-12-11 22:25:19 -0800 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-03-26 18:35:16 +0200 |
| commit | 8d8ffdccb629dcf4be52b7d2b7fa42b7d293b4ca (patch) | |
| tree | 522b14e7bce6a0007506bc4581fb0fae91dd24f1 /overlay-lineage | |
| parent | 296367e90d15db52c4d13618c9aed47c077aeff2 (diff) | |
b4s4: Squashed import of AiAi configs/features
Author: Danny Lin <danny@kdrag0n.dev>
Date: Fri Dec 11 22:25:19 2020 -0800
device_config: Squashed import of AiAi configs
Change-Id: I5f433b8f6491087ebc94336d6654042bf4e23390
Author: Danny Lin <danny@kdrag0n.dev>
Date: Mon May 10 10:45:26 2021 -0700
device_config: Update Now Playing database as of May 10, 2021
Author: Danny Lin <danny@kdrag0n.dev>
Date: Tue Jun 8 20:34:01 2021 -0700
device_config: Update Now Playing database as of June 8, 2021
Author: Danny Lin <danny@kdrag0n.dev>
Date: Wed Aug 4 18:52:40 2021 -0700
device_config: Update Now Playing database as of August 4, 2021
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sun Nov 14 19:22:39 2021 -0800
device_config: Update Now Playing database to 2021-10-31
Author: Danny Lin <danny@kdrag0n.dev>
Date: Sun Dec 19 04:48:37 2021 -0800
device_Config: Update Now Playing database to 2021-12-12
Change-Id: I78bd7d04cbd0b35f6a8c01df3a8c1013d99bbf42
Diffstat (limited to 'overlay-lineage')
| -rw-r--r-- | overlay-lineage/frameworks/base/core/res/res/values/config.xml | 13 | ||||
| -rw-r--r-- | overlay-lineage/packages/apps/SimpleDeviceConfig/res/values/config.xml | 48 |
2 files changed, 61 insertions, 0 deletions
diff --git a/overlay-lineage/frameworks/base/core/res/res/values/config.xml b/overlay-lineage/frameworks/base/core/res/res/values/config.xml index 3bd9aeb8..b65b1ed4 100644 --- a/overlay-lineage/frameworks/base/core/res/res/values/config.xml +++ b/overlay-lineage/frameworks/base/core/res/res/values/config.xml @@ -38,4 +38,17 @@ <!-- B y-intercept --> <item>-0.349361641294833436</item> </string-array> + <!-- Flag indicating whether we should enable the adaptive sleep.--> + <bool name="config_adaptive_sleep_available">true</bool> + + <!-- The component name for the default system attention service. + This service must be trusted, as it can be activated without explicit consent of the user. + See android.attention.AttentionManagerService. + --> + <string name="config_defaultAttentionService" translatable="false">com.google.android.as/com.google.android.apps.miphone.aiai.attention.service.AiAiAttentionService</string> + + <!-- Live Captions provided by Google's Device Personalization Service package --> + <string name="config_defaultSystemCaptionsManagerService">com.google.android.as/com.google.android.apps.miphone.aiai.captions.SystemCaptionsManagerService</string> + <string name="config_defaultSystemCaptionsService">com.google.android.as/com.google.android.apps.miphone.aiai.captions.CaptionsService</string> + </resources> diff --git a/overlay-lineage/packages/apps/SimpleDeviceConfig/res/values/config.xml b/overlay-lineage/packages/apps/SimpleDeviceConfig/res/values/config.xml new file mode 100644 index 00000000..4789f4a8 --- /dev/null +++ b/overlay-lineage/packages/apps/SimpleDeviceConfig/res/values/config.xml @@ -0,0 +1,48 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2020 The Proton AOSP Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + <string-array name="configs_device"> + <!-- Live Captions (Pixel 2017 + OEM) --> + <item>device_personalization_services/Captions__manifest_url_template=https://storage.googleapis.com/captions/%{NAMESPACE}_%{VERSION}_manifest.json</item> + <item>device_personalization_services/Captions__model_version_v1=20190613</item> + <item>device_personalization_services/Captions__model_version_v1_2=20200112</item> + <item>device_personalization_services/Captions__speech_threshold=0.2</item> + <item>device_personalization_services/Captions__surface_sound_events=true</item> + <item>device_personalization_services/Captions__visibility_playing_duration_millis=5000</item> + <item>device_personalization_services/Captions__visibility_stopped_duration_millis=1500</item> + + <!-- Now Playing (Pixel 2017) --> + <item>device_personalization_services/NowPlaying__ambient_music_index_manifest_17_09_02=194:https://storage.googleapis.com/music-iq-db/updatable_ytm_db/20211212-030112/manifest.json</item> + + <!-- Screen attention (Pixel 2019) --> + <item>device_personalization_services/Attention__accel_sensor_enabled=false</item> + <item>device_personalization_services/Attention__accel_sensor_threshold_mss=0.2</item> + <item>device_personalization_services/Attention__enabled=true</item> + <item>device_personalization_services/Attention__margin_horizontal_px=1000</item> + <item>device_personalization_services/Attention__margin_vertical_px=1000</item> + <item>device_personalization_services/Attention__proximity_sensor_enabled=false</item> + + <!-- Disable unused AiAi features --> + <item>device_personalization_services/Autofill__enable=false</item> + <item>device_personalization_services/Autofill__enable_fa=false</item> + <item>device_personalization_services/Fedex__enable_fedex=false</item> + <item>device_personalization_services/Logging__enable_aiai_clearcut_logging=false</item> + <item>device_personalization_services/NotificationAssistant__enable_service=false</item> + <item>device_personalization_services/Overview__enable_overview=false</item> + <item>device_personalization_services/VisualCortex__enable=false</item> + </string-array> +</resources> |
