summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/am/ActivityManagerService.java
diff options
context:
space:
mode:
authorMitsuru Oshima <oshima@google.com>2009-06-03 11:19:12 -0700
committerMitsuru Oshima <oshima@google.com>2009-06-03 16:28:10 -0700
commit9189cabb0b6c6c28232fe6f412b7ba7a37352a6a (patch)
tree6ddc6a8eb0158cba32cc6139b04c6b6eb9f0ba5f /services/java/com/android/server/am/ActivityManagerService.java
parenteaeb663bcd7a82b654954b42663232cbd7bef7e7 (diff)
downloadframeworks_base-9189cabb0b6c6c28232fe6f412b7ba7a37352a6a.zip
frameworks_base-9189cabb0b6c6c28232fe6f412b7ba7a37352a6a.tar.gz
frameworks_base-9189cabb0b6c6c28232fe6f412b7ba7a37352a6a.tar.bz2
* Moved supports-density tag under manifest
* Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.
Diffstat (limited to 'services/java/com/android/server/am/ActivityManagerService.java')
-rw-r--r--services/java/com/android/server/am/ActivityManagerService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/am/ActivityManagerService.java b/services/java/com/android/server/am/ActivityManagerService.java
index 9650790..5202b6f 100644
--- a/services/java/com/android/server/am/ActivityManagerService.java
+++ b/services/java/com/android/server/am/ActivityManagerService.java
@@ -183,7 +183,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
// The flags that are set for all calls we make to the package manager.
static final int STOCK_PM_FLAGS = PackageManager.GET_SHARED_LIBRARY_FILES
- | PackageManager.GET_SUPPORTS_DENSITIES;
+ | PackageManager.GET_SUPPORTS_DENSITIES | PackageManager.GET_EXPANDABLE;
private static final String SYSTEM_SECURE = "ro.secure";