| Index: content/public/android/java/src/org/chromium/content/app/Linker.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/app/Linker.java b/content/public/android/java/src/org/chromium/content/app/Linker.java
|
| index 5cfa8223d7bb5e5e5d26aafe15befc96737a5d8a..3bcef73962819f84f86d3769ebfd93aca9c05449 100644
|
| --- a/content/public/android/java/src/org/chromium/content/app/Linker.java
|
| +++ b/content/public/android/java/src/org/chromium/content/app/Linker.java
|
| @@ -18,6 +18,8 @@ import android.os.Parcelable;
|
| import android.os.ParcelFileDescriptor;
|
| import android.util.Log;
|
|
|
| +import org.chromium.base.SysUtils;
|
| +
|
| /*
|
| * Technical note:
|
| *
|
| @@ -240,7 +242,7 @@ public class Linker {
|
| }
|
|
|
| if (sMemoryDeviceConfig == MEMORY_DEVICE_CONFIG_INIT) {
|
| - sMemoryDeviceConfig = nativeIsLowMemoryDevice() ?
|
| + sMemoryDeviceConfig = SysUtils.isLowEndDevice() ?
|
| MEMORY_DEVICE_CONFIG_LOW : MEMORY_DEVICE_CONFIG_NORMAL;
|
| }
|
|
|
| @@ -886,9 +888,6 @@ public class Linker {
|
| // Returns the native page size in bytes.
|
| private static native long nativeGetPageSize();
|
|
|
| - // Checks whether this is a low-memory device.
|
| - private static native boolean nativeIsLowMemoryDevice();
|
| -
|
| /**
|
| * Record information for a given library.
|
| * IMPORTANT: Native code knows about this class's fields, so
|
|
|