diff options
| author | Adam Powell <adamp@google.com> | 2011-04-22 17:08:55 -0700 |
|---|---|---|
| committer | Adam Powell <adamp@google.com> | 2011-04-22 17:23:44 -0700 |
| commit | 3fb3d7c4e756bd32d5abde0abca9ab52d559bc84 (patch) | |
| tree | a1dcfb8f2cdee81a033b85e27f55129ddb695776 /core/java/android/view/InputEventConsistencyVerifier.java | |
| parent | 6c079b6819d749fcb72988c5b06becff081c82fd (diff) | |
Revert "Touch exploration feature, event bubling, refactor"
This reverts commit ac84d3ba81f08036308b17e1ab919e43987a3df5.
There seems to be a problem with this API change. Reverting for now to
fix the build.
Change-Id: Ifa7426b080651b59afbcec2d3ede09a3ec49644c
Diffstat (limited to 'core/java/android/view/InputEventConsistencyVerifier.java')
| -rw-r--r-- | core/java/android/view/InputEventConsistencyVerifier.java | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/core/java/android/view/InputEventConsistencyVerifier.java b/core/java/android/view/InputEventConsistencyVerifier.java index e14b97558e49..b5ca2c2a8c1c 100644 --- a/core/java/android/view/InputEventConsistencyVerifier.java +++ b/core/java/android/view/InputEventConsistencyVerifier.java @@ -30,6 +30,7 @@ import android.util.Log; * @hide */ public final class InputEventConsistencyVerifier { + private static final String TAG = "InputEventConsistencyVerifier"; private static final boolean IS_ENG_BUILD = "eng".equals(Build.TYPE); // The number of recent events to log when a problem is detected. @@ -43,11 +44,6 @@ public final class InputEventConsistencyVerifier { // Consistency verifier flags. private final int mFlags; - // Tag for logging which a client can set to help distinguish the output - // from different verifiers since several can be active at the same time. - // If not provided defaults to the simple class name. - private final String mLogTag; - // The most recently checked event and the nesting level at which it was checked. // This is only set when the verifier is called from a nesting level greater than 0 // so that the verifier can detect when it has been asked to verify the same event twice. @@ -107,19 +103,8 @@ public final class InputEventConsistencyVerifier { * @param flags Flags to the verifier, or 0 if none. */ public InputEventConsistencyVerifier(Object caller, int flags) { - this(caller, flags, InputEventConsistencyVerifier.class.getSimpleName()); - } - - /** - * Creates an input consistency verifier. - * @param caller The object to which the verifier is attached. - * @param flags Flags to the verifier, or 0 if none. - * @param logTag Tag for logging. If null defaults to the short class name. - */ - public InputEventConsistencyVerifier(Object caller, int flags, String logTag) { this.mCaller = caller; this.mFlags = flags; - this.mLogTag = (logTag != null) ? logTag : "InputEventConsistencyVerifier"; } /** @@ -611,7 +596,7 @@ public final class InputEventConsistencyVerifier { } } - Log.d(mLogTag, mViolationMessage.toString()); + Log.d(TAG, mViolationMessage.toString()); mViolationMessage.setLength(0); tainted = true; } |
