I'm trying to add a string property in Android View.java and make ViewServer could dump view and get it.
Here is what I wrote, but it doesn't work.
protected String mTestinfo = "myTestInfo";
/** {@hide} */
@ViewDebug.ExportedProperty
public String getTestinfo(){
return mTestinfo;
}
Could anyone help on this?
Have you tried changing it to:
with a capital 'S'?