mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
The NIU Actions buttons send intents to the user's default assistant. If the user clicks one of the buttons without an appropriate default assistant set, a dialog will appear to explain the situation and redirect the user to Settings. The existing privacy confirmation dialog code has been refactored into a reusable dialog, which is used here. Bug: 192505939 Test: Manual on local Pixel 3A (unit tests to be added in b/192406446) Test: m -j RunLauncherGoGoogleRoboTests Change-Id: I7b43e008aa74805b166c09936fa938a5834c8460
23 lines
836 B
XML
23 lines
836 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2021 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>
|
|
<!-- Modal Dialogs -->
|
|
<dimen name="modal_dialog_width">360dp</dimen>
|
|
<dimen name="modal_dialog_text_height">168dp</dimen>
|
|
</resources>
|