diff options
author | Bryce Lee <brycelee@google.com> | 2018-04-23 10:54:11 -0700 |
---|---|---|
committer | Bryce Lee <brycelee@google.com> | 2018-04-23 10:54:11 -0700 |
commit | 1a990e54c0ca8b6fc43a52960def6acff805094b (patch) | |
tree | be795e5558d2db7b533ab35a6559f852ae1fbdb3 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5bdf9530a04dd4284498eb31c5e5fb0f8e6987a3 (diff) |
Do not reference TaskRecord's intent without checking for null.
It is possible for a TaskRecord's intent to be set to null. We should
always check this before referencing it.
Change-Id: Id0dd18dc694549c348f1cd7d2dfe02915c1c7f92
Fixes: 77457970
Test: atest FrameworksServicesTests:com.android.server.am.TaskRecordTests#testReturnsToHomeStack
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions