Loading packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -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; } packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +8 −0 Original line number Diff line number Diff line Loading @@ -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, Loading Loading
packages/SystemUI/shared/src/com/android/systemui/shared/recents/IOverviewProxy.aidl +4 −0 Original line number Diff line number Diff line Loading @@ -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; }
packages/SystemUI/src/com/android/systemui/recents/OverviewProxyService.java +8 −0 Original line number Diff line number Diff line Loading @@ -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, Loading