Adds a menu item for additional battery info to battery settings.
Bug: 33352540 Test: No additional test failures. Change-Id: Ibfc1a9463c93d3c087ed712fe45d3d0717472c6a
This commit is contained in:
@@ -25,6 +25,7 @@ import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.os.UserManager;
|
||||
import android.support.annotation.VisibleForTesting;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuInflater;
|
||||
import android.view.MenuItem;
|
||||
@@ -39,7 +40,8 @@ import com.android.settings.SettingsPreferenceFragment;
|
||||
public abstract class PowerUsageBase extends SettingsPreferenceFragment {
|
||||
|
||||
// +1 to allow ordering for PowerUsageSummary.
|
||||
private static final int MENU_STATS_REFRESH = Menu.FIRST + 1;
|
||||
@VisibleForTesting
|
||||
static final int MENU_STATS_REFRESH = Menu.FIRST + 1;
|
||||
|
||||
protected BatteryStatsHelper mStatsHelper;
|
||||
protected UserManager mUm;
|
||||
|
Reference in New Issue
Block a user