summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDaichi Hirono <hirono@google.com>2017-04-05 12:57:28 +0900
committerDaichi Hirono <hirono@google.com>2017-06-12 10:12:27 +0900
commit3871faacccbee0b975283c25e3d86b59dd144423 (patch)
tree1f532e6bf691587ba140a8dc5dde4a5b99659dcd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3b1a5a91549357b11b9b696d2bec559d272ce6eb (diff)
Fix NPE in requestKeyboardShortcuts
Recents.getSystemServices() returns null if it has not created an instance of Recents. The CL replaces Recents.getSystemServices() with SystemServicesProxy.getInstance(mContext) so that KeyboardShortcuts class works independent of Recents. Bug: 36873454 Test: Invoke Activity#requestShowKeyboardShortcuts Change-Id: I3c2520695641607cc52f15506ba09ccdfe96940f (cherry picked from commit 893348d3f66ba2a7f1ecd9eccaf34026923c77f3)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions