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

Commit 854332a5 authored by DroidFreak32's avatar DroidFreak32 Committed by Bruno Martins
Browse files

Screenshot: Append app name after screenshot date.

Change-Id: I2ee5d65006ff22dfa381aae50e5757b8e7596e91
parent 7dc1eeec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ class SaveImageInBackgroundTask extends AsyncTask<Void, Void, Void> {
            // Replace all spaces and special chars with an underscore
            String appNameString = appName.toString().replaceAll("[\\\\/:*?\"<>|\\s]+", "_");
            mImageFileName = String.format(SCREENSHOT_FILE_NAME_TEMPLATE_APPNAME,
                    appNameString, imageDate);
                    imageDate, appNameString);
        } else {
            mImageFileName = String.format(SCREENSHOT_FILE_NAME_TEMPLATE, imageDate);
        }