Merge changes from topic "uid_war"

* changes:
  Camera service: Extend UID check timeout to 300ms.
  Handle race between UID state and activty resume