Propogate error for remove all

Test: Manual - checked that error dialog is shown when face removal
fails
Bug: 283795801

Change-Id: Ifebf5440421918dcf45316b1b92631248adbeae6
This commit is contained in:
Diya Bera
2023-05-25 19:55:08 -07:00
parent 671d962a8a
commit 12610380e8

View File

@@ -415,6 +415,11 @@ public class FaceService extends SystemService {
}
}
}
@Override
public void onError(int error, int vendorCode) throws RemoteException {
receiver.onError(error, vendorCode);
}
};
// This effectively iterates through all sensors, but has to do so by finding all