Announce for accessiblity when taskbar is invoked/closed
Test: Manual Bug: 265620540 Change-Id: I6660be7716ec59c765f3d54f8fe9889eaaf56e10
This commit is contained in:
1 parent
d0838d3ac1
commit
1dc99f3848
5 files changed
+41
No files matched your search
@@ -189,6 +189,13 @@ public class TaskbarViewController implements TaskbarControllers.LoggableTaskbar
|
||||
mActivity.addOnDeviceProfileChangeListener(mDeviceProfileChangeListener);
|
||||
}
|
||||
|
||||
/**
|
||||
* Announcement for Accessibility when Taskbar stashes/unstashes.
|
||||
*/
|
||||
public void announceForAccessibility() {
|
||||
mTaskbarView.announceAccessibilityChanges();
|
||||
}
|
||||
|
||||
public void onDestroy() {
|
||||
LauncherAppState.getInstance(mActivity).getModel().removeCallbacks(mModelCallbacks);
|
||||
mActivity.removeOnDeviceProfileChangeListener(mDeviceProfileChangeListener);
|
||||
|
||||
Reference in new issue
Block a user