Merge "Remove "ro." prefix from sdk extension props" am: 57c17a8136 am: aae4da8fd3
Change-Id: I616edf5d0cb45fe06168e9c8b9ee68255b26887d
This commit is contained in:
@@ -69,7 +69,7 @@ int main(int, char**) {
|
||||
auto itr = std::min_element(versions.begin(), versions.end());
|
||||
std::string prop_value = itr == versions.end() ? "0" : std::to_string(*itr);
|
||||
|
||||
if (!android::base::SetProperty("ro.build.version.extensions.r", prop_value)) {
|
||||
if (!android::base::SetProperty("build.version.extensions.r", prop_value)) {
|
||||
LOG(ERROR) << "failed to set sdk_info prop";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ public class SdkExtensions {
|
||||
|
||||
private static final int R_EXTENSION_INT;
|
||||
static {
|
||||
R_EXTENSION_INT = SystemProperties.getInt("ro.build.version.extensions.r", 0);
|
||||
R_EXTENSION_INT = SystemProperties.getInt("build.version.extensions.r", 0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user