commit | 26726fc81e5a766fccf47db16eb41e71a028a071 | [log] [tgz] |
---|---|---|
author | Kwangkyu Park <kk48.park@samsung.com> | Thu Mar 09 21:28:46 2023 +0900 |
committer | Kwangkyu Park <kk48.park@samsung.com> | Thu Mar 09 21:28:46 2023 +0900 |
tree | 57f786ccd691a58241f7a867585177790ef047de | |
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