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

Commit b9c74ace authored by Winson Chung's avatar Winson Chung
Browse files

Making the screenshot filename smaller to fix issue on certain platforms.

Bug: 11574102
Change-Id: Ia71e600a6d484bc36624ae959841ae0b3f23697a
parent aee097c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ class SaveImageInBackgroundTask extends AsyncTask<SaveImageInBackgroundData, Voi

        // Prepare all the output metadata
        mImageTime = System.currentTimeMillis();
        String imageDate = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss").format(new Date(mImageTime));
        String imageDate = new SimpleDateFormat("yyyyMMdd-HHmmss").format(new Date(mImageTime));
        mImageFileName = String.format(SCREENSHOT_FILE_NAME_TEMPLATE, imageDate);

        mScreenshotDir = new File(Environment.getExternalStoragePublicDirectory(