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

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

Merge "FingerprintService should release wakelock only if isHeld" into oc-mr1-dev

parents e47f682c c310118b
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -921,8 +921,10 @@ public class FingerprintService extends SystemService implements IHwBinder.Death

                        @Override
                        public void sendResult(Bundle data) throws RemoteException {
                            if (mWakeLock.isHeld()) {
                                mWakeLock.release();
                            }
                        }
                    });
                } catch (DeadObjectException e) {
                    Slog.w(TAG, "Death object while invoking onLockoutReset: ", e);