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

Skip to content
Commit c56c2b51 authored by Yifei Zhang's avatar Yifei Zhang
Browse files

appops: fix race condition for mOpModeWatchers

- Race condition is possible as read/write of its element (ArraySet) is
  not synchronized. Make a copy before dispatching callbacks.

Test: build & boot
Bug: 338949960
Change-Id: I57f726225ba9ab37a532a1f4639df4f5d2c7f233
parent d97268ac
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment