OSDN Git Service

NoMan/SysUI: Clear LEDs only when entering the shade
[android-x86/frameworks-base.git] / services / core / java / com / android / server / notification / NotificationDelegate.java
index 24fc455..fdb443e 100644 (file)
@@ -26,8 +26,9 @@ public interface NotificationDelegate {
     void onNotificationError(int callingUid, int callingPid,
             String pkg, String tag, int id,
             int uid, int initialPid, String message, int userId);
-    void onPanelRevealed();
+    void onPanelRevealed(boolean clearEffects);
     void onPanelHidden();
+    void clearEffects();
     void onNotificationVisibilityChanged(
             String[] newlyVisibleKeys, String[] noLongerVisibleKeys);
     void onNotificationExpansionChanged(String key, boolean userAction, boolean expanded);