diff options
| author | 2021-10-09 04:42:09 +0000 | |
|---|---|---|
| committer | 2021-10-09 05:04:03 +0000 | |
| commit | 4201a5ddbcbc16f482e2a9355c628aa57f1fff19 (patch) | |
| tree | 829d5139d33753f96957ac2124bbf61a3be2a7a4 /libs/input/SpriteController.cpp | |
| parent | bbed69281062cc31e8d9fafbbdaee33620cfb3dc (diff) | |
Fix: crash when running am.jar without parameters
Issure:
When no args to run am.jar,mAm is not initialized before use
process will crash in NRE
Solution:
Initialize mAm in constructor
Bug: 202471754
Test: manual
Running follow sh on the device displays help messages correctly
base=/system
export CLASSPATH=$base/framework/am.jar
exec app_process $base/bin com.android.commands.am.Am
Change-Id: I088f4f5b4072d350c217655a291658d0bfd506e9
Diffstat (limited to 'libs/input/SpriteController.cpp')
0 files changed, 0 insertions, 0 deletions