First pass at reworking screen density/size APIs.

This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
This commit is contained in:
Dianne Hackborn
2009-07-21 17:46:02 -07:00
parent fe6f45c814
commit c4db95c077
30 changed files with 746 additions and 210 deletions

View File

@ -4916,6 +4916,10 @@ class PackageManagerService extends IPackageManager.Stub {
ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS) != 0) {
screens.add("small,");
}
if ((ps.pkg.applicationInfo.flags &
ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS) != 0) {
screens.add("resizeable,");
}
pw.print(" supportsScreens="); pw.println(screens);
}
pw.print(" timeStamp="); pw.println(ps.getTimeStampStr());