Skip to content

Commit

Permalink
overlay: Update for Android 10
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
  • Loading branch information
jhenrique09 authored and neobuddy89 committed Sep 28, 2019
1 parent a8760b6 commit 3847a3e
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
22 changes: 22 additions & 0 deletions overlay/common/frameworks/base/core/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,26 @@
<!-- Control whether the always on display mode is enabled by default. This value will be used
during initialization when the setting is still null. -->
<bool name="config_dozeAlwaysOnEnabled">false</bool>

<!-- The package name for the default wellbeing app.
This package must be trusted, as it has the permissions to control other applications
on the device.
Example: "com.android.wellbeing"
-->
<string name="config_defaultWellbeingPackage">com.google.android.apps.wellbeing</string>

<!-- Flag indicating whether we should enable smart battery. -->
<bool name="config_smart_battery_available">true</bool>

<!-- If this is true, the screen will come on when you unplug usb/power/whatever. -->
<bool name="config_unplugTurnsOnScreen">true</bool>

<!-- Whether to send a custom package name with the PSD.-->
<bool name="config_sendPackageName">true</bool>

<!-- The amount to scale fullscreen snapshots for Overview and snapshot starting windows. -->
<item type="dimen" name="config_fullTaskSnapshotScale">0.8</item>

<!-- Sharesheet: define a max number of targets per application for new shortcuts-based direct share introduced in Q -->
<integer name="config_maxShortcutTargetsPerApp">8</integer>
</resources>
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,17 @@
does not work well, particularly with noisy touchscreens. Note that disabling it may
increase the rate of unintentional unlocks. -->
<bool name="config_lockscreenAntiFalsingClassifierEnabled">false</bool>

<!-- Vibration duration for GlowPadView used in SearchPanelView -->
<integer name="config_search_panel_view_vibration_duration">10</integer>

<!-- Whether to show a warning notification when device's skin temperature is high. -->
<integer name="config_showTemperatureWarning">1</integer>

<!-- Whether to show a alarm dialog when device's usb port is overheating. -->
<integer name="config_showUsbPortAlarm">1</integer>

<!-- Should we vibrate on an icon animation of the shelf. This should only be active if the
vibrator is capable of subtle vibrations -->
<bool name="config_vibrateOnIconAnimation">true</bool>
</resources>
5 changes: 5 additions & 0 deletions overlay/common/packages/apps/Settings/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@

<!-- Does the device allow updating the recovery. -->
<bool name="config_enableRecoveryUpdater">false</bool>

<bool name="config_show_avatar_in_homepage">true</bool>

<!-- Fully-qualified class name for the styles & wallpaper picker activity. -->
<string name="config_styles_and_wallpaper_picker_class">com.android.customization.picker.CustomizationPickerActivity</string>
</resources>

0 comments on commit 3847a3e

Please sign in to comment.