Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd8cca36 authored by Nandana Dutt's avatar Nandana Dutt
Browse files

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
parent 13ad9e89
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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, "");