diff options
author | Mathias Agopian <mathias@google.com> | 2013-03-21 17:12:40 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2013-03-21 17:12:40 -0700 |
commit | cab25d680e644d962041d05a319e485b96136a5d (patch) | |
tree | 9ce3a3084a90a448bdb67270a1735686b3593d36 /libs/ui | |
parent | 7c1a487ba8c0a3b591a77e2ddcb33ef9bdfaff64 (diff) | |
download | frameworks_native-cab25d680e644d962041d05a319e485b96136a5d.tar.gz frameworks_native-cab25d680e644d962041d05a319e485b96136a5d.tar.bz2 frameworks_native-cab25d680e644d962041d05a319e485b96136a5d.zip |
improved CallStack a bit
- added a ctor that updates and dumps the stack immediately
- added a "logtag" parameter to dump()
Change-Id: Ie51c256071d282591752243bdb4f68cf9ff8829d
Diffstat (limited to 'libs/ui')
-rw-r--r-- | libs/ui/Region.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/ui/Region.cpp b/libs/ui/Region.cpp index 1a613f800..488fba32c 100644 --- a/libs/ui/Region.cpp +++ b/libs/ui/Region.cpp @@ -530,9 +530,7 @@ bool Region::validate(const Region& reg, const char* name, bool silent) } if (result == false && !silent) { reg.dump(name); - CallStack stack; - stack.update(); - stack.dump(""); + CallStack stack(LOG_TAG); } return result; } |