version:6.4.6

fix:
update:增加护眼模式,增加静默拍照,增加时间管控和专注模式
This commit is contained in:
2023-09-28 15:01:45 +08:00
parent 183cde2afb
commit 6de0c1f016
30 changed files with 2049 additions and 32 deletions

View File

@@ -73,6 +73,13 @@ public class TimeUtils {
return zeroTime;
}
public static String getPhotoDate() {
long millisecond = System.currentTimeMillis();
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");
Date date = new Date(millisecond);
return sdf.format(date);
}
@RequiresApi(api = Build.VERSION_CODES.O)
public static boolean isTodayTime(long timeStamp) {
String time = transferLongToDate(timeStamp);