commit | 2c6c5e6e49795e6e24cd089c9018377d837ba931 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Thu Oct 08 17:55:49 2009 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Thu Oct 08 18:43:47 2009 -0700 |
tree | 4ab3596388a0022d13328fd1aed3eefc94f5b118 | |
parent | d10d02f53ec00bfa9eb9f5accf6454e4a4bbb6a6 [diff] [blame] |
Fix issue #2176944: Need API so browser, others can determine memory size of device Change-Id: I65d91cdb70df91b67fe84297dd6a94d26a785131
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java index 3460d3a..e1e8bea 100644 --- a/services/java/com/android/server/am/ActivityManagerService.java +++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -1436,6 +1436,8 @@ mSimpleProcessManagement = true; } + Log.i(TAG, "Memory class: " + ActivityManager.staticGetMemoryClass()); + MY_PID = Process.myPid(); File dataDir = Environment.getDataDirectory();