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

Commit 12610380 authored by Diya Bera's avatar Diya Bera
Browse files

Propogate error for remove all

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

Change-Id: Ifebf5440421918dcf45316b1b92631248adbeae6
parent 671d962a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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