commit | 4c6295a2ce89f2bbcc71cce67531c18b7f2ddd36 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Tue Jun 16 11:40:26 2020 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Tue Jun 16 11:45:20 2020 -0600 |
tree | 398dde7f6f26cc5d5bb14faeb03d56d9a342f309 | |
parent | 2e20e4fc3d5da66cb0bfe3864ddef5b875120017 [diff] |
Optimized query for detecting empty collections. We don't actually need the detailed list of all _ID values; we're simply interested in the count of items. This change avoids misleading spam when logging.sh is enabled. Bug: 159130154 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I05b081db6e745e6cbc18c3d166ca1b1e50478cab