Add talkback feedback when setting passowrd/pin/pattern complete
Bug: 297959385 Test: 1. Enable talkback 2. Change or Set a password/pattern/pin 3. Check if there is a feedback after setting complete Change-Id: I9a63bc99575e27b504dd3130e416f65dac068b4e
This commit is contained in:
@@ -12633,4 +12633,7 @@
|
|||||||
<string name="content_protection_preference_subpage_summary"></string>
|
<string name="content_protection_preference_subpage_summary"></string>
|
||||||
<!-- Default information at the bottom of the subpage of content protection settings. Will be overlaid by OEM. -->
|
<!-- Default information at the bottom of the subpage of content protection settings. Will be overlaid by OEM. -->
|
||||||
<string name="content_protection_preference_subpage_info"></string>
|
<string name="content_protection_preference_subpage_info"></string>
|
||||||
|
|
||||||
|
<!-- Content description for setting password complete-->
|
||||||
|
<string name="accessibility_setup_password_complete">Password is now set up</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
@@ -1084,6 +1084,12 @@ public class ChooseLockPassword extends SettingsActivity {
|
|||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mLayout != null) {
|
||||||
|
mLayout.announceForAccessibility(
|
||||||
|
getString(R.string.accessibility_setup_password_complete));
|
||||||
|
}
|
||||||
|
|
||||||
getActivity().finish();
|
getActivity().finish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -871,6 +871,12 @@ public class ChooseLockPattern extends SettingsActivity {
|
|||||||
startActivity(intent);
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mSudContent != null) {
|
||||||
|
mSudContent.announceForAccessibility(
|
||||||
|
getString(R.string.accessibility_setup_password_complete));
|
||||||
|
}
|
||||||
|
|
||||||
getActivity().finish();
|
getActivity().finish();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user