ApplicationID / PackageName is defined as case-sensitive

* fdroidserver uses case-sensitive naming since it is based on GNU/Linux
  filesystems, which are case-sensitive by default.

* "the application ID looks like a traditional Java package name, the naming
   rules for the application ID are a bit more restrictive"
   https://developer.android.com/studio/build/application-id

* Java is a case-sensitive language for all names used in .java files:
  "In the Java programming universe, case-sensitive String keys are ubiquitous"
  "Java package names... are case-sensitive"
  https://docs.oracle.com/javase/8/docs/technotes/guides/preferences/designfaq.html
This commit is contained in:
Hans-Christoph Steiner 2020-10-22 09:31:43 +02:00
parent 2b57f49734
commit f51527befa
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -245,7 +245,7 @@ public final class AppUpdateStatusManager {
ArrayList<AppUpdateStatus> returnValues = new ArrayList<>();
synchronized (appMapping) {
for (AppUpdateStatus entry : appMapping.values()) {
if (entry.apk.packageName.equalsIgnoreCase(packageName)) {
if (entry.apk.packageName.equals(packageName)) {
returnValues.add(entry);
}
}