|
|
|
@ -111,6 +111,7 @@ class AboutFragment : Fragment(), AboutPageListener {
|
|
|
|
|
val aboutText = try {
|
|
|
|
|
val packageInfo = requireContext().packageManager.getPackageInfo(requireContext().packageName, 0)
|
|
|
|
|
val versionCode = PackageInfoCompat.getLongVersionCode(packageInfo).toString()
|
|
|
|
|
val componentsAbbreviation = getString(R.string.components_abbreviation)
|
|
|
|
|
val componentsVersion = mozilla.components.Build.version + ", " + mozilla.components.Build.gitHash
|
|
|
|
|
val maybeGecko = getString(R.string.gecko_view_abbreviation)
|
|
|
|
|
val geckoVersion = GeckoViewBuildConfig.MOZ_APP_VERSION + "-" + GeckoViewBuildConfig.MOZ_APP_BUILDID
|
|
|
|
@ -118,9 +119,10 @@ class AboutFragment : Fragment(), AboutPageListener {
|
|
|
|
|
val appServicesVersion = mozilla.components.Build.applicationServicesVersion
|
|
|
|
|
|
|
|
|
|
String.format(
|
|
|
|
|
"%s (Build #%s)\n%s\n%s: %s\n%s: %s",
|
|
|
|
|
"%s (Build #%s)\n%s: %s\n%s: %s\n%s: %s",
|
|
|
|
|
packageInfo.versionName,
|
|
|
|
|
versionCode,
|
|
|
|
|
componentsAbbreviation,
|
|
|
|
|
componentsVersion,
|
|
|
|
|
maybeGecko,
|
|
|
|
|
geckoVersion,
|
|
|
|
|