summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-07-09 09:51:46 -0700
committerAlan Viverette <alanv@google.com>2015-07-09 09:51:46 -0700
commit5d3d23199d399ed798c9c44e9b0c081223c69f2d (patch)
tree6d18451f0a0f4e2f1dbb1d01fa6c250dca8060db /core
parent7d170797ac844124b013b77cc220ccf115db12b7 (diff)
downloadframeworks_base-5d3d23199d399ed798c9c44e9b0c081223c69f2d.zip
frameworks_base-5d3d23199d399ed798c9c44e9b0c081223c69f2d.tar.gz
frameworks_base-5d3d23199d399ed798c9c44e9b0c081223c69f2d.tar.bz2
Add missing break in AccessibilityEvent.eventTypeToString()
Bug: 22331852 Change-Id: I6f75dde0fb29715d05ef8e8b0e16c3a5a2b9d5e8
Diffstat (limited to 'core')
-rw-r--r--core/java/android/view/accessibility/AccessibilityEvent.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/view/accessibility/AccessibilityEvent.java b/core/java/android/view/accessibility/AccessibilityEvent.java
index 1464bb5..a04c4f1 100644
--- a/core/java/android/view/accessibility/AccessibilityEvent.java
+++ b/core/java/android/view/accessibility/AccessibilityEvent.java
@@ -1418,15 +1418,14 @@ public final class AccessibilityEvent extends AccessibilityRecord implements Par
}
builder.append("TYPE_VIEW_CONTEXT_CLICKED");
eventTypeCount++;
- }
+ } break;
case TYPE_ASSIST_READING_CONTEXT: {
if (eventTypeCount > 0) {
builder.append(", ");
}
builder.append("TYPE_ASSIST_READING_CONTEXT");
eventTypeCount++;
- }
- break;
+ } break;
}
}
if (eventTypeCount > 1) {