Fix notification preferences
- ImportancePreference should not be separately clickable - new strings Bug: 127796543 Fixes: 131060409 Test: make sure talkback doesn't read 'double tap to activate' when the preference is focused Change-Id: I6b6eef0915873b4e0b44c59758e5f4b5a265364b
This commit is contained in:
@@ -397,9 +397,21 @@ public class AppStateNotificationBridgeTest {
|
||||
assertThat(AppStateNotificationBridge.getSummary(
|
||||
mContext, sentRarely, R.id.sort_order_frequent_notification).toString())
|
||||
.contains("1");
|
||||
assertThat(AppStateNotificationBridge.getSummary(
|
||||
mContext, sentRarely, R.id.sort_order_frequent_notification).toString())
|
||||
.contains("notification ");
|
||||
assertThat(AppStateNotificationBridge.getSummary(
|
||||
mContext, sentRarely, R.id.sort_order_frequent_notification).toString())
|
||||
.contains("week");
|
||||
assertThat(AppStateNotificationBridge.getSummary(
|
||||
mContext, sentOften, R.id.sort_order_frequent_notification).toString())
|
||||
.contains("8");
|
||||
assertThat(AppStateNotificationBridge.getSummary(
|
||||
mContext, sentOften, R.id.sort_order_frequent_notification).toString())
|
||||
.contains("notifications");
|
||||
assertThat(AppStateNotificationBridge.getSummary(
|
||||
mContext, sentOften, R.id.sort_order_frequent_notification).toString())
|
||||
.contains("day");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user