Skip to content

Commit

Permalink
Specific trim type for moderate running memory
Browse files Browse the repository at this point in the history
Differential Revision: D63231273

fbshipit-source-id: 0de56125c4c18fb636c299e83e7f8bfc0c4e1874
  • Loading branch information
Varun Arora authored and facebook-github-bot committed Sep 25, 2024
1 parent 15f74fb commit 64e27dc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ public enum MemoryTrimType {
/** The system as a whole is running out of memory, and this application is in the background. */
OnSystemLowMemoryWhileAppInBackgroundLowSeverity(1),

/** The system as a whole is running out of memory, and this application is in the background. */
OnSystemModerateMemory(0.5),

/** This app is moving into the background, usually because the user navigated to another app. */
OnAppBackgrounded(1),

Expand Down

0 comments on commit 64e27dc

Please sign in to comment.