send trim events on red events
@@ -32,7 +32,19 @@ public enum MemoryTrimType {
OnSystemLowMemoryWhileAppInBackground(1),
/** This app is moving into the background, usually because the user navigated to another app. */
- OnAppBackgrounded(1);
+ OnAppBackgrounded(1),
+
+ /** Generated by MemoryRedManager. */
+ OnJavaMemoryRed(1),
+
+ /** Generated by MemoryRedManager. */
+ OnJavaMemoryYellow(0.5),
+
+ /** Generated by MemoryRedManager. */
+ OnSystemMemoryRed(1),
+
+ /** Generated by MemoryRedManager. */
+ OnSystemMemoryYellow(0.5);
private double mSuggestedTrimRatio;
