aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Lim <nicknitewolf@lineageos.org>2020-06-21 02:35:05 +0800
committerJulian Veit <claymore1298@gmail.com>2020-08-29 12:47:02 +0200
commit0611c81ff18c895bccc7cf39a4c045d0aafe1ea0 (patch)
tree31d3a4fc47bf7979547691c015b12804bcfb5a5d
parent417a0ff4a54d4d5ae39676c66e262507af2f0def (diff)
recovery: Stop showing fastbootd logo for devices without itq10.0
Change-Id: I03371cfd0dc7ddd020a80aeae1c034a276832ba9
-rw-r--r--recovery_ui/screen_ui.cpp4
-rw-r--r--res-hdpi/images/logo_image.pngbin14949 -> 11625 bytes
-rw-r--r--res-hdpi/images/logo_image_switch.pngbin0 -> 14949 bytes
-rw-r--r--res-mdpi/images/logo_image.pngbin8323 -> 6895 bytes
-rw-r--r--res-mdpi/images/logo_image_switch.pngbin0 -> 8323 bytes
-rw-r--r--res-xhdpi/images/logo_image.pngbin17018 -> 13663 bytes
-rw-r--r--res-xhdpi/images/logo_image_switch.pngbin0 -> 17018 bytes
-rw-r--r--res-xxhdpi/images/logo_image.pngbin35218 -> 27363 bytes
-rw-r--r--res-xxhdpi/images/logo_image_switch.pngbin0 -> 35218 bytes
-rw-r--r--res-xxxhdpi/images/logo_image.pngbin14077 -> 24718 bytes
-rw-r--r--res-xxxhdpi/images/logo_image_switch.pngbin0 -> 14077 bytes
11 files changed, 3 insertions, 1 deletions
diff --git a/recovery_ui/screen_ui.cpp b/recovery_ui/screen_ui.cpp
index 0fc878e3..93e9f573 100644
--- a/recovery_ui/screen_ui.cpp
+++ b/recovery_ui/screen_ui.cpp
@@ -1011,12 +1011,14 @@ bool ScreenRecoveryUI::Init(const std::string& locale) {
no_command_text_ = LoadLocalizedBitmap("no_command_text");
error_text_ = LoadLocalizedBitmap("error_text");
- lineage_logo_ = LoadBitmap("logo_image");
back_icon_ = LoadBitmap("ic_back");
back_icon_sel_ = LoadBitmap("ic_back_sel");
if (android::base::GetBoolProperty("ro.boot.dynamic_partitions", false) ||
android::base::GetBoolProperty("ro.fastbootd.available", false)) {
+ lineage_logo_ = LoadBitmap("logo_image_switch");
fastbootd_logo_ = LoadBitmap("fastbootd");
+ } else {
+ lineage_logo_ = LoadBitmap("logo_image");
}
// Background text for "installing_update" could be "installing update" or
diff --git a/res-hdpi/images/logo_image.png b/res-hdpi/images/logo_image.png
index a074dfc7..3d950ef1 100644
--- a/res-hdpi/images/logo_image.png
+++ b/res-hdpi/images/logo_image.png
Binary files differ
diff --git a/res-hdpi/images/logo_image_switch.png b/res-hdpi/images/logo_image_switch.png
new file mode 100644
index 00000000..a074dfc7
--- /dev/null
+++ b/res-hdpi/images/logo_image_switch.png
Binary files differ
diff --git a/res-mdpi/images/logo_image.png b/res-mdpi/images/logo_image.png
index ba2d1850..4ca3c8aa 100644
--- a/res-mdpi/images/logo_image.png
+++ b/res-mdpi/images/logo_image.png
Binary files differ
diff --git a/res-mdpi/images/logo_image_switch.png b/res-mdpi/images/logo_image_switch.png
new file mode 100644
index 00000000..ba2d1850
--- /dev/null
+++ b/res-mdpi/images/logo_image_switch.png
Binary files differ
diff --git a/res-xhdpi/images/logo_image.png b/res-xhdpi/images/logo_image.png
index 928cffd7..6a5a8c01 100644
--- a/res-xhdpi/images/logo_image.png
+++ b/res-xhdpi/images/logo_image.png
Binary files differ
diff --git a/res-xhdpi/images/logo_image_switch.png b/res-xhdpi/images/logo_image_switch.png
new file mode 100644
index 00000000..928cffd7
--- /dev/null
+++ b/res-xhdpi/images/logo_image_switch.png
Binary files differ
diff --git a/res-xxhdpi/images/logo_image.png b/res-xxhdpi/images/logo_image.png
index af1aed7e..d38aa265 100644
--- a/res-xxhdpi/images/logo_image.png
+++ b/res-xxhdpi/images/logo_image.png
Binary files differ
diff --git a/res-xxhdpi/images/logo_image_switch.png b/res-xxhdpi/images/logo_image_switch.png
new file mode 100644
index 00000000..af1aed7e
--- /dev/null
+++ b/res-xxhdpi/images/logo_image_switch.png
Binary files differ
diff --git a/res-xxxhdpi/images/logo_image.png b/res-xxxhdpi/images/logo_image.png
index cba0ca67..ab2b9e51 100644
--- a/res-xxxhdpi/images/logo_image.png
+++ b/res-xxxhdpi/images/logo_image.png
Binary files differ
diff --git a/res-xxxhdpi/images/logo_image_switch.png b/res-xxxhdpi/images/logo_image_switch.png
new file mode 100644
index 00000000..cba0ca67
--- /dev/null
+++ b/res-xxxhdpi/images/logo_image_switch.png
Binary files differ