| 6 | #define BASE_ANDROID_SYS_UTILS_H_ |
| 7 |
| 8 | #include "base/android/jni_android.h" |
| 9 |
| 10 | namespace base { |
| 11 | namespace android { |
| 12 |
| 13 | class BASE_EXPORT SysUtils { |
| 14 | public: |
| 15 | // Returns true iff this is a low-end device. |
| 16 | static bool IsLowEndDeviceFromJni(); |
| 17 | // Returns true if system has low available memory. |
| 18 | static bool IsCurrentlyLowMemory(); |
| 19 | }; |
| 20 |
| 21 | } // namespace android |
| 22 | } // namespace base |
| 23 |
| 24 | #endif // BASE_ANDROID_SYS_UTILS_H_ |
| 25 |