aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-11 19:56:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-11 21:03:22 +0200
commit41bcb4938e63048e5eaec8edf1b0f18d41ffce1d (patch)
tree6eea6f103a7023254bf691ce8d7c8e85a0ef04ea
parentfab: use support library's rendering (diff)
downloadwireguard-android-41bcb4938e63048e5eaec8edf1b0f18d41ffce1d.tar.xz
wireguard-android-41bcb4938e63048e5eaec8edf1b0f18d41ffce1d.zip
fab: remove asus hack
Let's hope Eric's changes make this no longer required.
-rw-r--r--app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java
index cdf30a2..901496e 100644
--- a/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java
+++ b/app/src/main/java/com/wireguard/android/widget/fab/FloatingActionsMenu.java
@@ -17,7 +17,6 @@ import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.LayerDrawable;
-import android.os.Build;
import android.os.Parcel;
import android.os.Parcelable;
import android.support.annotation.Keep;
@@ -375,8 +374,6 @@ public class FloatingActionsMenu extends ViewGroup {
}
private void createLabels() {
- if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.LOLLIPOP_MR1 && Build.BRAND.equals("ASUS"))
- return;
final Context context = new ContextThemeWrapper(getContext(), mLabelsStyle);
for (int i = 0; i < mButtonsCount; i++) {