Revert "Change IsMethodTracingActive to GetMethodTracingMode for frameworks."

This reverts commit f93e3ebf80c16bc947323b02b991a01845366ad6.