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

Skip to content
Commit 9baba5d5 authored by Jiaming Liu's avatar Jiaming Liu
Browse files

Allow unregistring callbacks in DeviceStateController

Add unregisterDeviceStateCallback() to DeviceStateController to avoid
memory leak due to unnecessary references.

Bug: 271071505
Test: atest com.android.server.wm.DeviceStateControllerTests
Change-Id: Id1e13f9e5c163cb4bfcf3467ba510f1227016942
parent 68c13988
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