diff --git a/app/src/main/java/org/linphone/fragments/AboutFragment.java b/app/src/main/java/org/linphone/fragments/AboutFragment.java
index 4b3670293..e67486b8e 100644
--- a/app/src/main/java/org/linphone/fragments/AboutFragment.java
+++ b/app/src/main/java/org/linphone/fragments/AboutFragment.java
@@ -68,7 +68,7 @@ public class AboutFragment extends Fragment implements OnClickListener {
getString(R.string.about_version),
BuildConfig.VERSION_NAME + " (" + BuildConfig.VERSION_CODE + ")"));
- TextView privacyPolicy = view.findViewById(R.id.privaci_policy_link);
+ TextView privacyPolicy = view.findViewById(R.id.privacy_policy_link);
privacyPolicy.setOnClickListener(
new OnClickListener() {
@Override
@@ -81,6 +81,19 @@ public class AboutFragment extends Fragment implements OnClickListener {
}
});
+ TextView license = view.findViewById(R.id.about_text);
+ license.setOnClickListener(
+ new OnClickListener() {
+ @Override
+ public void onClick(View v) {
+ Intent browserIntent =
+ new Intent(
+ Intent.ACTION_VIEW,
+ Uri.parse(getString(R.string.about_license_link)));
+ startActivity(browserIntent);
+ }
+ });
+
mSendLogButton = view.findViewById(R.id.send_log);
mSendLogButton.setOnClickListener(this);
mSendLogButton.setVisibility(
diff --git a/app/src/main/res/layout-land/about.xml b/app/src/main/res/layout-land/about.xml
index c892516d5..878d16e86 100644
--- a/app/src/main/res/layout-land/about.xml
+++ b/app/src/main/res/layout-land/about.xml
@@ -106,8 +106,8 @@
android:textColorLink="@color/primary_color" />
https://linphone.org/download
https://linphone.org/freesip/recover
https://www.linphone.org/terms-and-privacy
+ https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
LinphoneAndroid