+42
−4
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
CallbackEnv is a new RAII object which: - Retrieves the callback environment when instantiated - Clears exceptions when it goes out of scope - Centralizes checks that we are in the correct environment It can be used the same as a pointer to JNIEnv with the -> operator and the JNIEnv pointer can be retrieved with get(); Test: basic functionality tests Change-Id: I004f2655e2e02847782fec794faa62da85c85d49
File changed.
Preview size limit exceeded, changes collapsed.