am 5473ffba: am f6a2598f: Merge "Removing a debug check when logging fstrim events." into jb-mr2-dev
* commit '5473ffba405af12f2c5d3a7363ed959a9648eaf4':
Removing a debug check when logging fstrim events.
diff --git a/services/java/com/android/server/MountService.java b/services/java/com/android/server/MountService.java
index 82f8d43..d7adbf7 100644
--- a/services/java/com/android/server/MountService.java
+++ b/services/java/com/android/server/MountService.java
@@ -36,7 +36,6 @@
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 @@
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());
- }
+ EventLogTags.writeFstrimFinish(SystemClock.elapsedRealtime());
} else {
Slog.e(TAG, String.format("Unknown code {%d}", code));
}