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

Commit c4c70f3e authored by Govinda Wasserman's avatar Govinda Wasserman
Browse files

Adds the ability for SysUI to request QSB alpha changes.

Test: Tested locally
BUG:124063782
Change-Id: I2bdb2e66f3fa803695042e41e415b16f6f7eddea
parent 79013e11
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -119,4 +119,8 @@ oneway interface IOverviewProxy {
     */
    void onAssistantAvailable(boolean available) = 13;

    /**
     * Sent when the assistant changes how visible it is to the user.
     */
    void onAssistantVisibilityChanged(float visibility) = 14;
}
+8 −0
Original line number Diff line number Diff line
@@ -633,6 +633,14 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
        }
    }

    public void notifyAssistantVisibilityChanged(float visibility) {
        try {
            mOverviewProxy.onAssistantVisibilityChanged(visibility);
        } catch (RemoteException e) {
            Log.e(TAG_OPS, "Failed to call onAssistantVisibilityChanged()", e);
        }
    }

    private void updateEnabledState() {
        mIsEnabled = mContext.getPackageManager().resolveServiceAsUser(mQuickStepIntent,
                MATCH_SYSTEM_ONLY,