Set correct window title in Global Actions Dialog
This way it will be properly announced by a11y services. Fixes: 208956672 Test: manual Change-Id: Ifb28669e2aa0e51abc4f66e5065f91f4f0638f0b
This commit is contained in:
@@ -2303,6 +2303,8 @@ public class GlobalActionsDialogLite implements DialogInterface.OnDismissListene
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
getWindow().setTitle(getContext().getString(
|
||||
com.android.systemui.R.string.accessibility_quick_settings_power_menu));
|
||||
initializeLayout();
|
||||
mWindowDimAmount = getWindow().getAttributes().dimAmount;
|
||||
getOnBackInvokedDispatcher().registerOnBackInvokedCallback(
|
||||
|
||||
Reference in New Issue
Block a user