diff options
| author | Svetoslav <svetoslavganov@google.com> | 2014-03-25 17:26:04 -0700 |
|---|---|---|
| committer | Svetoslav <svetoslavganov@google.com> | 2014-03-25 17:27:37 -0700 |
| commit | cbcc9695f0a701d620f48de75eaee05c4fef6f22 (patch) | |
| tree | f9eaa32f9a572982578450a7e542a8b7acc4ee6e /core/java/android/view | |
| parent | 9ae0c8ffba5ab50fb02d319a00e56fe42960cb4a (diff) | |
| download | frameworks_base-cbcc9695f0a701d620f48de75eaee05c4fef6f22.zip frameworks_base-cbcc9695f0a701d620f48de75eaee05c4fef6f22.tar.gz frameworks_base-cbcc9695f0a701d620f48de75eaee05c4fef6f22.tar.bz2 | |
Wrong constant used for undefined accessibility window id.
Change-Id: I8b14db034a42a7ffd211a46fa3fee7bf2a6eac8f
Diffstat (limited to 'core/java/android/view')
| -rw-r--r-- | core/java/android/view/View.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index a8ccd49..4bfdd8a 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -5718,7 +5718,8 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * @hide */ public int getAccessibilityWindowId() { - return mAttachInfo != null ? mAttachInfo.mAccessibilityWindowId : NO_ID; + return mAttachInfo != null ? mAttachInfo.mAccessibilityWindowId + : AccessibilityNodeInfo.UNDEFINED_ITEM_ID; } /** @@ -19742,7 +19743,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, /** * The id of the window for accessibility purposes. */ - int mAccessibilityWindowId = View.NO_ID; + int mAccessibilityWindowId = AccessibilityNodeInfo.UNDEFINED_ITEM_ID; /** * Flags related to accessibility processing. |
