summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-09-12 05:07:54 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-09-12 05:07:54 +0200
commit12dbf4259edd27cc5c97fe2c6fab58e508e96e75 (patch)
tree0ceee598e5f11c64486b2f2502e1a89a00a07383
parentSnap for 5000961 from 09ff9796f58c4b483b30c163ded5f3658d0166cb to qt-release (diff)
parentMerge "minui: Track the name change to minui related properties." am: da46f9067a am: 3d95692b5e (diff)
downloadandroid_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.tar
android_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.tar.gz
android_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.tar.bz2
android_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.tar.lz
android_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.tar.xz
android_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.tar.zst
android_bootable_recovery-12dbf4259edd27cc5c97fe2c6fab58e508e96e75.zip
-rw-r--r--minui/graphics.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp
index 4fe0fdc7b..e6367d950 100644
--- a/minui/graphics.cpp
+++ b/minui/graphics.cpp
@@ -342,7 +342,7 @@ void gr_flip() {
int gr_init() {
// pixel_format needs to be set before loading any resources or initializing backends.
- std::string format = android::base::GetProperty("ro.recovery.ui.pixel_format", "");
+ std::string format = android::base::GetProperty("ro.minui.pixel_format", "");
if (format == "ABGR_8888") {
pixel_format = PixelFormat::ABGR;
} else if (format == "RGBX_8888") {
@@ -378,7 +378,7 @@ int gr_init() {
gr_backend = backend.release();
- int overscan_percent = android::base::GetIntProperty("ro.recovery.ui.overscan_percent", 0);
+ int overscan_percent = android::base::GetIntProperty("ro.minui.overscan_percent", 0);
overscan_offset_x = gr_draw->width * overscan_percent / 100;
overscan_offset_y = gr_draw->height * overscan_percent / 100;
@@ -390,7 +390,7 @@ int gr_init() {
}
std::string rotation_str =
- android::base::GetProperty("ro.recovery.ui.default_rotation", "ROTATION_NONE");
+ android::base::GetProperty("ro.minui.default_rotation", "ROTATION_NONE");
if (rotation_str == "ROTATION_RIGHT") {
gr_rotate(GRRotation::RIGHT);
} else if (rotation_str == "ROTATION_DOWN") {