mirror of
https://github.com/Myzel394/Alibi.git
synced 2025-06-18 23:05:26 +02:00
refactor: Small code improvements, make code more dry
This commit is contained in:
parent
35614a7b7a
commit
c6dca0fc77
@ -259,18 +259,14 @@ class VideoRecorderService :
|
|||||||
)
|
)
|
||||||
put(
|
put(
|
||||||
MediaStore.Video.Media.RELATIVE_PATH,
|
MediaStore.Video.Media.RELATIVE_PATH,
|
||||||
Environment.DIRECTORY_DCIM + "/alibi/video_recordings"
|
VideoBatchesFolder.MEDIA_RELATIVE_PATH,
|
||||||
)
|
|
||||||
put(
|
|
||||||
MediaStore.Video.Media.DISPLAY_NAME,
|
|
||||||
name
|
|
||||||
)
|
|
||||||
} else {
|
|
||||||
put(
|
|
||||||
MediaStore.Video.Media.DISPLAY_NAME,
|
|
||||||
name
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
put(
|
||||||
|
MediaStore.Video.Media.DISPLAY_NAME,
|
||||||
|
name
|
||||||
|
)
|
||||||
}
|
}
|
||||||
).build()
|
).build()
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user