Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 10601fa8 authored by Ben Lin's avatar Ben Lin Committed by android-build-merger
Browse files

Merge "Removed duplicate call to Metric log, and using private logging method." into nyc-dev

am: f2413b79

* commit 'f2413b79':
  Removed duplicate call to Metric log, and using private logging method.

Change-Id: I9c2af4839ceb15559f8ff5154c84bb03442a441b
parents ae362048 f2413b79
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);