Merge "Set correct window title in Global Actions Dialog" into udc-dev

This commit is contained in:
Fabian Kozynski
2023-06-15 14:14:00 +00:00
committed by Android (Google) Code Review

View File

@@ -2307,6 +2307,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(