Skip to content
Commit 1405be62 authored by Lukas0610's avatar Lukas0610 Committed by IvanMeler
Browse files

fingerprint: refactor implementation of custom cancel-message

  - Quite important, add comments

  - Fix possible memory leaks on multiple cancel()-calls, memory for messages
    has been allocated, but never free-ed due to possible problems if
    the notifciation is being forwarded asynchronously

  - Fix error-data whenn bauth already failed to send cancel-command to hardware:
    If ss_fingerprint_cancel() returns with an error, we shouldn't send a notification
    of a successful to Android either

Change-Id: I79dd6369f878e41a4f4058b4c19ff7cff079ebcd
parent 28ad515f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment