fix: Disable material expressive folder expansion animations

This commit is contained in:
Pun Butrach
2025-11-28 20:00:03 +07:00
parent 0ff9636c38
commit 9b90822395
2258 changed files with 165178 additions and 78080 deletions
@@ -17,7 +17,6 @@ package com.android.systemui.plugins.statusbar;
import android.annotation.Nullable;
import android.content.Context;
import android.graphics.Point;
import android.service.notification.StatusBarNotification;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewGroup;
@@ -59,9 +58,22 @@ public interface NotificationMenuRowPlugin extends Plugin {
public View getMenuView();
public View getGutsView();
/**
* The guts content that provides the [View] to be displayed.
*
* @return Object of type [NotificationGuts.GutsContent]. The interface is not known in this
* module, therefore only the implementation returns the proper type.
*/
Object getGutsContent();
public String getContentDescription();
/**
* Set the name of the app for this menuitem.
*
* @param appName App name.
*/
void setAppName(String appName);
}
/**
@@ -122,7 +134,7 @@ public interface NotificationMenuRowPlugin extends Plugin {
public void setAppName(String appName);
public void createMenu(ViewGroup parent, StatusBarNotification sbn);
public void createMenu(ViewGroup parent);
public void resetMenu();
@@ -215,9 +227,8 @@ public interface NotificationMenuRowPlugin extends Plugin {
/**
* Callback used to signal the menu that its parent notification has been updated.
* @param sbn
*/
public void onNotificationUpdated(StatusBarNotification sbn);
public void onNotificationUpdated();
/**
* Callback used to signal the menu that a user is moving the parent notification.