commit | ffd34374e82c71a3e25123d22712e7de8f102ce5 | [log] [tgz] |
---|---|---|
author | Yu Shan <shanyu@google.com> | Mon Sep 16 14:32:02 2024 -0700 |
committer | Yu Shan <shanyu@google.com> | Thu Sep 19 18:01:08 2024 -0700 |
tree | f86976b749c1b6351cb9928b6cc22b612c424c66 | |
parent | 0aaa398567c1f4b104407e651a3b76302625edd9 [diff] |
Inject getS2rS2dConfig through constructor. getS2rS2dConfig is used during FakeVehicleHardware constructor so at that point the subclass is not initialized yet and it cannot call into subclass's virtual methods. We need to inject the function directly into constructor. Flag: EXEMPT reference HAL Test: atest FakeVehicleHardwareTest Bug: 365994148 Change-Id: I79b9a22a2f60239e192c9f5fd4aad7338abae490