Fix talkback issue
Fixes: 141226569 Test: manual Change-Id: I631554ab33d6cc77f3d3f2e4625d359a802dd5b5
This commit is contained in:
@@ -347,7 +347,6 @@ public class DeviceAdminAdd extends Activity {
|
||||
}
|
||||
};
|
||||
mAddMsgExpander.setOnClickListener(onClickListener);
|
||||
mAddMsg.setOnClickListener(onClickListener);
|
||||
|
||||
// Determine whether the message can be collapsed - getLineCount() gives the correct
|
||||
// number of lines only after a layout pass.
|
||||
@@ -360,7 +359,6 @@ public class DeviceAdminAdd extends Activity {
|
||||
boolean hideMsgExpander = mAddMsg.getLineCount() <= maxLines;
|
||||
mAddMsgExpander.setVisibility(hideMsgExpander ? View.GONE : View.VISIBLE);
|
||||
if (hideMsgExpander) {
|
||||
mAddMsg.setOnClickListener(null);
|
||||
((View)mAddMsgExpander.getParent()).invalidate();
|
||||
}
|
||||
mAddMsg.getViewTreeObserver().removeOnGlobalLayoutListener(this);
|
||||
|
Reference in New Issue
Block a user