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

Skip to content
Commit 0bc23a89 authored by Devarshi Bhatt's avatar Devarshi Bhatt
Browse files

Add linter check to warn usage of registerContentObserver() synchronous API.

Warn the caller that the synchronous API will run on the main thread, and suggest usage of the async/suspend APIs declared in SettingsProxy and it's sub-classes instead.

Bug: 353191254
Test: atest RegisterContentObserverSyncViaSettingsProxyDetectorTest
Flag: NONE new linter check
Change-Id: I4c3af775d97f5f78d1a10a87fac1299123afb5e4
parent 9ac72828
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