Fixed typo in package name.
Change-Id: I08641b7e1d56b44a18ac747371f3a3883a81224c
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 6b96ef9..8a7267a 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1928,7 +1928,7 @@
android:value="true" />
</activity>
- <activity android:name=".fuelguage.BatterySaverModeVoiceActivity"
+ <activity android:name=".fuelgauge.BatterySaverModeVoiceActivity"
android:label="@string/power_usage_summary_title"
android:theme="@android:style/Theme.Material.Light.Voice"
android:exported="true">
diff --git a/src/com/android/settings/fuelgauge/BatterySaverModeVoiceActivity.java b/src/com/android/settings/fuelgauge/BatterySaverModeVoiceActivity.java
index 4494887..3fa0e02 100644
--- a/src/com/android/settings/fuelgauge/BatterySaverModeVoiceActivity.java
+++ b/src/com/android/settings/fuelgauge/BatterySaverModeVoiceActivity.java
@@ -14,14 +14,13 @@
* limitations under the License.
*/
-package com.android.settings.fuelguage;
+package com.android.settings.fuelgauge;
import static android.provider.Settings.EXTRA_BATTERY_SAVER_MODE_ENABLED;
import android.content.Context;
import android.content.Intent;
import android.os.PowerManager;
-import android.provider.Settings;
import android.util.Log;
import com.android.settings.utils.VoiceSettingsActivity;
@@ -33,6 +32,7 @@
public class BatterySaverModeVoiceActivity extends VoiceSettingsActivity {
private static final String TAG = "BatterySaverModeVoiceActivity";
+ @Override
protected boolean onVoiceSettingInteraction(Intent intent) {
if (intent.hasExtra(EXTRA_BATTERY_SAVER_MODE_ENABLED)) {
PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE);