summaryrefslogtreecommitdiff
path: root/include/utils/String8.h
diff options
context:
space:
mode:
author Jeff Brown <jeffbrown@google.com> 2010-07-15 23:54:05 -0700
committer Jeff Brown <jeffbrown@google.com> 2010-07-16 00:02:48 -0700
commit0a128e3cbef25e17aa7280928e682801041fa55f (patch)
tree8f2ac5fea3363624a9b51871524b3e711263bdac /include/utils/String8.h
parent9c48c34ebe2d87e68d0a90b2e7334d1722368f37 (diff)
Fix bug with phantom input windows.
Add dumpsys integration for the native input dispatcher. Add some InputDevice API stubs. Add an appendFormat helper method to String8 for printf style string formatting mainly for debugging purposes. Use generic ArrayList<WindowState> everywhere in WindowManagerService to eliminate unnecessary casts all over. Change-Id: I9d1e3bd90eb7222d10620200477f11b7bfd25e44
Diffstat (limited to 'include/utils/String8.h')
-rw-r--r--include/utils/String8.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/utils/String8.h b/include/utils/String8.h
index c4b18a4caa..0b18fe3d22 100644
--- a/include/utils/String8.h
+++ b/include/utils/String8.h
@@ -171,6 +171,8 @@ public:
status_t append(const char* other);
status_t append(const char* other, size_t numChars);
+ status_t appendFormat(const char* fmt, ...);
+
// Note that this function takes O(N) time to calculate the value.
// No cache value is stored.
size_t getUtf32Length() const;