I tried to use *ViewDebug.startHierarchyTracing* method but it just do 
nothing since it checks *ViewDebug.TRACE_HIERARCHY* and returns immediately 
if it is *false*. Actually this is expected behavior according to JavaDoc:
This method will return immediately if TRACE_HIERARCHY is false.

The problem is that *TRACE_HIERARCHY* is declared in the source as a boolean 
constant with a value of *false**

/** Enables or disables view hierarchy tracing... */public static final boolean 
TRACE_HIERARCHY = false;
There are also startRecyclerTracing, startMotionEventTracing (hidden from 
public API) methods that depends on TRACE_RECYCLER and TRACE_MOTION_EVENTS 
constants respectively (which are also set to false).

So I wonder whether it is possible to use ViewDebug class at all or it is 
intended to be used in custom Android builds only? And if so are there such 
custom (debug?) builds for Emulator available?

*

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to