Implemented onRestrictPowerChanged().

BUG: 28521946

Change-Id: I702e27401f74eee6ce884351ae4e0bc89ec6b8e2
This commit is contained in:
Felipe Leme
2016-05-03 08:43:08 -07:00
parent e0e7fa4501
commit f79c20500e

View File

@@ -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() {