summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
diff options
context:
space:
mode:
authorSvetoslav <svetoslavganov@google.com>2014-03-25 17:26:04 -0700
committerSvetoslav <svetoslavganov@google.com>2014-03-25 17:27:37 -0700
commitcbcc9695f0a701d620f48de75eaee05c4fef6f22 (patch)
treef9eaa32f9a572982578450a7e542a8b7acc4ee6e /core/java/android/view
parent9ae0c8ffba5ab50fb02d319a00e56fe42960cb4a (diff)
downloadframeworks_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.java5
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.