Skip to content

Commit 7cb107a

Browse files
committed
Image 添加 lastModified 信息
1 parent 51b85d9 commit 7cb107a

27 files changed

+12
-2211
lines changed

app/jni/search_image/search_image.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const int PNG_HEADER = 0x89504E47;
2626
const uint16_t EXIF_MAGIC_NUMBER = 0xFFD8;
2727

2828
void search_image(const char *name) {
29-
printf("search_image:%s\n", name);
29+
// printf("search_image:%s\n", name);
3030
DIR *dir;
3131
struct dirent *entry;
3232
struct stat statbuf;
@@ -46,7 +46,7 @@ void search_image(const char *name) {
4646
ImageType type = get_image_type(path);
4747
if (type != UNKNOWN) {
4848
lstat(path, &statbuf);
49-
printf("%lli %d %s\n", statbuf.st_size, type, path);
49+
printf("%lli %lli %d %s\n", statbuf.st_size, statbuf.st_mtime, type, path);
5050
}
5151
}
5252
}
@@ -96,6 +96,6 @@ ImageType get_image_type(const char *path) {
9696

9797
int main(int argc, char *argv[]) {
9898
search_image(argv[1]);
99-
printf("finished!\n");
99+
// printf("finished!\n");
100100
exit(0);
101101
}
0 Bytes
Binary file not shown.
Binary file not shown.
4 Bytes
Binary file not shown.
-8 Bytes
Binary file not shown.
-16 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

app/src/main/java/org/sufficientlysecure/rootcommands/Mount.java

Lines changed: 0 additions & 58 deletions
This file was deleted.

app/src/main/java/org/sufficientlysecure/rootcommands/Remounter.java

Lines changed: 0 additions & 191 deletions
This file was deleted.

0 commit comments

Comments
 (0)