diff options
| author | 2022-10-11 10:32:54 -0700 | |
|---|---|---|
| committer | 2022-10-11 10:32:54 -0700 | |
| commit | 50148aea33e651f74904a09a79027915d3c9bdc2 (patch) | |
| tree | ac229692ba256653b6754384426d33f870e7f556 /libs/androidfw/Util.cpp | |
| parent | 2dbc157f98d5b8df9c277ee803418a012cadb996 (diff) | |
Remove an unnecessary null check
This CL removes an unnecessary null check for readability.
The following method is guaranteed to return a non-null object.
SubtypeUtils.getImplicitlyApplicableSubtypesLocked()
Hence the null check in the caller side is unnecessary.
Bug: 249648819
Test: presubmit
Change-Id: Ief6db743fe676c8ec0d0c878c8ddf767f71433e7
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions