commit | 1f33110f50f502a8356025471d528a825145ec75 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Tue Jan 05 13:10:35 2021 -0800 |
committer | Makoto Onuki <omakoto@google.com> | Tue Jan 05 13:13:27 2021 -0800 |
tree | fa558762b0ad93a6957cbae18556229ed59c4313 | |
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