fab: remove asus hack
Let's hope Eric's changes make this no longer required. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
5463086e75
commit
a5bbe171cb
@ -17,7 +17,6 @@ import android.graphics.Canvas;
|
|||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.graphics.drawable.LayerDrawable;
|
import android.graphics.drawable.LayerDrawable;
|
||||||
import android.os.Build;
|
|
||||||
import android.os.Parcel;
|
import android.os.Parcel;
|
||||||
import android.os.Parcelable;
|
import android.os.Parcelable;
|
||||||
import android.support.annotation.Keep;
|
import android.support.annotation.Keep;
|
||||||
@ -375,8 +374,6 @@ public class FloatingActionsMenu extends ViewGroup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void createLabels() {
|
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);
|
final Context context = new ContextThemeWrapper(getContext(), mLabelsStyle);
|
||||||
|
|
||||||
for (int i = 0; i < mButtonsCount; i++) {
|
for (int i = 0; i < mButtonsCount; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user