diff options
| author | 2025-01-10 00:00:29 +0000 | |
|---|---|---|
| committer | 2025-01-10 00:00:29 +0000 | |
| commit | 1b298170b1a5a510f4749afd0045321c0943c7cd (patch) | |
| tree | aa6c13f04fb05e56fcc2261fffc38bcac9f5217f /libs/androidfw/Util.cpp | |
| parent | 4514061228f8b93994377d60df6de99e3a29cf9d (diff) | |
Use hasSystemFeature(String) overload for RoSystemFeatures fallback
Prefer the simpler overload when falling back to runtime queries. This
has identical semantics to hasSystemFeature(String, 0), but avoids the
need to update any/all mocked overrides that reference the simpler (and
more common) overload. There should be no functional impact otherwise.
Bug: 203143243
Flag: EXEMPT refactor
Test: atest systemfeatures-gen-golden-tests systemfeatures-gen-tests
Change-Id: I7a527663c677000f49426c6df02875e63a928e09
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions