diff options
| author | 2024-07-23 17:37:40 +0000 | |
|---|---|---|
| committer | 2024-08-09 08:04:41 +0000 | |
| commit | 18f195876e06fa90b25b80922f03d6b9ebf5767c (patch) | |
| tree | 0dfb2700e4d63faa7b7d6977faed3ef0e080d6f6 /api/api_test.go | |
| parent | 9a72f7a6f161db54d85adf61c90b456e7cf4689d (diff) | |
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
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions