summaryrefslogtreecommitdiff
path: root/libs/utils
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-06-26 13:46:07 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2009-06-26 13:46:07 -0700
commit899543b030082ffb034d85943a1635b9b4b84f8c (patch)
tree37ffbb81e46542c2387e96be46ec5a2a1a9952b6 /libs/utils
parent24bd9da2fb0ad72e970f09991bea62beb71a952b (diff)
parent21342c5c19c1768fe98a30155bfa97fa4138dc80 (diff)
Merge change 5483 into donut
* changes: Expand support for different screen sizes.
Diffstat (limited to 'libs/utils')
-rw-r--r--libs/utils/ResourceTypes.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/utils/ResourceTypes.cpp b/libs/utils/ResourceTypes.cpp
index e4f9f0f9f3..7a33220d17 100644
--- a/libs/utils/ResourceTypes.cpp
+++ b/libs/utils/ResourceTypes.cpp
@@ -3919,7 +3919,7 @@ void ResTable::print(bool inclValues) const
printf(" NON-INTEGER ResTable_type ADDRESS: %p\n", type);
continue;
}
- printf(" config %d lang=%c%c cnt=%c%c orien=%d touch=%d density=%d key=%d infl=%d nav=%d w=%d h=%d\n",
+ printf(" config %d lang=%c%c cnt=%c%c orien=%d touch=%d density=%d key=%d infl=%d nav=%d w=%d h=%d lyt=%d\n",
(int)configIndex,
type->config.language[0] ? type->config.language[0] : '-',
type->config.language[1] ? type->config.language[1] : '-',
@@ -3932,7 +3932,8 @@ void ResTable::print(bool inclValues) const
type->config.inputFlags,
type->config.navigation,
dtohs(type->config.screenWidth),
- dtohs(type->config.screenHeight));
+ dtohs(type->config.screenHeight),
+ type->config.screenLayout);
size_t entryCount = dtohl(type->entryCount);
uint32_t entriesStart = dtohl(type->entriesStart);
if ((entriesStart&0x3) != 0) {