summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNandana Dutt <nandana@google.com>2018-11-14 10:10:29 +0000
committerNandana Dutt <nandana@google.com>2018-11-14 10:18:45 +0000
commitdd8cca362a5cb69228318ca1d327aaea5746bc14 (patch)
tree946c8f297d790b146b0be7bbce2a2d455267704f
parent13ad9e89040015ea830a8f6a6dbff0ae5ab64d83 (diff)
downloadnative-dd8cca362a5cb69228318ca1d327aaea5746bc14.tar.gz
Fix notification description
A previous refactoring had a typo which reads in notification description into the wrong variable. Fix it. Test: adb shell /data/nativetest64/dumpstate_test/dumpstate_test Change-Id: I4c6e826a10fcd94ba8e685506dd9711733a36b42
-rw-r--r--cmds/dumpstate/dumpstate.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index 0b9bca013c..f540f32597 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1971,7 +1971,8 @@ static void SetOptionsFromProperties(Dumpstate::DumpOptions* options) {
// Reset the property
android::base::SetProperty(PROPERTY_EXTRA_TITLE, "");
- options->extra_options = android::base::GetProperty(PROPERTY_EXTRA_DESCRIPTION, "");
+ options->notification_description =
+ android::base::GetProperty(PROPERTY_EXTRA_DESCRIPTION, "");
if (!options->notification_description.empty()) {
// Reset the property
android::base::SetProperty(PROPERTY_EXTRA_DESCRIPTION, "");