Fix warnings from static analysis tool. am: fc06f65914 am: ecfb24c6f4 am: 24df5f446c am: e8bba2c3cb

Original change: https://android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/2532841

Change-Id: I41a2cb05f9002b19b4a4e32c907ef786f8a1652e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>