mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
Announce for accessiblity when taskbar is invoked/closed
Test: Manual Bug: 265620540 Change-Id: I6660be7716ec59c765f3d54f8fe9889eaaf56e10
This commit is contained in:
@@ -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