Merge commit 'refs/merge-requests/43' of git://gitorious.org/f-droid/fdroidclient into merge-requests/43

This commit is contained in:
Ciaran Gultnieks committed 2013-05-30 17:08:51 +01:00
commit 44bcaf465a
1 file changed
+2 -4
+2 -4
View File
@@ -117,11 +117,9 @@ public class AppDetails extends ListActivity {
version.setText(getString(R.string.version) + " " + apk.version
+ (iscurrent ? "*" : ""));
// TODO: This will show 'Installed' for all apks with the same
// version code, which could be more than one if they come from
// different repos or are source/binary from the same one!
TextView status = (TextView) v.findViewById(R.id.status);
if (apk.vercode == app.installedVerCode)
if (apk.vercode == app.installedVerCode
&& apk.sig.equals(mInstalledSigID))
status.setText(getString(R.string.inst));
else
status.setText(getString(R.string.not_inst));