mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08: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
24 lines
1.0 KiB
XML
24 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2020 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>
|
|
<!-- The component to receive app sharing Intents -->
|
|
<string name="app_sharing_component" translatable="false"/>
|
|
<!-- The package to receive Listen, Translate, and Search Intents -->
|
|
<string name="niu_actions_package" translatable="false"/>
|
|
|
|
<!-- Feature Flags -->
|
|
<bool name="enable_niu_actions">false</bool>
|
|
</resources> |