commit | 28fad30d731052cb5dc640ddba2971457f46a688 | [log] [tgz] |
---|---|---|
author | Azhara Assanova <azharaa@google.com> | Fri May 17 15:11:48 2024 +0000 |
committer | Azhara Assanova <azharaa@google.com> | Fri May 17 17:00:08 2024 +0000 |
tree | d1282f0ba14de0c6b237af4860cd7bec6a0f9541 | |
parent | 412a1d554f642b8af82e12923359e1ed9c199991 [diff] |
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