Merge "Fixed an accessibility issue with the pin view" into oc-dev am: 06fdcf8a40
am: 1d9c84b39b
Change-Id: Ia7b2b47db9368348d5a7319f67944fb421cc00d5
This commit is contained in:
@@ -29,10 +29,8 @@ import android.graphics.Rect;
|
|||||||
import android.graphics.Typeface;
|
import android.graphics.Typeface;
|
||||||
import android.os.PowerManager;
|
import android.os.PowerManager;
|
||||||
import android.os.SystemClock;
|
import android.os.SystemClock;
|
||||||
import android.os.UserHandle;
|
|
||||||
import android.provider.Settings;
|
import android.provider.Settings;
|
||||||
import android.text.InputType;
|
import android.text.InputType;
|
||||||
import android.text.TextUtils;
|
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.view.Gravity;
|
import android.view.Gravity;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
@@ -252,9 +250,9 @@ public class PasswordTextView extends View {
|
|||||||
mText = mText.substring(0, length - 1);
|
mText = mText.substring(0, length - 1);
|
||||||
CharState charState = mTextChars.get(length - 1);
|
CharState charState = mTextChars.get(length - 1);
|
||||||
charState.startRemoveAnimation(0, 0);
|
charState.startRemoveAnimation(0, 0);
|
||||||
|
sendAccessibilityEventTypeViewTextChanged(textbefore, textbefore.length() - 1, 1, 0);
|
||||||
}
|
}
|
||||||
userActivity();
|
userActivity();
|
||||||
sendAccessibilityEventTypeViewTextChanged(textbefore, textbefore.length() - 1, 1, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getText() {
|
public String getText() {
|
||||||
|
|||||||
Reference in New Issue
Block a user