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

Skip to content
Commit b14fdecc authored by Kevin Rocard's avatar Kevin Rocard
Browse files

Do not try to unregister APC multiple time



If audioRecord.release() is called explicitly, APC DP is released.
When the AudioRecord.finalizer() is called by the JVM, the APC DP would
be released again, leading to misleading error message.

Bug: 131064451
Test: call AudioRecord release and check that the finalizer do not log a
      release failure
Change-Id: Ia7092274ea8ac8e0a6754dfe2541f823f650384d
Signed-off-by: default avatarKevin Rocard <krocard@google.com>
parent 3a80d7f0
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