summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Asmita Poddar <asmitapoddar@google.com> 2023-02-16 14:12:25 +0000
committer Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-02-22 11:27:43 +0000
commitb75b54ff254b801ec69c54abef8a06d4a86a270f (patch)
tree752d5a86a3c0df2859c4a819a207cd7e7f2845c0 /libs/androidfw/StringPool.cpp
parent737f23d1d26f40343c2eaeac1bbaee4ae3451e0c (diff)
Replace InputManager.getInstance() with getSystemService() from context
InputManager.getInstance(Context) method was added to create/obtain the InputManager as part of b/266013036. For backwards compatibility with the getInstance() method (without the Context parameter) was then deprecated, this made the Context member in InputManager nullable. Here, all usages of InputManager.getInstance() method have been updated to use the getSystemService() method of the context parameter, wherever the context parameter is available. Bug: b/266709559 Test: Replaced one method with another. Existing unit tests still pass. Change-Id: Iecf0022cb014d57d651615295c16aba082aa7e60 (cherry picked from commit 47585203f68f1f0fb3ec5382af1742b3b55f51e2) Merged-In: Iecf0022cb014d57d651615295c16aba082aa7e60
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions