summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Hugues Husson <phh@phh.me>2020-04-13 14:50:25 +0200
committerMichael Bestas <mkbestas@lineageos.org>2020-05-23 22:58:37 +0300
commita9bf5d834c8947d49a874a536c50a3ed337eb8cf (patch)
tree246383c065a86c824e621062b385825b799a6fa6
parentdfbf1ba55691a752d980d32e64173eb087cf0ae6 (diff)
downloadandroid_packages_providers_DownloadProvider-a9bf5d834c8947d49a874a536c50a3ed337eb8cf.zip
android_packages_providers_DownloadProvider-a9bf5d834c8947d49a874a536c50a3ed337eb8cf.tar.gz
android_packages_providers_DownloadProvider-a9bf5d834c8947d49a874a536c50a3ed337eb8cf.tar.bz2
Fix "Invalid columns in request:" errors, when there are multiple columns
Without it: Invalid columns in request: notificationclassotheruid With it: Invalid columns in request: notificationclass,otheruid Change-Id: I09cc18286f342b0c9db34d6de7820d2fba66c557
-rw-r--r--src/com/android/providers/downloads/DownloadProvider.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/providers/downloads/DownloadProvider.java b/src/com/android/providers/downloads/DownloadProvider.java
index 1aeeef0..5f00d49 100644
--- a/src/com/android/providers/downloads/DownloadProvider.java
+++ b/src/com/android/providers/downloads/DownloadProvider.java
@@ -1302,6 +1302,7 @@ public final class DownloadProvider extends ContentProvider {
error.append(", ");
}
error.append(entry.getKey());
+ first = false;
}
throw new SecurityException(error.toString());
}