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

This commit is contained in:
TreeHugger Robot
2016-05-06 23:25:27 +00:00
committed by Android (Google) Code Review

View File

@@ -206,6 +206,10 @@ public class DataSaverBackend {
public void onMeteredIfacesChanged(String[] strings) throws RemoteException { public void onMeteredIfacesChanged(String[] strings) throws RemoteException {
} }
@Override
public void onRestrictPowerChanged(boolean restrictPower) {
}
@Override @Override
public void onRestrictBackgroundChanged(final boolean isDataSaving) throws RemoteException { public void onRestrictBackgroundChanged(final boolean isDataSaving) throws RemoteException {
mHandler.post(new Runnable() { mHandler.post(new Runnable() {