commit | 8db0bc013112a463db31f3c50a78a4ff347b7830 | [log] [tgz] |
---|---|---|
author | Tom Bergan <tombergan@google.com> | Mon Sep 11 21:45:21 2023 +0000 |
committer | Tom Bergan <tombergan@google.com> | Thu Sep 14 21:55:14 2023 +0000 |
tree | a52b9f0436a18987b30f438267c037009857cf15 | |
parent | b2d50752996ab4c90d655e6389a00ffe4c9f80ed [diff] |
Fix crash in SthalCli SthalCli does not set all String fields of Properties, which results in some fields being null, which causes a NullPointerExecption when the Properties is converted to a SoundTrigger.ModuleProperties: https://cs.android.com/android/platform/superproject/+/main:frameworks/base/core/java/android/hardware/soundtrigger/SoundTrigger.java;drc=e6ac0c57d7261d83870571c7198518998e0f1732;l=164 This CL fixes that problem by setting the uuid and model arch fields. The uuid is set to a static randomly-generated UUID, instead of a dynamic randomly-generated UUID, so the UUID is more easily grep-able. Fixes: 300518031 Test: manually Change-Id: I3746470551aed1e0e5a806195c124a70037f1baf