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

Skip to content
Commit 8c2c82d3 authored by Kevin Jeon's avatar Kevin Jeon
Browse files

Discourage methods that use resource reflection

This change adds the @Discouraged annotation to methods that access
resources by name (getIdentifier() and getValue()). Users will be
directed to retrieve resources by identifier instead.

Bug: 202194091
Test: Checked that getIdentifier() and getValue() raise lint warnings.
Change-Id: Ib69797bf9ccf9e336326a3925fb6409048b647ad
parent 2e7d9776
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