Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 35b5114b authored by Randy Xu's avatar Randy Xu Committed by Gaurav Sarode
Browse files

Solve the composer service NULL pointer crash



The callback functions are set nullptr in ComposerClient::~ComposerClient()
./composer/2.1/default/ComposerClient.cpp:160:    mHal.enableCallback(false)

However, the callbacks are still used in hwc2on1adaptor, it will cause segment fault.

Bug: 64650599

Test: adb shell stop

Change-Id: I92e6a6b42418e987a7ead041f2d95c194b6a16e8
Signed-off-by: default avatarRandy Xu <randy.xu@intel.com>
Signed-off-by: default avatarQiming Shi <qiming.shi@intel.com>
Signed-off-by: default avatarYong Yao <yong.yao@intel.com>
Signed-off-by: default avatarGaurav Sarode <sgaurav@google.com>
parent 8c6462c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment