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

Unverified Commit e14fdffa authored by Luca Stefani's avatar Luca Stefani Committed by Michael Bestas
Browse files

UpdateEngine: Add perf mode binder interface

Change-Id: I3146ea0eb9477129fa2e490fe9b149ad48ec0fba
parent 0beba0a8
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -466,6 +466,17 @@ public class UpdateEngine {
        }
    }

    /**
     * @hide
     */
    public void setPerformanceMode(boolean enable) {
        try {
            mUpdateEngine.setPerformanceMode(enable);
        } catch (RemoteException e) {
            throw e.rethrowFromSystemServer();
        }
    }

    /**
     * Unbinds the last bound callback function.
     */