OSDN Git Service

Fix SuppressWarnings typo.
authorIan Rogers <irogers@google.com>
Fri, 27 May 2016 21:31:19 +0000 (14:31 -0700)
committerIan Rogers <irogers@google.com>
Fri, 27 May 2016 21:31:19 +0000 (14:31 -0700)
As Error Prone states:
Suppressing "deprecated" is probably a typo for "deprecation"
Bug: 27723540

Change-Id: Iedc8ef3b876f5238cc0e2d89d57138eafd5bf91f

core/java/com/android/internal/os/PowerProfile.java

index d217474..ad14a20 100644 (file)
@@ -307,7 +307,7 @@ public class PowerProfile {
     private static final String POWER_CPU_CLUSTER_SPEED_PREFIX = "cpu.speeds.cluster";
     private static final String POWER_CPU_CLUSTER_ACTIVE_PREFIX = "cpu.active.cluster";
 
-    @SuppressWarnings("deprecated")
+    @SuppressWarnings("deprecation")
     private void initCpuClusters() {
         // Figure out how many CPU clusters we're dealing with
         final Object obj = sPowerMap.get(POWER_CPU_CLUSTER_CORE_COUNT);