Merge "Fix the sample code in WindowMetrics javaDoc" into sc-dev