log as counters instead of histograms
this will interoperate better with UMA Bug: 26687914 Change-Id: Ie63b2be2d457054c96b070ada3bb92141ab1fb5a
This commit is contained in:
@@ -95,11 +95,11 @@ public class SharedPreferencesLogger implements SharedPreferences {
|
||||
}
|
||||
|
||||
private void logValue(String key, String value) {
|
||||
MetricsLogger.histogram(mContext, mTag + "/" + key + "|" + value, 1);
|
||||
MetricsLogger.count(mContext, mTag + "/" + key + "|" + value, 1);
|
||||
}
|
||||
|
||||
private void logPackageName(String key, String value) {
|
||||
MetricsLogger.histogram(mContext, mTag + "/" + key, 1);
|
||||
MetricsLogger.count(mContext, mTag + "/" + key, 1);
|
||||
MetricsLogger.action(mContext, MetricsEvent.ACTION_GENERIC_PACKAGE,
|
||||
mTag + "/" + key + "|" + value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user