commit | c06b02ddba46bd1b467fa7f9c42c35db3209795c | [log] [tgz] |
---|---|---|
author | Xiaoyu Jin <xyj@google.com> | Thu Oct 28 04:52:44 2021 +0000 |
committer | Xiaoyu Jin <xyj@google.com> | Tue Nov 16 02:02:16 2021 +0000 |
tree | f5932cbcdf58c0f7d67a0309eada00bac07e199c | |
parent | 420679dea6c620ce2aa011f4de0fa8c085e815ee [diff] |
Add @SystemApi registerContentObserverForAllUsers in ContentResolver Also add ContentObserver#onChange(boolean, Collection, int, UserHandle) so clients can know the corresponding UserHandle for the notification. Bug: 203606981 Test: atest CtsContentTestCases and manual testing to verify the observer can get notifications for all the users. Change-Id: Icec7e70b71d7de1c15faf1736539f169856304a8