[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4562: Add a-c git hash to about page

pull/600/head
Hakkı Kaan Çalışkan 5 years ago committed by Jeff Boek
parent 2eedb1c015
commit 9f5097b48c

@ -36,7 +36,7 @@ class AboutFragment : Fragment() {
val aboutText = try {
val packageInfo = requireContext().packageManager.getPackageInfo(requireContext().packageName, 0)
val versionCode = PackageInfoCompat.getLongVersionCode(packageInfo).toString()
val componentsVersion = mozilla.components.Build.version
val componentsVersion = mozilla.components.Build.version + ", " + mozilla.components.Build.gitHash
val maybeGecko = if (SDK_INT >= Build.VERSION_CODES.N) GECKO_EMOJI else "GV"
val geckoVersion = GeckoViewBuildConfig.MOZ_APP_VERSION + "-" + GeckoViewBuildConfig.MOZ_APP_BUILDID

Loading…
Cancel
Save