diff options
author | Mitsuru Oshima <oshima@google.com> | 2009-07-17 17:23:31 -0700 |
---|---|---|
committer | Mitsuru Oshima <oshima@google.com> | 2009-07-19 19:17:06 -0700 |
commit | 841f13c8e9ff3f7695b6c18a8abcec3c947983ff (patch) | |
tree | 9807b2d7f900cc841aac07eaa19b948a8189c381 /services | |
parent | 5c536e9162721c460699a041959a0d67de1d20db (diff) | |
download | frameworks_base-841f13c8e9ff3f7695b6c18a8abcec3c947983ff.zip frameworks_base-841f13c8e9ff3f7695b6c18a8abcec3c947983ff.tar.gz frameworks_base-841f13c8e9ff3f7695b6c18a8abcec3c947983ff.tar.bz2 |
* Reverted the change in PackageParser that I checked by accident
* More surface view fix.
- correct event translation on surface view.
- use compatible window
* removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary.
* Added compatibility related info to package dumpsys
Diffstat (limited to 'services')
-rw-r--r-- | services/java/com/android/server/PackageManagerService.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/services/java/com/android/server/PackageManagerService.java b/services/java/com/android/server/PackageManagerService.java index b85cf2c..d8dafb6 100644 --- a/services/java/com/android/server/PackageManagerService.java +++ b/services/java/com/android/server/PackageManagerService.java @@ -4905,6 +4905,22 @@ class PackageManagerService extends IPackageManager.Stub { pw.print(" resourcePath="); pw.println(ps.resourcePathString); if (ps.pkg != null) { pw.print(" dataDir="); pw.println(ps.pkg.applicationInfo.dataDir); + pw.print(" targetSdk="); pw.println(ps.pkg.applicationInfo.targetSdkVersion); + pw.print(" densities="); pw.println(ps.pkg.supportsDensityList); + ArrayList<String> screens = new ArrayList<String>(); + if ((ps.pkg.applicationInfo.flags & + ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS) != 0) { + screens.add("medium"); + } + if ((ps.pkg.applicationInfo.flags & + ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS) != 0) { + screens.add("large"); + } + if ((ps.pkg.applicationInfo.flags & + ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS) != 0) { + screens.add("small,"); + } + pw.print(" supportsScreens="); pw.println(screens); } pw.print(" timeStamp="); pw.println(ps.getTimeStampStr()); pw.print(" signatures="); pw.println(ps.signatures); |