summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2011-07-29 15:17:41 -0700
committerAlan Viverette <alanv@google.com>2011-07-29 15:17:41 -0700
commitc40e07993a1cd6edae2f1f3198e8ceb780b64c52 (patch)
tree7e19e7fcf5c61af95a290906a73081a7bf725dac /src
parentbb33bdcef739c33e6bfa3ccb08c3199f073b05af (diff)
downloadpackages_apps_Settings-c40e07993a1cd6edae2f1f3198e8ceb780b64c52.zip
packages_apps_Settings-c40e07993a1cd6edae2f1f3198e8ceb780b64c52.tar.gz
packages_apps_Settings-c40e07993a1cd6edae2f1f3198e8ceb780b64c52.tar.bz2
Added accessibility tutorial-specific class name for instructions.
Bug: 5087316 Change-Id: Ia41e9c73af189f36dd6b92b21fcbc5e9bcf408f3
Diffstat (limited to 'src')
-rw-r--r--src/com/android/settings/AccessibilityTutorialActivity.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/com/android/settings/AccessibilityTutorialActivity.java b/src/com/android/settings/AccessibilityTutorialActivity.java
index 9ea9917..e04a1ea 100644
--- a/src/com/android/settings/AccessibilityTutorialActivity.java
+++ b/src/com/android/settings/AccessibilityTutorialActivity.java
@@ -27,6 +27,7 @@ import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.provider.Settings;
+import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
@@ -655,4 +656,13 @@ public class AccessibilityTutorialActivity extends Activity {
mFinish.setVisibility(visible ? VISIBLE : GONE);
}
}
+
+ /**
+ * Provides a tutorial-specific class name for fired accessibility events.
+ */
+ public static class TutorialTextView extends TextView {
+ public TutorialTextView(Context context, AttributeSet attrs) {
+ super(context, attrs);
+ }
+ }
}