Skip to content
This repository has been archived by the owner on Aug 27, 2021. It is now read-only.

Commit

Permalink
Minimize added boringdroid patches for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikjesus committed Aug 15, 2021
1 parent 068dc85 commit c8a10f1
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 860 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From 56ac58a495d7d21f7bed938d0ac25f30c5446de6 Mon Sep 17 00:00:00 2001
From: Jon West <[email protected]>
Date: Tue, 1 Sep 2020 19:06:42 -0400
Subject: [PATCH 1/2] Allow boringdroid to use ROM's navbar button placement

Change-Id: I22b6bdbfaaee956bce3a9a0ac65cae89f3a803ca
---
.../systemui/statusbar/phone/NavigationBarInflaterView.java | 4 ----
1 file changed, 4 deletions(-)

diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarInflaterView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarInflaterView.java
index e42fca34fdd0..174b193bc453 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarInflaterView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NavigationBarInflaterView.java
@@ -511,10 +511,6 @@ public class NavigationBarInflaterView extends FrameLayout
// region @boringdroid
if (BoringdroidConfig.IS_SYSTEMUI_PLUGIN_ENABLED && v instanceof KeyButtonView) {
ViewGroup.LayoutParams layoutParams = v.getLayoutParams();
- layoutParams.width =
- (int) v.getContext()
- .getResources()
- .getDimension(R.dimen.boring_navigation_key_width);
v.setLayoutParams(layoutParams);
v.setPadding(0, v.getPaddingTop(), 0, v.getPaddingBottom());
}
--
2.25.1

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From dbfe70e7893031fb3fa72ddcd00aac0083052c6c Mon Sep 17 00:00:00 2001
From cda5f93112128a18b4f4ad134432f04724504908 Mon Sep 17 00:00:00 2001
From: utzcoz <[email protected]>
Date: Thu, 3 Sep 2020 00:09:53 +0800
Subject: [PATCH 22/25] Impl basic window round corner with Outline
Subject: [PATCH 2/2] Impl basic window round corner with Outline

Signed-off-by: utzcoz <[email protected]>
Change-Id: I65925af3c2739fc896ee26076f80da45dbffeaf8
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit c8a10f1

Please sign in to comment.