diff options
| author | 2022-10-05 16:21:22 -0700 | |
|---|---|---|
| committer | 2022-10-05 16:21:22 -0700 | |
| commit | 7a4e080f1cf909e491c9ad4c53ad3a7cf11cddc3 (patch) | |
| tree | 0af3025336826e168f7731d0fcff14775da01576 /libs/androidfw/StringPool.cpp | |
| parent | b179389164152754fc11f18dff51cc70bd0dd3d7 (diff) | |
Make IMMS#shouldPreventImeStartupLocked() more readable
This is a mechanical refactoring with no behavior change for
InputMethodManagerService#shouldPreventImeStartupLocked(),
which was added recently [1].
Most likely return-early pattern would be more readable and
maintainable for this kind of method.
There must be no observable behavior change in this CL.
[1]: Id0aaa496ee46532d0e97c236df7e073947ababcd
76a3c8c9b3a4971fab8fac544e49dfe8631f6059
Bug: 234882948
Test: presubmit
Change-Id: Ic2d5164697523ec410b635b451fff1e4feb40830
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions