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:
parent
c4ad9c244a
commit
4ad671ab7b
1 changed files with 9 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue