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

Commit c8e00fee 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...

Merge "Removed duplicate call to Metric log, and using private logging method." into nyc-dev am: f2413b79 am: 69742952
am: ff23546c

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

Change-Id: Ibf8070a47c2a0e14bd4eb24b322dfebb7c019675
parents 50a247fd ff23546c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -545,12 +545,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);