Pull out duplicated copies of silent mode check

Also fix the error handling for the property_get.

This is part of preparation for the threadLoop() merge.

Change-Id: I6405190ea18146d1271575e1dfe9f279e8f36b17
2 files changed
tree: 268310fe31b44c0eee84b1d91adfbbaff2103a76
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/