Commit e5a7c5a9 authored by DroidFreak32's avatar DroidFreak32 Committed by Michael Bestas

Screenshot: Append app name after screenshot date.

Change-Id: I2ee5d65006ff22dfa381aae50e5757b8e7596e91
parent 23a9ff60
......@@ -169,7 +169,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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment