Expose the asset manager from Android::MainThread
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 17:23:02 +0000 (20:23 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 17:23:02 +0000 (20:23 +0300)
commitc0d3fd58fd25e4627a6f8d64a22c5800e783ce07
tree011344829f16fb79d66f2c13a4ff6158191b171e
parent169ece8b190040c4b61d68122c4ead1ba266cf79
Expose the asset manager from Android::MainThread

AFAICT the asset manager is tied to the application and not the activity,
so this simple approach should be safe even if the activity gets destroyed
and recreated due to orientation change or whatever.
source/core/android/mainthread.cpp
source/core/android/mainthread.h