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

Commit 26237c97 authored by Raff Tsai's avatar Raff Tsai
Browse files

Add card score when serialize

Fixes: 127949838
Test: Use below command to check output log
      adb logcat | grep "SettingsIntLogLocal"

Change-Id: I29f3dbdb8237ad097b1c84b6cb770195a4a33aa5
parent 70963e38
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -165,6 +165,7 @@ public class ContextualCardFeatureProviderImpl implements ContextualCardFeatureP
                com.android.settings.intelligence.ContextualCardProto.ContextualCard.newBuilder()
                        .setSliceUri(card.getSliceUri().toString())
                        .setCardName(card.getName())
                        .setCardScore(card.getRankingScore())
                        .build()));
        return builder.build().toByteArray();
    }