amc: actually use the provided application class loader
authorMatthew Waters <matthew@centricular.com>
Thu, 31 Aug 2017 08:56:37 +0000 (18:56 +1000)
committerMatthew Waters <matthew@centricular.com>
Tue, 5 Sep 2017 11:16:33 +0000 (21:16 +1000)
commit4d2382fb27378bfaec938f5c747fe68500f5c499
treece166380a48ad57ef70030ca77482a59719d7025
parent3f2a3d0db928e47c1b2f1074ff7c72a69396147a
amc: actually use the provided application class loader

For the camera and sensor

Fixes a couple of ClassNotFound java exceptions when initializing GStreamer
off the main thread.
sys/androidmedia/gst-android-hardware-camera.c
sys/androidmedia/gst-android-hardware-sensor.c
sys/androidmedia/gstjniutils.c