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

Commit 561c1209 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge "Move shutdown UI to sysui (when possible)" into oc-dr1-dev

am: de0c539d

Change-Id: Ide08868338f55a826f36ebc8f70c4d1decaefb70
parents 1f3c3376 de0c539d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -115,4 +115,6 @@ oneway interface IStatusBar
    void remQsTile(in ComponentName tile);
    void clickQsTile(in ComponentName tile);
    void handleSystemKey(in int key);

    void showShutdownUi(boolean isReboot, String reason);
}
+3 −0
Original line number Diff line number Diff line
@@ -39,4 +39,7 @@

    <!-- Whether the device uses the default focus highlight when focus state isn't specified. -->
    <bool name="config_useDefaultFocusHighlight">false</bool>

    <!-- Allow SystemUI to show the shutdown dialog -->
    <bool name="config_showSysuiShutdown">false</bool>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -2989,4 +2989,7 @@

    <!-- Enable the RingtonePickerActivity in 'com.android.providers.media'. -->
    <bool name="config_defaultRingtonePickerEnabled">true</bool>

    <!-- Allow SystemUI to show the shutdown dialog -->
    <bool name="config_showSysuiShutdown">true</bool>
</resources>
+1 −0
Original line number Diff line number Diff line
@@ -3065,4 +3065,5 @@
  <java-symbol type="bool" name="config_showAreaUpdateInfoSettings" />
  <java-symbol type="layout" name="shutdown_dialog" />
  <java-symbol type="dimen" name="chooser_service_spacing" />
  <java-symbol type="bool" name="config_showSysuiShutdown" />
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -26,6 +26,8 @@ public interface GlobalActions extends Plugin {
    int VERSION = 1;

    void showGlobalActions(GlobalActionsManager manager);
    default void showShutdownUi(boolean isReboot, String reason) {
    }

    @ProvidesInterface(version = GlobalActionsManager.VERSION)
    public interface GlobalActionsManager {
Loading