summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-08-24 17:14:18 -0700
committerFelipe Leme <felipeal@google.com>2016-08-24 17:14:18 -0700
commitc0e6e7ca8557d2fb14db790761e95c19d299e7f5 (patch)
tree796f59337044b3b103f01f8eaf9de6ff400aa124 /src/com/android
parent6377e23c09d30fa7c2c0d92011a4db9e1d711463 (diff)
downloadandroid_packages_providers_DownloadProvider-c0e6e7ca8557d2fb14db790761e95c19d299e7f5.tar.gz
android_packages_providers_DownloadProvider-c0e6e7ca8557d2fb14db790761e95c19d299e7f5.tar.bz2
android_packages_providers_DownloadProvider-c0e6e7ca8557d2fb14db790761e95c19d299e7f5.zip
Fixed INetworkPolicyListener callbacks.
Change-Id: I0ac813875f73035c63d833294f85ee42306e8b95 Test: manual BUG: 28791717
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/providers/downloads/DownloadThread.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/com/android/providers/downloads/DownloadThread.java b/src/com/android/providers/downloads/DownloadThread.java
index 33436f57..5b5d9664 100644
--- a/src/com/android/providers/downloads/DownloadThread.java
+++ b/src/com/android/providers/downloads/DownloadThread.java
@@ -902,15 +902,7 @@ public class DownloadThread extends Thread {
}
@Override
- public void onRestrictBackgroundWhitelistChanged(int uid, boolean whitelisted) {
- // caller is NPMS, since we only register with them
- if (uid == mInfo.mUid) {
- mPolicyDirty = true;
- }
- }
-
- @Override
- public void onRestrictBackgroundBlacklistChanged(int uid, boolean blacklisted) {
+ public void onUidPoliciesChanged(int uid, int uidPolicies) {
// caller is NPMS, since we only register with them
if (uid == mInfo.mUid) {
mPolicyDirty = true;