From a5bbe171cbb017875d3eda107482752ee1cefc8e Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 11 Jul 2018 19:56:52 +0200 Subject: fab: remove asus hack Let's hope Eric's changes make this no longer required. Signed-off-by: Jason A. Donenfeld --- .../java/com/wireguard/android/widget/fab/FloatingActionsMenu.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/src') 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 cdf30a26..901496e1 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++) { -- cgit v1.2.3