[android] Rolled back sd failure subject for feedback letter

This commit is contained in:
Александр Зацепин 2019-10-09 14:29:01 +03:00 committed by yoksnod
parent 59e7eaa613
commit 9b59fd31a3
3 changed files with 5 additions and 4 deletions

View file

@ -34,7 +34,7 @@ public class HelpFragment extends BaseSettingsFragment
{
Statistics.INSTANCE.trackEvent(Statistics.EventName.Settings.REPORT_BUG);
AlohaHelper.logClick(AlohaHelper.Settings.REPORT_BUG);
Utils.sendBugReport(requireActivity());
Utils.sendBugReport(requireActivity(), "Bugreport from user");
}
@Override

View file

@ -108,7 +108,8 @@ public class StoragePathFragment extends BaseSettingsFragment
new AlertDialog.Builder(activity)
.setTitle(message)
.setPositiveButton(R.string.report_a_bug, (dialog, which) -> Utils.sendBugReport(activity)).show();
.setPositiveButton(R.string.report_a_bug,
(dialog, which) -> Utils.sendBugReport(activity, message)).show();
}
static String getSizeString(long size)

View file

@ -276,9 +276,9 @@ public class Utils
}
}
public static void sendBugReport(@NonNull Activity activity)
public static void sendBugReport(@NonNull Activity activity, @NonNull String subject)
{
LoggerFactory.INSTANCE.zipLogs(new SupportInfoWithLogsCallback(activity, "Bugreport from user",
LoggerFactory.INSTANCE.zipLogs(new SupportInfoWithLogsCallback(activity, subject,
Constants.Email.SUPPORT));
}