mirror of
https://github.com/deltachat/deltachat-android.git
synced 2025-10-03 09:49:21 +02:00
Merge pull request #1621 from deltachat/add-log-warning
prefix log by a hint about sensitive information
This commit is contained in:
commit
152ea7c06b
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ public class LogViewFragment extends Fragment {
|
||||||
Context context = weakContext.get();
|
Context context = weakContext.get();
|
||||||
if (context == null) return null;
|
if (context == null) return null;
|
||||||
|
|
||||||
return buildDescription(context) + "\n" + new Scrubber().scrub(grabLogcat());
|
return "**This log may contain sensitive information. If you want to post it publicly you may examine and edit it beforehand.**\n\n" +
|
||||||
|
buildDescription(context) + "\n" + new Scrubber().scrub(grabLogcat());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue