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

Commit 7c59a10b authored by Roshan Pius's avatar Roshan Pius
Browse files

WifiManager: Remove unused param in getControllerActivityEnergyInfo

Bug: 34076874
Test: Compiles
Change-Id: I9a87d320ae8b2a3dd70b1f3109609b7cf429e124
parent 595f072f
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) {