BinderIdentityRestoredDangerously
A call to Binder.clearCallingIdentity() should be followed by Binder.restoreCallingIdentity() in a finally block. Otherwise the wrong Binder identity may be used by subsequent code.
- Severity
- WARNING
- Tags
- FragileCode
Suppression
Suppress false positives by adding the suppression annotation @SuppressWarnings("BinderIdentityRestoredDangerously")
to the enclosing element.