Merge "Add metrics constant for platform compat UI." into stage-aosp-master