mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-12-23 05:16:58 +00:00
update attributions
This commit is contained in:
parent
c2b8d8cb4f
commit
890fd529e6
@ -10,8 +10,8 @@ android {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 29
|
||||
|
||||
versionCode 51
|
||||
versionName '19.0-a2'
|
||||
versionCode 52
|
||||
versionName '19.0'
|
||||
|
||||
multiDexEnabled true
|
||||
|
||||
|
@ -26,24 +26,26 @@ public class AboutFragment extends BasePreferencesFragment {
|
||||
generalCategory.addPreference(getRepoPreference());
|
||||
generalCategory.addPreference(getFeedbackPreference());
|
||||
|
||||
final PreferenceCategory thirdPartyCategory = new PreferenceCategory(context);
|
||||
screen.addPreference(thirdPartyCategory);
|
||||
thirdPartyCategory.setTitle(R.string.about_category_3pt);
|
||||
//thirdPartyCategory.setSummary(R.string.about_category_3pt_summary);
|
||||
thirdPartyCategory.setIconSpaceReserved(false);
|
||||
// alphabetical order!!!
|
||||
thirdPartyCategory.addPreference(getExoPlayerPreference());
|
||||
thirdPartyCategory.addPreference(getFrescoPreference());
|
||||
thirdPartyCategory.addPreference(getJsoupPreference());
|
||||
thirdPartyCategory.addPreference(getMDIPreference());
|
||||
thirdPartyCategory.addPreference(getRetrofitPreference());
|
||||
|
||||
final PreferenceCategory licenseCategory = new PreferenceCategory(context);
|
||||
screen.addPreference(licenseCategory);
|
||||
licenseCategory.setTitle(R.string.about_category_license);
|
||||
licenseCategory.setIconSpaceReserved(false);
|
||||
licenseCategory.addPreference(getLicensePreference());
|
||||
licenseCategory.addPreference(getLiabilityPreference());
|
||||
|
||||
final PreferenceCategory thirdPartyCategory = new PreferenceCategory(context);
|
||||
screen.addPreference(thirdPartyCategory);
|
||||
thirdPartyCategory.setTitle(R.string.about_category_3pt);
|
||||
//thirdPartyCategory.setSummary(R.string.about_category_3pt_summary);
|
||||
thirdPartyCategory.setIconSpaceReserved(false);
|
||||
// alphabetical order!!!
|
||||
thirdPartyCategory.addPreference(getAutolinkPreference());
|
||||
thirdPartyCategory.addPreference(getExoPlayerPreference());
|
||||
thirdPartyCategory.addPreference(getFrescoPreference());
|
||||
thirdPartyCategory.addPreference(getIcafePreference());
|
||||
thirdPartyCategory.addPreference(getJsoupPreference());
|
||||
thirdPartyCategory.addPreference(getMDIPreference());
|
||||
thirdPartyCategory.addPreference(getRetrofitPreference());
|
||||
}
|
||||
|
||||
private Preference getDocsPreference() {
|
||||
@ -174,6 +176,38 @@ public class AboutFragment extends BasePreferencesFragment {
|
||||
return preference;
|
||||
}
|
||||
|
||||
private Preference getAutolinkPreference() {
|
||||
final Context context = getContext();
|
||||
if (context == null) return null;
|
||||
final Preference preference = new Preference(context);
|
||||
preference.setTitle("AutoLinkTextViewV2");
|
||||
preference.setSummary("Copyright (C) 2019 Arman Chatikyan. Apache Version 2.0.");
|
||||
preference.setIconSpaceReserved(false);
|
||||
preference.setOnPreferenceClickListener(p -> {
|
||||
final Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.parse("https://github.com/armcha/AutoLinkTextViewV2"));
|
||||
startActivity(intent);
|
||||
return true;
|
||||
});
|
||||
return preference;
|
||||
}
|
||||
|
||||
private Preference getIcafePreference() {
|
||||
final Context context = getContext();
|
||||
if (context == null) return null;
|
||||
final Preference preference = new Preference(context);
|
||||
preference.setTitle("ICAFE");
|
||||
preference.setSummary("Copyright (C) 2014-2019 Wen Yu. Eclipse Version 2.0.");
|
||||
preference.setIconSpaceReserved(false);
|
||||
preference.setOnPreferenceClickListener(p -> {
|
||||
final Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||
intent.setData(Uri.parse("https://github.com/dragon66/icafe"));
|
||||
startActivity(intent);
|
||||
return true;
|
||||
});
|
||||
return preference;
|
||||
}
|
||||
|
||||
private Preference getLicensePreference() {
|
||||
final Context context = getContext();
|
||||
if (context == null) return null;
|
||||
|
Loading…
Reference in New Issue
Block a user