diff options
author | Dianne Hackborn <hackbod@google.com> | 2011-07-18 13:22:50 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2011-07-18 16:16:23 -0700 |
commit | 6dd005b48138708762bfade0081d031a2a4a3822 (patch) | |
tree | d3843867826a4a5a439897674a9dfef4a15d77b5 /core/java/android/view/inputmethod/InputMethodManager.java | |
parent | f40aa3834d92bfb516e0f865375103d81e3de71d (diff) | |
download | frameworks_base-6dd005b48138708762bfade0081d031a2a4a3822.zip frameworks_base-6dd005b48138708762bfade0081d031a2a4a3822.tar.gz frameworks_base-6dd005b48138708762bfade0081d031a2a4a3822.tar.bz2 |
I. Can. Not. Stand. ViewAncestor.
It was done so we would have the name "ViewRoot" available for a
public API. However, the name "ViewAncestor" just makes no sense.
So instead, change it to ViewRootImpl.
Change-Id: If9599ca67896f339f6fefa7d1dde121201171d97
Diffstat (limited to 'core/java/android/view/inputmethod/InputMethodManager.java')
-rw-r--r-- | core/java/android/view/inputmethod/InputMethodManager.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java index a1a7281..e5f3fc9 100644 --- a/core/java/android/view/inputmethod/InputMethodManager.java +++ b/core/java/android/view/inputmethod/InputMethodManager.java @@ -42,7 +42,7 @@ import android.util.Printer; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; -import android.view.ViewAncestor; +import android.view.ViewRootImpl; import java.io.FileDescriptor; import java.io.PrintWriter; @@ -655,7 +655,7 @@ public final class InputMethodManager { if (vh != null) { // This will result in a call to reportFinishInputConnection() // below. - vh.sendMessage(vh.obtainMessage(ViewAncestor.FINISH_INPUT_CONNECTION, + vh.sendMessage(vh.obtainMessage(ViewRootImpl.FINISH_INPUT_CONNECTION, mServedInputConnection)); } } @@ -1112,9 +1112,9 @@ public final class InputMethodManager { void scheduleCheckFocusLocked(View view) { Handler vh = view.getHandler(); - if (vh != null && !vh.hasMessages(ViewAncestor.CHECK_FOCUS)) { + if (vh != null && !vh.hasMessages(ViewRootImpl.CHECK_FOCUS)) { // This will result in a call to checkFocus() below. - vh.sendMessage(vh.obtainMessage(ViewAncestor.CHECK_FOCUS)); + vh.sendMessage(vh.obtainMessage(ViewRootImpl.CHECK_FOCUS)); } } |