setParamMaxFileDurationUs should allow zero time input as per API of setMaxDuration.

according to MediaRecorder::setMaxDuration documentation we should disable duration limit
when zero or negative time is passed. Currently setParamMaxFileDurationUs was treating
zero/negative as an error case. Fixed that.

Change-Id: I468c3bcc74cb5a34ee3e172cef5147550d6be096
1 file changed
tree: d2f5b13ca7fde33c24c488d195fa2483c4d5a271
  1. camera/
  2. cmds/
  3. include/
  4. media/
  5. services/