Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4d3c760 authored by zhuw's avatar zhuw
Browse files

[QSST]add log for slideshow and save watermark

add log for slideshow and save watermark feature

Change-Id: I4419185d464aa4feb6f3bab0dfc0574b971d9fd2
CRs-Fixed: 2074386
parent 986ffc97
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -138,6 +138,7 @@ public class SlideshowPage extends ActivityState {
        };
        initializeViews();
        initializeData(data);
        Log.d(GalleryActivity.QSST, "enter slide show successfully");
    }

    private void loadNextBitmap() {
+5 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ import android.os.Handler;
import android.os.Message;
import android.util.Log;

import com.android.gallery3d.app.GalleryActivity;
import com.android.gallery3d.common.Utils;
import com.android.gallery3d.exif.ExifInterface;
import com.android.gallery3d.filtershow.cache.ImageLoader;
@@ -109,6 +110,10 @@ public class SaveWaterMark {
                    saveUri = SaveImage.linkNewFileToUri(context, selectedUri, destinationFile, time, false);
                }
                destinationBitmap.recycle();
                if (saveUri != selectedUri) {
                    Log.d(GalleryActivity.QSST, "watermark saved successfully"
                            + waterMarkRp.getName());
                }
                return saveUri;
            }