Fix UnsupportedOperationException.

It was thrown by download manager for querying the DB with ID=-1.
Reproduction steps:
- start download
- leave updater open
- turn off screen
- let download finish
- turn on screen

Change-Id: I31d52ceb49b748be85052a72588067acd6480bd2
Merge "Fix UnsupportedOperationException." into cm-10.1