From e6752b2b3f9b30343542aa9b4de42eb88a452795 Mon Sep 17 00:00:00 2001 From: Mitchell Skaggs Date: Mon, 19 Jun 2017 08:57:21 -0500 Subject: [PATCH] Made ChipsLayoutManager constructor protected --- .../beloo/widget/chipslayoutmanager/ChipsLayoutManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ChipsLayoutManager/src/main/java/com/beloo/widget/chipslayoutmanager/ChipsLayoutManager.java b/ChipsLayoutManager/src/main/java/com/beloo/widget/chipslayoutmanager/ChipsLayoutManager.java index 3032fb8..a099269 100644 --- a/ChipsLayoutManager/src/main/java/com/beloo/widget/chipslayoutmanager/ChipsLayoutManager.java +++ b/ChipsLayoutManager/src/main/java/com/beloo/widget/chipslayoutmanager/ChipsLayoutManager.java @@ -189,8 +189,8 @@ public class ChipsLayoutManager extends RecyclerView.LayoutManager implements IC private boolean isAfterPreLayout; @SuppressWarnings("WeakerAccess") - @VisibleForTesting - ChipsLayoutManager(Context context) { + @VisibleForTesting(otherwise = VisibleForTesting.PROTECTED) + protected ChipsLayoutManager(Context context) { @DeviceOrientation int orientation = context.getResources().getConfiguration().orientation; this.orientation = orientation;