Merge "add permission requirement for java writeData method" into rvc-dev am: 27c83fce04

Change-Id: I947c4fc22a102cc0dcc697bb6fb51396571552ff