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

Commit 9e814a8c authored by Svetoslav's avatar Svetoslav
Browse files

Removing a debug check when logging fstrim events.

This change is removing the check for debuggable build to
log fstrim events. While this was done everywhere else, one
place was overlooked.

bug:8688454

Change-Id: I354e1deebfd801f971dd91b9e7972c6ebfd093f3
parent f23b64df
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -36,7 +36,6 @@ import android.net.Uri;
import android.os.Binder;
import android.os.Environment;
import android.os.Environment.UserEnvironment;
import android.os.Build;
import android.os.Handler;
import android.os.HandlerThread;
import android.os.IBinder;
@@ -866,9 +865,7 @@ class MountService extends IMountService.Stub
                updatePublicVolumeState(volume, Environment.MEDIA_BAD_REMOVAL);
                action = Intent.ACTION_MEDIA_BAD_REMOVAL;
            } else if (code == VoldResponseCode.FstrimCompleted) {
                if (Build.IS_DEBUGGABLE) {
                EventLogTags.writeFstrimFinish(SystemClock.elapsedRealtime());
                }
            } else {
                Slog.e(TAG, String.format("Unknown code {%d}", code));
            }