mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
The buttons send Intents to the designated app (specified by niu_actions_package) to do the following: Listen - Read the contents of the screen aloud Translate - Translate the contents of the screen Search - Perform a visual search on the contents of the screen The Intents also include (via URI) the screenshot of current app used as a thumbnail by Recents. The feature is controlled by the enable_niu_actions flag, set to false here. Both this flag and the niu_actions_package String must be set for a given Launcher to use these buttons. Bug: 177955244 Bug: 177955748 Test: Manual (enabled on LauncherGoGoogle and sent Intents to demo Lens app) Change-Id: I3d1f870bb176ed0cbae637a45c072bd8acac1d4b
41 lines
1.8 KiB
XML
41 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2018 The Android Open Source 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 name="overscroll_plugin_factory_class" translatable="false" />
|
|
|
|
<!-- Activities which block home gesture -->
|
|
<string-array name="gesture_blocking_activities" translatable="false">
|
|
<item>com.android.launcher3/com.android.quickstep.interaction.GestureSandboxActivity</item>
|
|
</string-array>
|
|
|
|
<string name="stats_log_manager_class" translatable="false">com.android.quickstep.logging.StatsLogCompatManager</string>
|
|
|
|
<string name="test_information_handler_class" translatable="false">com.android.quickstep.QuickstepTestInformationHandler</string>
|
|
|
|
<!-- The number of thumbnails and icons to keep in the cache. The thumbnail cache size also
|
|
determines how many thumbnails will be fetched in the background. -->
|
|
<integer name="recentsThumbnailCacheSize">3</integer>
|
|
<integer name="recentsIconCacheSize">12</integer>
|
|
|
|
<!-- Assistant Gesture -->
|
|
<integer name="assistant_gesture_min_time_threshold">200</integer>
|
|
<integer name="assistant_gesture_corner_deg_threshold">20</integer>
|
|
|
|
<string name="wellbeing_provider_pkg" translatable="false"/>
|
|
|
|
<integer name="max_depth_blur_radius">150</integer>
|
|
</resources>
|