Make FileWriter writes from current position and change failure condition
[Title] Make FileWriter writes from current position and fire error type progress event when written
bytes are less than expectation
[Issue#] N/A
[Problem]
[Cause]
[Solution]
- OpenFile without O_TRUNC option for avoiding data crash of file with lseek and write
- Seek to the position before start to write
- Make SECURITY_ERR when write operation is completed but bytes of written is not equal to the expectation
Change-Id: I1806c2df80f7745b7f5a7efd28dee78455d7f54d