Fix crash in InputManagerService

We are currently storing a local variable into permanent storage, which
causes jni abort, unsurprisingly. Make this a global ref instead.

Bug: 120255803
Test: eng build boots properly
Change-Id: Ie572d7cfdb6799af99c10aa8ade96c0fbc4eab2b
1 file changed