Format battery java code
After this CL, we can follow Guideline:go/hc-mainline-dev#format-code to keep java format consistent. Test: manual Bug: 304439460 Change-Id: I5bb77f81b0bd9be618e34942eaaee8296bc42796
This commit is contained in:
@@ -26,11 +26,10 @@ import com.android.settingslib.utils.AsyncLoaderCompat;
|
||||
* automatically grab enhanced battery estimates if available or fall back to the system estimate
|
||||
* when not available.
|
||||
*/
|
||||
public class BatteryInfoLoader extends AsyncLoaderCompat<BatteryInfo>{
|
||||
public class BatteryInfoLoader extends AsyncLoaderCompat<BatteryInfo> {
|
||||
private static final String LOG_TAG = "BatteryInfoLoader";
|
||||
|
||||
@VisibleForTesting
|
||||
BatteryUtils mBatteryUtils;
|
||||
@VisibleForTesting BatteryUtils mBatteryUtils;
|
||||
|
||||
public BatteryInfoLoader(Context context) {
|
||||
super(context);
|
||||
@@ -38,9 +37,7 @@ public class BatteryInfoLoader extends AsyncLoaderCompat<BatteryInfo>{
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDiscardResult(BatteryInfo result) {
|
||||
|
||||
}
|
||||
protected void onDiscardResult(BatteryInfo result) {}
|
||||
|
||||
@Override
|
||||
public BatteryInfo loadInBackground() {
|
||||
|
||||
Reference in New Issue
Block a user