Commit deedff7
committed
fix(wallpaper-cache): support ENABLE_DSS_SNIPE and close file handle
- Use conditional compilation for wallpaper cache service verification.
- Added DBus interface validity check when ENABLE_DSS_SNIPE is defined.
- Close origin image file handle to prevent leaks.
- 在验证壁纸缓存服务时增加条件编译支持。
- 当定义了 ENABLE_DSS_SNIPE 时,增加 DBus 接口有效性检查。
- 关闭原始图片文件句柄以防止泄漏。
Log: fix(wallpaper-cache): support ENABLE_DSS_SNIPE and close file handle
Change-Id: I5440d4c3ebed502629f415c7ddb1ff0358cf1f311 parent 8d6fdf4 commit deedff7
1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
743 | 743 | | |
744 | 744 | | |
745 | 745 | | |
| 746 | + | |
746 | 747 | | |
747 | 748 | | |
748 | 749 | | |
749 | 750 | | |
750 | 751 | | |
751 | 752 | | |
| 753 | + | |
752 | 754 | | |
753 | 755 | | |
754 | 756 | | |
755 | 757 | | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
756 | 764 | | |
757 | 765 | | |
758 | 766 | | |
| |||
775 | 783 | | |
776 | 784 | | |
777 | 785 | | |
| 786 | + | |
| 787 | + | |
778 | 788 | | |
779 | 789 | | |
780 | 790 | | |
| |||
0 commit comments