diff options
author | Amin Hassani <ahassani@chromium.org> | 2020-10-27 15:44:33 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-29 00:30:43 +0000 |
commit | 5d56c1eef7fd730a164c44a742ef2cb0afcfca8d (patch) | |
tree | 572f28ad39889ff2aac8883db17562120517465c /hardware_android.cc | |
parent | e8153631e85189ab578aa04b556801ee80d6d686 (diff) |
update_engine: Remove ec_version and fw_version
It seems like these values were set for devices like parrot that have
been AUE'ed long time ago. The server side doesn't use this values and
it doesn't seem we need them anywhere. So its better to not send them
anymore since currently we're just sending empty values for them.
BUG=b:171829801
TEST=FEATURES=test emerge-reef update_engine
Change-Id: I2d2cd5f9d079ce5c87fc8167e30f91d1ffe1c87a
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2504454
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Jae Hoon Kim <kimjae@chromium.org>
Reviewed-by: Tianjie Xu <xunchang@google.com>
Commit-Queue: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'hardware_android.cc')
-rw-r--r-- | hardware_android.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/hardware_android.cc b/hardware_android.cc index 48945224..8d1fdfdd 100644 --- a/hardware_android.cc +++ b/hardware_android.cc @@ -49,8 +49,6 @@ namespace { // Android properties that identify the hardware and potentially non-updatable // parts of the bootloader (such as the bootloader version and the baseband // version). -const char kPropBootBootloader[] = "ro.boot.bootloader"; -const char kPropBootBaseband[] = "ro.boot.baseband"; const char kPropProductManufacturer[] = "ro.product.manufacturer"; const char kPropBootHardwareSKU[] = "ro.boot.hardware.sku"; const char kPropBootRevision[] = "ro.boot.revision"; @@ -128,14 +126,6 @@ string HardwareAndroid::GetHardwareClass() const { return manufacturer + ":" + sku + ":" + revision; } -string HardwareAndroid::GetFirmwareVersion() const { - return GetProperty(kPropBootBootloader, ""); -} - -string HardwareAndroid::GetECVersion() const { - return GetProperty(kPropBootBaseband, ""); -} - string HardwareAndroid::GetDeviceRequisition() const { LOG(WARNING) << "STUB: Getting requisition is not supported."; return ""; |