From d24a6b71b9ba43f770338851d5d4c9361412be22 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Sun, 3 Jan 2016 11:04:34 +1100 Subject: [PATCH] Partially revert f2212e33. Make some constructors public again. There is some code in the Android SDK using reflection to find the constructor of one of our custom views. As such, a previous change in f2212e33 broke this code because it made constructors package local. This partially reverts the bit of f2212e33 which pertains to the constructors accessed using reflection. --- .../src/org/fdroid/fdroid/views/swap/SelectAppsView.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/F-Droid/src/org/fdroid/fdroid/views/swap/SelectAppsView.java b/F-Droid/src/org/fdroid/fdroid/views/swap/SelectAppsView.java index f905102e4..ce2fc9686 100644 --- a/F-Droid/src/org/fdroid/fdroid/views/swap/SelectAppsView.java +++ b/F-Droid/src/org/fdroid/fdroid/views/swap/SelectAppsView.java @@ -43,20 +43,20 @@ public class SelectAppsView extends ListView implements LoaderManager.LoaderCallbacks, SearchView.OnQueryTextListener { - SelectAppsView(Context context) { + public SelectAppsView(Context context) { super(context); } - SelectAppsView(Context context, AttributeSet attrs) { + public SelectAppsView(Context context, AttributeSet attrs) { super(context, attrs); } - SelectAppsView(Context context, AttributeSet attrs, int defStyleAttr) { + public SelectAppsView(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); } @TargetApi(Build.VERSION_CODES.LOLLIPOP) - SelectAppsView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { + public SelectAppsView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { super(context, attrs, defStyleAttr, defStyleRes); }