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

Commit d6acb800 authored by Luca Stefani's avatar Luca Stefani
Browse files

UpdateEngine: Add perf mode binder interface

Change-Id: I3146ea0eb9477129fa2e490fe9b149ad48ec0fba
parent f5a1e8db
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -252,6 +252,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.
     */