Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98f3c374 authored by Bruno Martins's avatar Bruno Martins
Browse files

GlobalActionsDialog: Hint that there's more behind restart button

If advanced restart is enabled, show a slightly different text to
hint that there might be something more behind it. The string exists,
so make use of it.

Change-Id: I607fb48c24ea7a8c004ccca33af19ced1847e170
parent c4214cf2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1002,7 +1002,9 @@ public class GlobalActionsDialog implements DialogInterface.OnDismissListener,
    @VisibleForTesting
    final class RestartAction extends SinglePressAction implements LongPressAction {
        private RestartAction() {
            super(R.drawable.ic_restart, R.string.global_action_restart);
            super(R.drawable.ic_restart, shouldShowRestartSubmenu()
                    ? com.android.systemui.R.string.global_action_restart_more
                    : R.string.global_action_restart);
        }

        @Override