android: Fix crash on start up.

Change-Id: I0343de9347d100182c2ffd28058ac61f15097cc3
This commit is contained in:
Thomas Martitz 2012-03-30 11:21:31 +02:00
parent 3414c952b9
commit 4e8893b874
1 changed files with 1 additions and 1 deletions

View File

@ -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)