From 0eb86bfbe910f8d6971c618827edd6338de5f009 Mon Sep 17 00:00:00 2001 From: Nandana Dutt Date: Thu, 21 Feb 2019 16:10:10 +0000 Subject: Rename IDumpstateListener errorcode BUG:123571915 Test: adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test --gtest_filter=DumpstateBinderTest.* Change-Id: I5533f3bfed647a4068893b61dee371f5a4678650 --- cmds/dumpstate/DumpstateService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/dumpstate/DumpstateService.cpp') diff --git a/cmds/dumpstate/DumpstateService.cpp b/cmds/dumpstate/DumpstateService.cpp index 768cb4f2f6..ddae9ea8f6 100644 --- a/cmds/dumpstate/DumpstateService.cpp +++ b/cmds/dumpstate/DumpstateService.cpp @@ -127,7 +127,7 @@ binder::Status DumpstateService::startBugreport(int32_t calling_uid, if (ds_ != nullptr) { MYLOGE("Error! There is already a bugreport in progress. Returning."); if (listener != nullptr) { - listener->onError(IDumpstateListener::BUGREPORT_ERROR_CONCURRENT_BUGREPORTS_FORBIDDEN); + listener->onError(IDumpstateListener::BUGREPORT_ERROR_ANOTHER_REPORT_IN_PROGRESS); } return exception(binder::Status::EX_SERVICE_SPECIFIC, "There is already a bugreport in progress"); -- cgit v1.2.3-59-g8ed1b