diff options
| author | Fabrice Di Meglio <fdimeglio@google.com> | 2013-03-27 16:36:21 -0700 |
|---|---|---|
| committer | Fabrice Di Meglio <fdimeglio@google.com> | 2013-03-29 13:12:07 -0700 |
| commit | b365f91688dc081b3bcea82377ce0e94c09124ff (patch) | |
| tree | c744d1b614b97bb4630aabbcc1966e80f1619d86 /core/java/android/view/ViewDebug.java | |
| parent | dac3fd9d90daffb4f6b08c788184ff38523348ba (diff) | |
Optimize ViewGroup.MarginLayoutParams memory and fix ViewDebug
- use private flag bit field for ViewGroup.MarginLayoutParams
- make ViewDebug support "byte" type for FlagMapping
Change-Id: Iff7c31544e3ce2d29919c9424425f2bf87042b8b
Diffstat (limited to 'core/java/android/view/ViewDebug.java')
| -rw-r--r-- | core/java/android/view/ViewDebug.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/java/android/view/ViewDebug.java b/core/java/android/view/ViewDebug.java index 987ff7857c32..40b6a0876d35 100644 --- a/core/java/android/view/ViewDebug.java +++ b/core/java/android/view/ViewDebug.java @@ -1054,8 +1054,7 @@ public class ViewDebug { String categoryPrefix = property.category().length() != 0 ? property.category() + ":" : ""; - if (type == int.class) { - + if (type == int.class || type == byte.class) { if (property.resolveId() && context != null) { final int id = field.getInt(view); fieldValue = resolveId(context, id); |
