Implemented onRestrictBackgroundWhitelistChanged().
Felipe Leme [Tue, 19 Apr 2016 17:25:20 +0000 (10:25 -0700)]
BUG: 27481520
Change-Id: I84db23b62f60dadefc01ead78f13ed689943baad

src/com/android/providers/downloads/DownloadThread.java

index f6b0be6..9de563f 100644 (file)
@@ -856,6 +856,12 @@ public class DownloadThread implements Runnable {
             // caller is NPMS, since we only register with them
             mPolicyDirty = true;
         }
+
+        @Override
+        public void onRestrictBackgroundWhitelistChanged(int uid, boolean whitelisted) {
+            // caller is NPMS, since we only register with them
+            mPolicyDirty = true;
+        }
     };
 
     private static long getHeaderFieldLong(URLConnection conn, String field, long defaultValue) {