Notifying users about crash report ID on login creates confusion.
Revert "Added notification that chat report has been sent after the user logs in."
This reverts commit 4e79bce3e2.
This commit is contained in:
@@ -4694,14 +4694,6 @@ void LLAppViewer::handleLoginComplete()
|
||||
gDebugInfo["MainloopTimeoutState"] = LLAppViewer::instance()->mMainloopTimeout->getState();
|
||||
}
|
||||
|
||||
// After login is complete, check if the crash report has been sent in this session
|
||||
// If it has, insert a notification
|
||||
if (LLCrashLogger::sReportID)
|
||||
{
|
||||
LLNotificationsUtil::add("CrashReportSent", LLSD().with("REPORT_ID", llformat("%d", LLCrashLogger::sReportID)));
|
||||
LLCrashLogger::sReportID = 0;
|
||||
}
|
||||
|
||||
mOnLoginCompleted();
|
||||
|
||||
writeDebugInfo();
|
||||
|
||||
@@ -63,17 +63,11 @@ public:
|
||||
virtual void result(const LLSD& content)
|
||||
{
|
||||
std::string msg = "Crash report successfully sent";
|
||||
|
||||
if (content.has("message"))
|
||||
{
|
||||
msg += ": " + content["message"].asString();
|
||||
}
|
||||
llinfos << msg << llendl;
|
||||
|
||||
if (content.has("report_id"))
|
||||
{
|
||||
LLCrashLogger::sReportID = content["report_id"].asInteger();
|
||||
}
|
||||
}
|
||||
|
||||
virtual AIHTTPTimeoutPolicy const& getHTTPTimeoutPolicy(void) const
|
||||
@@ -99,8 +93,6 @@ LLCrashLogger::~LLCrashLogger()
|
||||
|
||||
}
|
||||
|
||||
/*static*/ S32 LLCrashLogger::sReportID = 0;
|
||||
|
||||
// TRIM_SIZE must remain larger than LINE_SEARCH_SIZE.
|
||||
const int TRIM_SIZE = 128000;
|
||||
const int LINE_SEARCH_DIST = 500;
|
||||
|
||||
@@ -40,14 +40,13 @@ public:
|
||||
LLCrashLogger();
|
||||
virtual ~LLCrashLogger();
|
||||
S32 loadCrashBehaviorSetting();
|
||||
static S32 sReportID;
|
||||
bool readDebugFromXML(LLSD& dest, const std::string& filename );
|
||||
bool readDebugFromXML(LLSD& dest, const std::string& filename );
|
||||
void gatherFiles();
|
||||
void mergeLogs( LLSD src_sd );
|
||||
void mergeLogs( LLSD src_sd );
|
||||
|
||||
virtual void gatherPlatformSpecificFiles() {}
|
||||
bool saveCrashBehaviorSetting(S32 crash_behavior);
|
||||
bool sendCrashLog(std::string dump_dir);
|
||||
bool sendCrashLog(std::string dump_dir);
|
||||
LLSD constructPostData();
|
||||
void setUserText(const std::string& text) { mCrashInfo["UserNotes"] = text; }
|
||||
S32 getCrashBehavior() { return mCrashBehavior; }
|
||||
|
||||
@@ -9742,11 +9742,4 @@ Do you wish to export anyway?
|
||||
Object successfully exported to: [FILENAME]
|
||||
</notification>
|
||||
|
||||
<notification
|
||||
icon="notifytip.tga"
|
||||
name="CrashReportSent"
|
||||
type="notifytip">
|
||||
Thank you for submitting the crash report! Report ID is [REPORT_ID]
|
||||
</notification>
|
||||
|
||||
</notifications>
|
||||
|
||||
Reference in New Issue
Block a user