Merge "Removed duplicate call to Metric log, and using private logging method." into nyc-dev am: f2413b79c6
am: 10601fa8bd
* commit '10601fa8bd71be9e69fa7642ee286436368e8e81':
Removed duplicate call to Metric log, and using private logging method.
Change-Id: I007857278ba5c8b62482f805ac54f502ba345869
This commit is contained in:
@@ -544,12 +544,11 @@ public final class Metrics {
|
||||
|
||||
public static void logInvalidScopedAccessRequest(Context context,
|
||||
@InvalidScopedAccess String type) {
|
||||
MetricsLogger.count(context, type, 1);
|
||||
switch (type) {
|
||||
case SCOPED_DIRECTORY_ACCESS_INVALID_ARGUMENTS:
|
||||
case SCOPED_DIRECTORY_ACCESS_INVALID_DIRECTORY:
|
||||
case SCOPED_DIRECTORY_ACCESS_ERROR:
|
||||
MetricsLogger.count(context, type, 1);
|
||||
logCount(context, type);
|
||||
break;
|
||||
default:
|
||||
Log.wtf(TAG, "invalid InvalidScopedAccess: " + type);
|
||||
|
||||
Reference in New Issue
Block a user