libdvr: progress bar displays abnormally [1/1]

PD#SWPL-105828
PD#SWPL-105829

Problem:
Progress bar behave abnormal in rewind/seek tests.
This is due to recent changes which may results in a negative
slider position.

Solution:
Avoid negative slider position condition.

Verify:
Locally tested OK in AndroidT environment.

Signed-off-by: Wentao.MA <wentao.ma@amlogic.com>
Change-Id: I7c4cfbcc70c3455520b74f3e1ca79ba89b2ce6e3
2 files changed
tree: ad39a43678bf9f835e6e16f302745accd6d67720
  1. include/
  2. src/
  3. test/
  4. Android.bp
  5. Android.mk
  6. Doxyfile
  7. LICENSE
  8. Makefile