Merge "Implement stats logging for Compatibility API." into stage-aosp-master
am: 81e186ab99

Change-Id: I48e2e3cdc23cdfcc541a5912aec20435ebc4c0c8