forked from organicmaps/organicmaps
[android] Rolled back sd failure subject for feedback letter
This commit is contained in:
parent
59e7eaa613
commit
9b59fd31a3
3 changed files with 5 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue