From 71337a49b327a33c3530b719ea009d24ff24291a Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Tue, 12 Sep 2017 08:43:17 +1000 Subject: [PATCH] Added doc comment clarifying unsigned media --- app/src/main/java/org/fdroid/fdroid/data/App.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/org/fdroid/fdroid/data/App.java b/app/src/main/java/org/fdroid/fdroid/data/App.java index e621fd23b..11a8ac0d0 100644 --- a/app/src/main/java/org/fdroid/fdroid/data/App.java +++ b/app/src/main/java/org/fdroid/fdroid/data/App.java @@ -1154,6 +1154,9 @@ public class App extends ValueObject implements Comparable, Parcelable { * However, if the app is installed, then we override this and instead want to only encourage * the user to try and install versions with that signature (because thats all the OS will let * them do). + * + * Will return null for any {@link App} which represents media (instead of an apk) and thus + * doesn't have a signer. */ @Nullable public String getMostAppropriateSignature() {