diff options
author | Svetoslav <svetoslavganov@google.com> | 2013-09-12 14:37:47 -0700 |
---|---|---|
committer | Svetoslav <svetoslavganov@google.com> | 2013-09-12 16:58:58 -0700 |
commit | 651dd4e6ee6510caf9f15c51094a11121af17ec2 (patch) | |
tree | f86f1c4b313f425e5b1864c51a98710e3016ea39 /core/java/android/view | |
parent | 5fbfb81d31d452f75bc088d380711642993fef1c (diff) | |
download | frameworks_base-651dd4e6ee6510caf9f15c51094a11121af17ec2.zip frameworks_base-651dd4e6ee6510caf9f15c51094a11121af17ec2.tar.gz frameworks_base-651dd4e6ee6510caf9f15c51094a11121af17ec2.tar.bz2 |
Remove unneeded print APIs and update the min margins APIs.
1. Removed unneeded code in Resolution that was storing its
label as resource and package name. We do not have predefined
resolutions, therefore we always persist the label.
2. Renamed the print attribute margins to minMargins to reflect
that these are the minimal margins the printer support. Updated
the docs as well.
3. Renamed the create method of all builder to build.
bug:10727487
Change-Id: Ie72ab8aaa5215b8bd2853885011b3b4efa4deb2e
Diffstat (limited to 'core/java/android/view')
-rw-r--r-- | core/java/android/view/accessibility/AccessibilityNodeInfoCache.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/accessibility/AccessibilityNodeInfoCache.java b/core/java/android/view/accessibility/AccessibilityNodeInfoCache.java index 1fde2fa..02d4c8d 100644 --- a/core/java/android/view/accessibility/AccessibilityNodeInfoCache.java +++ b/core/java/android/view/accessibility/AccessibilityNodeInfoCache.java @@ -100,7 +100,7 @@ public class AccessibilityNodeInfoCache { } } break; } - if (Build.IS_DEBUGGABLE && CHECK_INTEGRITY_IF_DEBUGGABLE_BUILD) { + if (CHECK_INTEGRITY_IF_DEBUGGABLE_BUILD && Build.IS_DEBUGGABLE) { checkIntegrity(); } } |