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

Commit d4959ee1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Execute getting battery info on the parallel executor"

parents 1e719a57 86e98bf4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ public class BatteryInfo {
                callback.onBatteryInfoLoaded(batteryInfo);
                BatteryUtils.logRuntime(LOG_TAG, "time for callback", startTime);
            }
        }.execute();
        }.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
    }

    public static BatteryInfo getBatteryInfo(final Context context,