Files
Daniel Norman d06108db13 feat(expressive): Update AccessibilityMenu settings for expressive theme
Fix: 406420862
Test: visual-only change, see screenshots in bug
Test: manually use the toggle and help button
Flag: com.android.settingslib.widget.theme.flags.is_expressive_design_enabled
Change-Id: Iea4ca48bb9048b42f3973ead1d328eeed5529592
2025-04-17 21:56:11 +00:00

67 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.android.systemui.accessibility.accessibilitymenu">
<uses-permission android:name="android.permission.CONTROL_DISPLAY_BRIGHTNESS"/>
<uses-permission android:name="android.permission.MANAGE_USERS"/>
<application
android:supportsRtl="true"
android:allowBackup="true"
android:restoreAnyVersion="true">
<service
android:name="com.android.systemui.accessibility.accessibilitymenu.AccessibilityMenuService"
android:exported="false"
android:label="@string/accessibility_menu_service_name"
android:icon="@drawable/ic_logo_app"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService"/>
</intent-filter>
<meta-data
android:name="android.accessibilityservice"
android:resource="@xml/accessibilitymenu_service"/>
</service>
<!-- Accessibility Menu Settings -->
<activity
android:name="com.android.systemui.accessibility.accessibilitymenu.activity.A11yMenuSettingsActivity"
android:exported="true"
android:label="@string/accessibility_menu_settings_name"
android:launchMode="singleTop"
android:theme="@style/Theme.SubSettingsBase">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.accessibilityservice.SERVICE_SETTINGS"/>
</intent-filter>
</activity>
</application>
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.VOICE_COMMAND" />
</intent>
</queries>
</manifest>