From c6e6ea79e1d6b3c430b3eab00da3c44e39db69e8 Mon Sep 17 00:00:00 2001 From: Vishnu Nair Date: Mon, 2 Jul 2018 14:20:06 -0700 Subject: Bugreport: Fix SystemUI service from being dumped twice 2/2 Bug: 110490179 Fix: 110490179 Test: Manual test dumpsys activity adb shell dumpsys activity service all-platform-non-critical adb shell dumpsys activity service all-platform adb shell dumpsys activity service Take bugreport and check contents Test: mmm -j56 frameworks/native/cmds/dumpstate && \ mmm -j56 frameworks/native/cmds/dumpsys && adb sync data && \ adb shell /data/nativetest64/dumpstate_test/dumpstate_test && \ adb shell /data/nativetest64/dumpsys_test/dumpsys_test && \ adb shell /data/nativetest64/dumpstate_smoke_test/dumpstate_smoke_test && \ printf "\n\n#### ALL TESTS PASSED ####\n" Change-Id: I3736823f72ccb42e0b2603575e827a1647d02ef1 Merged-In: I3736823f72ccb42e0b2603575e827a1647d02ef1 (cherry picked from commit e3694e314e14a696c056ab627c8a3b9066a4e87d) --- cmds/dumpstate/dumpstate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 240fb74f42..cf07a26563 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1337,7 +1337,7 @@ static void dumpstate() { printf("== Running Application Services (platform)\n"); printf("========================================================\n"); - RunDumpsys("APP SERVICES PLATFORM", {"activity", "service", "all-platform"}, + RunDumpsys("APP SERVICES PLATFORM", {"activity", "service", "all-platform-non-critical"}, DUMPSYS_COMPONENTS_OPTIONS); printf("========================================================\n"); -- cgit v1.2.3-59-g8ed1b