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

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

Merge "Implemented onRestrictPowerChanged()." into nyc-dev

parents c12521cd f79c2050
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() {