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

Commit 1d20db27 authored by Yu Shan's avatar Yu Shan Committed by Android (Google) Code Review
Browse files

Merge "Fix minor bugs about value type."

parents 6b371e2b 3910aa4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -45,7 +45,7 @@ std::vector<aidl_vehicle::VehiclePropConfig> prepareTestConfigs() {


std::vector<aidl_vehicle::VehiclePropValue> prepareTestValues() {
std::vector<aidl_vehicle::VehiclePropValue> prepareTestValues() {
    std::vector<aidl_vehicle::VehiclePropValue> values;
    std::vector<aidl_vehicle::VehiclePropValue> values;
    long timestamp = 1;
    int64_t timestamp = 1;
    for (auto& property : defaultconfig::getDefaultConfigs()) {
    for (auto& property : defaultconfig::getDefaultConfigs()) {
        values.push_back({
        values.push_back({
                .timestamp = timestamp,
                .timestamp = timestamp,
+1 −1
Original line number Original line Diff line number Diff line
@@ -39,7 +39,7 @@ struct DumpResult {
// A request type for 'setValues' or 'getValues' method.
// A request type for 'setValues' or 'getValues' method.
struct VehiclePropValueRequest {
struct VehiclePropValueRequest {
    // A unique request ID set by the sender.
    // A unique request ID set by the sender.
    int requestId;
    int64_t requestId;
    // The property to get/set.
    // The property to get/set.
    ::aidl::android::hardware::automotive::vehicle::VehiclePropValue value;
    ::aidl::android::hardware::automotive::vehicle::VehiclePropValue value;
};
};