removing unnecessary/dead code
Change-Id: I46d5b5fbee97b6895fb4f1b61627fda6f8568256
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java
index 45f58a4..e25ce5c 100644
--- a/src/com/android/launcher2/BubbleTextView.java
+++ b/src/com/android/launcher2/BubbleTextView.java
@@ -38,7 +38,7 @@
* because we want to make the bubble taller than the text and TextView's clip is
* too aggressive.
*/
-public class BubbleTextView extends TextView implements VisibilityChangedBroadcaster {
+public class BubbleTextView extends TextView {
static final float CORNER_RADIUS = 4.0f;
static final float SHADOW_LARGE_RADIUS = 4.0f;
static final float SHADOW_SMALL_RADIUS = 1.75f;
@@ -67,8 +67,6 @@
private boolean mStayPressed;
- private VisibilityChangedListener mOnVisibilityChangedListener;
-
public BubbleTextView(Context context) {
super(context);
init();
@@ -240,18 +238,6 @@
return result;
}
- public void setVisibilityChangedListener(VisibilityChangedListener listener) {
- mOnVisibilityChangedListener = listener;
- }
-
- @Override
- protected void onVisibilityChanged(View changedView, int visibility) {
- if (mOnVisibilityChangedListener != null) {
- mOnVisibilityChangedListener.receiveVisibilityChangedMessage(this);
- }
- super.onVisibilityChanged(changedView, visibility);
- }
-
void setStayPressed(boolean stayPressed) {
mStayPressed = stayPressed;
if (!stayPressed) {