1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 10:47:28 +00:00

Added installer to about

This commit is contained in:
M66B 2022-09-01 10:25:27 +02:00
parent c4ad9c244a
commit 4ad671ab7b

View file

@ -78,6 +78,15 @@ public class FragmentAbout extends FragmentBase {
source = "Debug";
else
source = "?";
try {
String installer = context.getPackageManager().getInstallerPackageName(BuildConfig.APPLICATION_ID);
if (installer != null && !"com.android.vending".equals(installer))
source += " (" + installer + ")";
} catch (Throwable ex) {
Log.w(ex);
}
tvDownloaded.setText(getString(R.string.app_download, source));
long last = 0;