commit | 0bc23a89751cff4f76c5c23346964503eda84a6b | [log] [tgz] |
---|---|---|
author | Devarshi Bhatt <[email protected]> | Tue Aug 06 06:27:40 2024 +0000 |
committer | Devarshi Bhatt <[email protected]> | Wed Aug 07 08:38:53 2024 +0000 |
tree | 3f3530d8d66d41c950864634844f870312eacdd0 | |
parent | 9ac72828e854860810a8c9ba66b7fec000055d42 [diff] |
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