Code Cleanup: Add "IsUltraLowMemoryDevice" to avoid various 512MB checks |
|||
Issue descriptionNow that Android O treats 1GB devices as "IsLowMemoryDevice", the code has been sprinkled with additional "Memory() < 512MB" checks to restrict the more aggressive optimizations to 512MB. We should probably codify this with a new "IsUltraLowMemoryDevice" to avoid duplicating the 512MB value and make code more readable. (or maybe "GetLowMemoryDeviceMode" which returns an enum)
,
Aug 13
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 15
|
|||
►
Sign in to add a comment |
|||
Comment 1 by ericrk@chromium.org
, Aug 10 2017