diff options
author | Makoto Onuki <omakoto@google.com> | 2021-01-05 13:10:35 -0800 |
---|---|---|
committer | Makoto Onuki <omakoto@google.com> | 2021-01-05 13:13:27 -0800 |
commit | 1f33110f50f502a8356025471d528a825145ec75 (patch) | |
tree | fa558762b0ad93a6957cbae18556229ed59c4313 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 583b2e50987fd1462f868ad9af10b67fef7c2a28 (diff) |
Don't cache null in getSystemService()
When Context.getSystemService(SERVICE_NAME) returns null, previously,
we remembered it and would always return null for the same service.
Now we stop doing it and always retry in the next call.
Bug: 175626705
Test: boot
Change-Id: I458e59fe2efc6278ff27d821f6ef516a48ded443
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions