Format code

This commit is contained in:
Ming Ming 2022-06-16 23:04:22 +08:00
parent 12542856a0
commit 8805861ea4

View file

@ -528,8 +528,7 @@ private open class ImageProcessorCommandTask(context: Context) :
handleCancel() handleCancel()
return try { return try {
val fileUri = Uri.fromFile(file) val fileUri = Uri.fromFile(file)
val output = measureTime( val output = measureTime(TAG, "[handleCommand] Elapsed time", {
TAG, "[handleCommand] Elapsed time", {
when (cmd.method) { when (cmd.method) {
ImageProcessorService.METHOD_ZERO_DCE -> ZeroDce( ImageProcessorService.METHOD_ZERO_DCE -> ZeroDce(
context, cmd.maxWidth, cmd.maxHeight, context, cmd.maxWidth, cmd.maxHeight,