Removed onRestrictPowerChanged().
Felipe Leme [Tue, 10 May 2016 00:29:52 +0000 (17:29 -0700)]
BUG: 28521946

Change-Id: I32129977c121b610bdd1a780fd371baaff3ead4b

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

index c27320d..3bcde17 100644 (file)
@@ -871,12 +871,6 @@ public class DownloadThread extends Thread {
         }
 
         @Override
-        public void onRestrictPowerChanged(boolean restrictPower) {
-            // caller is NPMS, since we only register with them
-            mPolicyDirty = true;
-        }
-
-        @Override
         public void onRestrictBackgroundChanged(boolean restrictBackground) {
             // caller is NPMS, since we only register with them
             mPolicyDirty = true;