Skip to content

Commit

Permalink
WIP TEST: use vectored logo_card_back.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyBarabash committed Mar 7, 2021
1 parent e6cc322 commit e18cbcb
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions android/brave_java_resources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ brave_java_resources = [
"java/res/drawable/ic_yahoo.xml",
"java/res/drawable/image_credit_rounded_shape.xml",
"java/res/drawable/indicator_selector.xml",
"java/res/drawable/logo_card_back.xml",
"java/res/drawable/modern_toolbar_background_grey_end_segment.xml",
"java/res/drawable/ntp_widget_indicator_bg.xml",
"java/res/drawable/orange_rounded_button.xml",
Expand Down
Binary file removed android/java/res/drawable-hdpi/logo_card_back.png
Binary file not shown.
Binary file removed android/java/res/drawable-mdpi/logo_card_back.png
Binary file not shown.
Binary file removed android/java/res/drawable-xhdpi/logo_card_back.png
Binary file not shown.
3 changes: 3 additions & 0 deletions android/java/res/drawable/logo_card_back.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
</shape>
28 changes: 28 additions & 0 deletions patches/chrome-android-chrome_java_resources.gni.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
diff --git a/chrome/android/chrome_java_resources.gni b/chrome/android/chrome_java_resources.gni
index 328c051b392cbbd35a12733a5b75a186323c3578..f01bd377bae753a0d98278b3dcbe5d3bcae66ff0 100644
--- a/chrome/android/chrome_java_resources.gni
+++ b/chrome/android/chrome_java_resources.gni
@@ -94,7 +94,6 @@ chrome_java_resources = [
"java/res/drawable-hdpi/infobar_translate.png",
"java/res/drawable-hdpi/jcb_card.png",
"java/res/drawable-hdpi/location_bar_incognito_badge.png",
- "java/res/drawable-hdpi/logo_card_back.png",
"java/res/drawable-hdpi/mc_card.png",
"java/res/drawable-hdpi/menu_update.png",
"java/res/drawable-hdpi/modern_location_bar.9.png",
@@ -230,7 +229,6 @@ chrome_java_resources = [
"java/res/drawable-mdpi/infobar_translate.png",
"java/res/drawable-mdpi/jcb_card.png",
"java/res/drawable-mdpi/location_bar_incognito_badge.png",
- "java/res/drawable-mdpi/logo_card_back.png",
"java/res/drawable-mdpi/mc_card.png",
"java/res/drawable-mdpi/menu_update.png",
"java/res/drawable-mdpi/modern_location_bar.9.png",
@@ -354,7 +352,6 @@ chrome_java_resources = [
"java/res/drawable-xhdpi/infobar_translate.png",
"java/res/drawable-xhdpi/jcb_card.png",
"java/res/drawable-xhdpi/location_bar_incognito_badge.png",
- "java/res/drawable-xhdpi/logo_card_back.png",
"java/res/drawable-xhdpi/mc_card.png",
"java/res/drawable-xhdpi/menu_update.png",
"java/res/drawable-xhdpi/modern_location_bar.9.png",

0 comments on commit e18cbcb

Please sign in to comment.