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

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

Merge "WifiManager: Remove unused param in getControllerActivityEnergyInfo"

parents fbd7479b 7c59a10b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1585,13 +1585,12 @@ public class WifiManager {
     * Return the record of {@link WifiActivityEnergyInfo} object that
     * has the activity and energy info. This can be used to ascertain what
     * the controller has been up to, since the last sample.
     * @param updateType Type of info, cached vs refreshed.
     *
     * @return a record with {@link WifiActivityEnergyInfo} or null if
     * report is unavailable or unsupported
     * @hide
     */
    public WifiActivityEnergyInfo getControllerActivityEnergyInfo(int updateType) {
    public WifiActivityEnergyInfo getControllerActivityEnergyInfo() {
        if (mService == null) return null;
        try {
            synchronized(this) {