Partition a Uri set into smaller sub sets

A large Uri set makes a TransactionTooLargeException when invoking
ContentResolver#notifyChange(). That's why we need to partition the set
into smaller sub sets.

Bug: 162531393
Test: atest MediaProviderTests
Change-Id: Ifb21c79cee6136ecab6d62c95d26d292cb50accb
(cherry picked from commit 84e466336c6a4940c235eccec93c9e7444ad8dc5)
1 file changed