Linked the recent location apps to battery page
* Extracted BatteryStatsHelper from PowerUsageSummary * Dropped the "pause" and "resume" method from the RadioButtonPreference * Opening battery usage page when the user clicks the recent location apps item Change-Id: I5a2d03271434765780154265976d8caa7f8060d8
This commit is contained in:
@@ -53,17 +53,11 @@ public class LocationMode extends LocationSettingsBase
|
||||
public void onResume() {
|
||||
super.onResume();
|
||||
createPreferenceHierarchy();
|
||||
mHighAccuracy.resume();
|
||||
mBatterySaving.resume();
|
||||
mSensorsOnly.resume();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onPause() {
|
||||
super.onPause();
|
||||
mHighAccuracy.pause();
|
||||
mBatterySaving.pause();
|
||||
mSensorsOnly.pause();
|
||||
}
|
||||
|
||||
private PreferenceScreen createPreferenceHierarchy() {
|
||||
|
Reference in New Issue
Block a user