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

Commit 1c721134 authored by Govinda Wasserman's avatar Govinda Wasserman Committed by Android (Google) Code Review
Browse files

Merge "Adds the ability for SysUI to request QSB alpha changes."

parents ce10ef80 c4c70f3e
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,