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

Commit f79c2050 authored by Felipe Leme's avatar Felipe Leme
Browse files

Implemented onRestrictPowerChanged().

BUG: 28521946

Change-Id: I702e27401f74eee6ce884351ae4e0bc89ec6b8e2
parent e0e7fa45
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -206,6 +206,10 @@ public class DataSaverBackend {
        public void onMeteredIfacesChanged(String[] strings) throws RemoteException {
        }

        @Override
        public void onRestrictPowerChanged(boolean restrictPower) {
        }

        @Override
        public void onRestrictBackgroundChanged(final boolean isDataSaving) throws RemoteException {
            mHandler.post(new Runnable() {