summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Kwangkyu Park <kk48.park@samsung.com> 2023-03-09 21:28:46 +0900
committer Kwangkyu Park <kk48.park@samsung.com> 2023-03-09 21:28:46 +0900
commit26726fc81e5a766fccf47db16eb41e71a028a071 (patch)
tree57f786ccd691a58241f7a867585177790ef047de /libs/androidfw/FileStream.cpp
parent44102a405a0e9c371021fceeeb03ee2996513102 (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