diff options
| author | 2023-03-09 21:28:46 +0900 | |
|---|---|---|
| committer | 2023-03-09 21:28:46 +0900 | |
| commit | 26726fc81e5a766fccf47db16eb41e71a028a071 (patch) | |
| tree | 57f786ccd691a58241f7a867585177790ef047de /libs/androidfw/FileStream.cpp | |
| parent | 44102a405a0e9c371021fceeeb03ee2996513102 (diff) | |
Camera: Fix null pointer access
If a device is rebooted then the RecentTasks contains task list but
topActivityInfo could be null. In this case, if a camera device is
opened from a process without activity then CameraServiceProxy could
access null topActivityInfo.
Bug: 272428586
Test: Manual test with the OEM attention service
Change-Id: I9a9f42e8954d72e74c74f26ad5a690bcdd3a4cbc
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions