Add an index on shortcuts(source,shortcut_id)

Every time a shortcut is refreshed, we do an update or
delete for its (source,shortcutid). Since there was no
index on those columns, this was a linear search through
the shortcuts table.

This change adds an index to speed this up.

Fixes http://b/issue?id=1995538
1 file changed
tree: d29d99b2707b6c937ee46329079bb9cb3d7ddc21
  1. benchmarks/
  2. res/
  3. src/
  4. tests/
  5. Android.mk
  6. AndroidManifest.xml
  7. NOTICE