summaryrefslogtreecommitdiffstats
path: root/minui/graphics.cpp
diff options
context:
space:
mode:
authorMarissa Wall <marissaw@google.com>2020-02-28 20:22:46 +0100
committerMarissa Ikonomidis <marissaw@google.com>2020-02-28 21:00:06 +0100
commit025ce540c2fdbf11d618ab7b8218f28dda325c87 (patch)
tree1c9cb5a573b2733f2542eb30abf4bc19b3ac1350 /minui/graphics.cpp
parentMerge "Set Casefold and PrjQuotas in Factory Reset" am: 1cf5b0b591 am: ddb9dbb52b am: a8a4fb3b18 (diff)
downloadandroid_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.tar
android_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.tar.gz
android_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.tar.bz2
android_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.tar.lz
android_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.tar.xz
android_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.tar.zst
android_bootable_recovery-025ce540c2fdbf11d618ab7b8218f28dda325c87.zip
Diffstat (limited to '')
-rw-r--r--minui/graphics.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/minui/graphics.cpp b/minui/graphics.cpp
index d34da5674..dce1e619a 100644
--- a/minui/graphics.cpp
+++ b/minui/graphics.cpp
@@ -25,7 +25,6 @@
#include <android-base/properties.h>
-#include "graphics_adf.h"
#include "graphics_drm.h"
#include "graphics_fbdev.h"
#include "minui/minui.h"
@@ -362,15 +361,10 @@ int gr_init() {
ret);
}
- auto backend = std::unique_ptr<MinuiBackend>{ std::make_unique<MinuiBackendAdf>() };
+ auto backend = std::unique_ptr<MinuiBackend>{ std::make_unique<MinuiBackendDrm>() };
gr_draw = backend->Init();
if (!gr_draw) {
- backend = std::make_unique<MinuiBackendDrm>();
- gr_draw = backend->Init();
- }
-
- if (!gr_draw) {
backend = std::make_unique<MinuiBackendFbdev>();
gr_draw = backend->Init();
}