fix: Disable material expressive folder expansion animations
This commit is contained in:
+16
-5
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user