discovery(java): fix crash in jni plugin factory

  - Change to pass context to plugin factory so that a plugin can get
    android context from it.

Change-Id: I11fcffe8f3d31760ba4865975bddfe6219af8e66
MultiPart: 2/3
3 files changed