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.
This commit is contained in:
Peter Serwylo 2016-01-03 11:04:34 +11:00
parent e29b6cbdaf
commit d24a6b71b9

View File

@ -43,20 +43,20 @@ public class SelectAppsView extends ListView implements
LoaderManager.LoaderCallbacks<Cursor>,
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);
}