Remove API Version TODO Comments
(This is a merge of http://go/wvgerrit/26221) We have agreed on API 26 for O, so these comments can be removed without making any further changes. Bug: 34548395 Test: This is a comment-only change. But I verified it builds. Change-Id: I490befba4f47902a84b60e562a7a5eb162a9f3be
This commit is contained in:
@@ -63,7 +63,6 @@ bool WVDrmFactory::areSpoidsEnabled() {
|
|||||||
// version is the first if it's a factory ROM.
|
// version is the first if it's a factory ROM.
|
||||||
firstApiLevel = property_get_int32("ro.build.version.sdk", 0);
|
firstApiLevel = property_get_int32("ro.build.version.sdk", 0);
|
||||||
}
|
}
|
||||||
// TODO(juce): b/34548395 Make sure this API version is correct.
|
|
||||||
return firstApiLevel >= 26; // Android O
|
return firstApiLevel >= 26; // Android O
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ TEST(WVDrmFactoryTest, CalculatesSpoidUseCorrectly) {
|
|||||||
// version is the first if it's a factory ROM.
|
// version is the first if it's a factory ROM.
|
||||||
firstApiLevel = property_get_int32("ro.build.version.sdk", 0);
|
firstApiLevel = property_get_int32("ro.build.version.sdk", 0);
|
||||||
}
|
}
|
||||||
// TODO(juce): b/34548395 Make sure this API version is correct.
|
|
||||||
bool shouldUseSpoids = (firstApiLevel >= 26); // Android O
|
bool shouldUseSpoids = (firstApiLevel >= 26); // Android O
|
||||||
|
|
||||||
EXPECT_EQ(shouldUseSpoids, factory.areSpoidsEnabled()) <<
|
EXPECT_EQ(shouldUseSpoids, factory.areSpoidsEnabled()) <<
|
||||||
|
|||||||
Reference in New Issue
Block a user