Skip to content

Commit

Permalink
本地回放,修复日期计算的问题
Browse files Browse the repository at this point in the history
Change-Id: I04113e6b6f906870a139d0b3988e6f1a0e102d37
  • Loading branch information
sevenhhe authored and sevenhhe committed Oct 26, 2021
1 parent 02ed71f commit 1363e8b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ class VideoLocalPlaybackFragment: VideoPlaybackBaseFragment(), TextureView.Surfa
// 转换成实际有录像的日期
dateDataSet.add(it)
var datesStrArr = Integer.toBinaryString(respJson.getInteger("video_list"))
datesStrArr = datesStrArr.reversed()
var dateParam: MutableList<String> = ArrayList()
for (i in datesStrArr.indices) {
if (datesStrArr[i].toString() == "1") {
Expand Down

0 comments on commit 1363e8b

Please sign in to comment.