Merge pull request #8491 from JosJuice/android-gc-adapter-crash Android: Fix crash on enabling GC adapter