Minor change
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "common/device_info_util.h"
|
||||
|
||||
#include "absl/strings/ascii.h"
|
||||
#include "protos/public/device_common.pb.h"
|
||||
|
||||
namespace widevine {
|
||||
bool IsMatchedMakeModel(const std::string& expected_make,
|
||||
@@ -29,10 +30,10 @@ bool VerifyMakeModel(const ProvisionedDeviceInfo& device_info,
|
||||
make_from_client, model_from_client)) {
|
||||
return true;
|
||||
}
|
||||
for (ProvisionedDeviceInfo::ModelInfo product_info :
|
||||
device_info.model_info()) {
|
||||
if (IsMatchedMakeModel(product_info.manufacturer(), product_info.model(),
|
||||
make_from_client, model_from_client)) {
|
||||
for (DeviceModel product_info : device_info.model_info()) {
|
||||
if (IsMatchedMakeModel(product_info.manufacturer(),
|
||||
product_info.model_name(), make_from_client,
|
||||
model_from_client)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user