Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 903198f3 authored by P.Y. Laligand's avatar P.Y. Laligand Committed by Android (Google) Code Review
Browse files

Merge "Fixed typo in package name."

parents cacc3e12 1f403d52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1947,7 +1947,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">
+2 −2
Original line number Diff line number Diff line
@@ -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 @@ import com.android.settings.utils.VoiceSettingsActivity;
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);