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

Skip to content
Commit 18f19587 authored by Devarshi Bhatt's avatar Devarshi Bhatt
Browse files

Add linter to restrict direct usage of registerContentObserver() API.

Forbid direct usage of register/unregister content observer APIs from the ContentResolver class.
Instead direct the caller to use wrapper APIs in SettingsProxy and its sub-classes.

Bug: 353191254
Test: atest RegisterContentObserverViaContentResolverDetectorTest
Flag: NONE new linter check

Change-Id: I50db306d5dc7c2ac6a146586f7d336c32765b462
parent 9a72f7a6
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