android: Fix crash on start up.
Change-Id: I0343de9347d100182c2ffd28058ac61f15097cc3
This commit is contained in:
parent
3414c952b9
commit
4e8893b874
|
@ -124,7 +124,7 @@ void notification_init(void)
|
|||
{
|
||||
JNIEnv e = *env_ptr;
|
||||
jfieldID nNM = e->GetFieldID(env_ptr, RockboxService_class,
|
||||
"fg_runner", "Lorg/rockbox/Helper/RunForegroundManager;");
|
||||
"mFgRunner", "Lorg/rockbox/Helper/RunForegroundManager;");
|
||||
NotificationManager_instance = e->GetObjectField(env_ptr,
|
||||
RockboxService_instance, nNM);
|
||||
if (NotificationManager_instance == NULL)
|
||||
|
|
Loading…
Reference in New Issue