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

Skip to content
Commit 28fad30d authored by Azhara Assanova's avatar Azhara Assanova
Browse files

Suppress OnNameExpected lint for ComponentCaller APIs in Activity

OnNameExpected asks to rename an API to on<Something> or make it final.

Renaming to on<Something> doesn't make sense for these APIs. Making them
final may introduce inconsistency to other existing methods like
getCallingPackage().

This change also fixes the error message for the getCurrentCaller API.

Bug: 341038044
Test: m checkapi
Flag: EXEMPT bugfix
Change-Id: I628402f4f7b485160c1fcb6b4125ddbb54918900
parent 412a1d55
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