Files
frameworks_base/packages/SystemUI/res/layout/notification_guts.xml
Beverly 63273d4531 Fix clickable notification row elements
- Don't mark notification guts as clickable. Originally they were marked
as clickable so that the guts wouldn't send touches to trigger the
ExpandableNotificationRow's click, NotificationClicker. This caused
talkback to speak "Double-tap to activate" when announcing the
NotificationGuts even though double-tapping would do nothing.
- Instead, added logic in NotificationClicker to ignore clicks that
occur when the guts are exposed.

Test: manual
Fixes: 140398522
Change-Id: I806051ffd43ed27c38e804fdc43e2c2d3522566c
2020-04-10 09:50:12 -04:00

27 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2014, 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.
-->
<com.android.systemui.statusbar.notification.row.NotificationGuts
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:focusable="true"
android:id="@+id/notification_guts"
android:visibility="gone"
android:gravity="top|start"
android:theme="@*android:style/Theme.DeviceDefault.Light"/>