Merge "Set correct window title in Global Actions Dialog" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
690a6e6338
@@ -2307,6 +2307,8 @@ public class GlobalActionsDialogLite implements DialogInterface.OnDismissListene
|
|||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
|
getWindow().setTitle(getContext().getString(
|
||||||
|
com.android.systemui.R.string.accessibility_quick_settings_power_menu));
|
||||||
initializeLayout();
|
initializeLayout();
|
||||||
mWindowDimAmount = getWindow().getAttributes().dimAmount;
|
mWindowDimAmount = getWindow().getAttributes().dimAmount;
|
||||||
getOnBackInvokedDispatcher().registerOnBackInvokedCallback(
|
getOnBackInvokedDispatcher().registerOnBackInvokedCallback(
|
||||||
|
|||||||
Reference in New Issue
Block a user